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.

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

Paper
About this benchmark

What MBPP pass@1 measures

MBPP pass@1 is a text benchmark that evaluates large language models on general and reasoning tasks. LLM Stats tracks 1 model on this benchmark, with a maximum possible score of 1. Current average across reported models is 0.7, with the leader reaching 0.7.

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

Publication

Paper
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.

Mistral AIMinistral 8B Instruct leads with 70.0%.

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?

FAQ

Common questions about MBPP pass@1.

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 general and reasoning. 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 June 2026 and currently includes 1 evaluated models.

More evaluations to explore

Related benchmarks in the same category

View all general
GPQA

A challenging dataset of 448 multiple-choice questions written by domain experts in biology, physics, and chemistry. Questions are Google-proof and extremely difficult, with PhD experts reaching 65% accuracy.

general
220 models
MMLU-Pro

A more robust and challenging multi-task language understanding benchmark that extends MMLU by expanding multiple-choice options from 4 to 10, eliminating trivial questions, and focusing on reasoning-intensive tasks. Features over 12,000 curated questions across 14 domains and causes a 16-33% accuracy drop compared to original MMLU.

general
124 models
AIME 2025

All 30 problems from the 2025 American Invitational Mathematics Examination (AIME I and AIME II), testing olympiad-level mathematical reasoning with integer answers from 000-999. Used as an AI benchmark to evaluate large language models' ability to solve complex mathematical problems requiring multi-step logical deductions and structured symbolic reasoning.

reasoning
113 models
MMLU

Massive Multitask Language Understanding benchmark testing knowledge across 57 diverse subjects including STEM, humanities, social sciences, and professional domains

general
99 models
SWE-Bench Verified

A verified subset of 500 software engineering problems from real GitHub issues, validated by human annotators for evaluating language models' ability to resolve real-world coding issues by generating patches for Python codebases.

reasoning
97 models
Humanity's Last Exam

Humanity's Last Exam (HLE) is a multi-modal academic benchmark with 2,500 questions across mathematics, humanities, and natural sciences, designed to test LLM capabilities at the frontier of human knowledge with unambiguous, verifiable solutions

reasoningmultimodal
78 models