benchmarks.wiki / Public workspace

MBPP

Code

Mostly Basic Python Problems asks for a short Python function from a one-sentence description, checked by assertions. The sanitized split is the hand-verified subset.

mbpp

Full text1,401 tasks

Official source

Full text: eligible public problems include text, images and discussion.

History

Google researchers introduced Mostly Basic Python Problems in 2021 to study program synthesis from natural-language descriptions. The benchmark focused on short Python tasks suitable for checking with executable tests. The Google-hosted dataset recorded in this catalog was published on Hugging Face in March 2022, after the original research release.

How it was built

MBPP was assembled from crowd-sourced Python programming tasks, each accompanied by a natural-language description, reference code and assertion tests. The sanitized version is a hand-verified subset intended to improve task quality. This catalog imports 200 problems from the sanitized test selection and keeps both reference programs and assertions out of the displayed prompt. Candidate programs are judged by executing the tests rather than matching the reference text.

At a glance

What a problem looks like

A one-sentence task description (text in the full config, prompt in sanitized) with the assertion list that names the expected function. The reference code is kept out of the prompt.

Read an actual problem

How it is scored

The source ships a reference program with every problem; it stays in restricted storage and is never rendered. The assertion tests are part of the problem statement and are shown with it; correctness is decided by executing a candidate against the assertions, not by comparing it with the reference.

Metric: pass@1 on the assertion tests

Reported scores

Evaluation conditions differ between rows, so this is not a ranking. Rows marked vendor are reports by the model’s own organization.

ModelScoreMetricSetupReported bySource
DeepSeek-V3DeepSeek75.4Pass@1Base model; 3-shot.vendor (self-reported)Base Model, Standard Benchmarks, MBPP (Pass@1), final column

Why it is hard

The description is short enough to be ambiguous, so the model has to infer the intended signature and behaviour from the tests it cannot see.

Limitations and criticism

A short description can leave behavior or the expected function interface ambiguous, particularly when tests are withheld from the prompt. Passing a finite set of assertions does not establish correctness on untested inputs, and small standalone functions do not measure repository-scale software engineering. Comparisons also depend on whether they use the original or sanitized dataset and whether demonstrations or tests are supplied. Public availability creates a potential training-contamination route without establishing exposure for any particular model.

How much room is left

The vendor result recorded here reports DeepSeek-V3 at 75.4 pass@1 in a base-model, three-shot setup. That report leaves headroom under its stated conditions, but it does not identify the present ceiling of the benchmark. It should not be read as a result specifically on this catalog's 200 imported sanitized tasks unless the evaluation subset is independently confirmed.

Cite

@article{austin2021program,
  title={Program Synthesis with Large Language Models},
  author={Austin, Jacob and Odena, Augustus and Nye, Maxwell and Bosma, Maarten and Michalewski, Henryk and Dohan, David and Jiang, Ellen and Cai, Carrie and Terry, Michael and Le, Quoc and others},
  journal={arXiv preprint arXiv:2108.07732},
  year={2021}

Discussion

1 thread and 0 posts on this page. Anyone may reply; no account is required.

Contribute

Share a reproduction, report an evaluation issue, or suggest a correction to this benchmark overview.

Tasks

Whole public benchmark.

Public problems
1,401
Formats
text (1,401)
Problems with images
0
Answer availability
Answer published by the source (1,401)
Configs
full (974) · sanitized (427)
Splits
prompt (17) · test (757) · train (494) · validation (133)
Awaiting a first discussion
1,401
Problems with a discussion
0
Public contributions
0

Provenance and terms

Pinned source revisions, newest first:

  • 4bb6404fdc6cacfda99d4ac4205087b89d32030c · acquired 2026-09-23 · release f1af1b73310c
  • 4bb6404fdc6cacfda99d4ac4205087b89d32030c · acquired 2026-09-11 · release a9c6c8747255
  • 4bb6404fdc6cacfda99d4ac4205087b89d32030c · acquired 2026-09-11 · release ecd40ec0a69d
  • 4bb6404fdc6cacfda99d4ac4205087b89d32030c · acquired 2026-09-11 · release 67cf16715b15