MBPP pass@1

Paper

Progress Over Time

Interactive timeline showing model performance evolution on MBPP pass@1

State-of-the-art frontier
Open
Proprietary

MBPP pass@1 Leaderboard

1 models
ContextCostLicense
18B
Notice missing or incorrect data?
About this benchmark

What is MBPP pass@1?

MBPP (Mostly Basic Python Problems) is a benchmark of 974 crowd-sourced Python programming problems designed to be solvable by entry-level programmers. Each problem consists of a task description, code solution, and 3 automated test cases. This variant uses pass@1 evaluation metric measuring the percentage of problems solved correctly on the first attempt.

MBPP pass@1 is a text benchmark evaluating models on reasoning and general tasks. LLM Stats tracks 1 models on this benchmark, scored on a 0–1 scale. The current average is 0.7, with the leader at 0.7.

Compare leaders on the best AI for reasoning and best AI for general leaderboards.

Current leaders

Ministral 8B Instruct from Mistral AI currently leads the MBPP pass@1 leaderboard with a score of 0.700 across 1 evaluated AI models.

1Ministral 8B InstructMistral AI70.0%

Source paper

Title
Program Synthesis with Large Language Models
Authors
Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, and 7 others
Published
Abstract

This paper explores the limits of the current generation of large language models for program synthesis in general purpose programming languages. We evaluate a collection of such models (with between 244M and 137B parameters) on two new benchmarks, MBPP and MathQA-Python, in both the few-shot and fine-tuning regimes. Our benchmarks are designed to measure the ability of these models to synthesize short Python programs from natural language descriptions. The Mostly Basic Programming Problems (MBPP) dataset contains 974 programming tasks, designed to be solvable by entry-level programmers. The MathQA-Python dataset, a Python version of the MathQA benchmark, contains 23914 problems that evaluate the ability of the models to synthesize code from more complex text. On both datasets, we find that synthesis performance scales log-linearly with model size. Our largest models, even without finetuning on a code dataset, can synthesize solutions to 59.6 percent of the problems from MBPP using few-shot learning with a well-designed prompt. Fine-tuning on a held-out portion of the dataset improves performance by about 10 percentage points across most model sizes. On the MathQA-Python dataset, the largest fine-tuned model achieves 83.8 percent accuracy. Going further, we study the model's ability to engage in dialog about code, incorporating human feedback to improve its solutions. We find that natural language feedback from a human halves the error rate compared to the model's initial prediction. Additionally, we conduct an error analysis to shed light on where these models fall short and what types of programs are most difficult to generate. Finally, we explore the semantic grounding of these models by fine-tuning them to predict the results of program execution. We find that even our best models are generally unable to predict the output of a program given a specific input.

FAQ

Common questions about the MBPP pass@1 benchmark and leaderboard.

What is the MBPP pass@1 benchmark?

MBPP (Mostly Basic Python Problems) is a benchmark of 974 crowd-sourced Python programming problems designed to be solvable by entry-level programmers. Each problem consists of a task description, code solution, and 3 automated test cases. This variant uses pass@1 evaluation metric measuring the percentage of problems solved correctly on the first attempt.

What is the MBPP pass@1 leaderboard?

The MBPP pass@1 leaderboard ranks 1 AI models based on their performance on this benchmark. Currently, Ministral 8B Instruct by Mistral AI leads with a score of 0.700. The average score across all models is 0.700.

What is the highest MBPP pass@1 score?

The highest MBPP pass@1 score is 0.700, achieved by Ministral 8B Instruct from Mistral AI.

How many models are evaluated on MBPP pass@1?

1 models have been evaluated on the MBPP pass@1 benchmark, with 0 verified results and 1 self-reported results.

Where can I find the MBPP pass@1 paper?

The MBPP pass@1 paper is available at https://arxiv.org/abs/2108.07732. The paper details the methodology, dataset construction, and evaluation criteria.

What categories does MBPP pass@1 cover?

MBPP pass@1 is categorized under reasoning and general. The benchmark evaluates text models.

What is the best open-source model on MBPP pass@1?

Ministral 8B Instruct by Mistral AI is the top-ranked open-source model on MBPP pass@1, with a score of 0.700 (rank #1).

How recent are the MBPP pass@1 leaderboard results?

The MBPP pass@1 leaderboard was last updated in July 2026 and currently includes 1 evaluated models.