Renaissance Labs · Code
Benchmark · 2021-08

MBPP (Mostly Basic Python Problems)

Crowd-written entry-level Python tasks with three asserts each.

How to use it

Smoke test only; prefer MBPP+ (fewer broken tasks, more tests).

Caveats

Execution-based but with only about three asserts per task and known broken or ambiguous items (the reason EvalPlus cleaned it). Saturated and public since 2021, so contamination is likely. Entry-level skills only.

load
from datasets import load_dataset
ds = load_dataset("google-research-datasets/mbpp", split="test")

Related

  • APPS: Interview-level and competition Python problems with solutions and test...
  • BigCodeBench: Python tasks requiring calls into many libraries with complex instructions,...
  • BigCodeBench-Hard: Harder 148-task subset of BigCodeBench selected for lower solve rates, cheaper to...
  • CanItEdit: Hand-crafted instructional code editing problems with descriptive and lazy instruction variants, tested by...
  • ClassEval: Manually crafted class-level generation tasks (multiple interdependent methods), about 500 person-hours to...
  • Commit0: Agent must implement a library from its spec using interactive unit tests; measures long-form spec...