MBPP
243 papers · 455 extracted observations · code generation · code · Markdown · CSV · JSON API
Also indexed as: MBPP+, Mostly Basic Python Problems
Comparable Cohort Timeline (proposed/measured methods; excludes quoted baselines)
Proposed/measured results on test (including prose scores where split is implicit).
Click any point on the timeline to inspect method, protocol, and paper.
| # | Method | Score ↑ | Year | Protocol / Settings | Paper & Evidence |
|---|---|---|---|---|---|
| 1 | DeepSeek-Coder-Base 33B SOTA frontier | 66% | 2024-01-01 | params=33B · decoding=greedy · Table 3; greedy decoding; 500-problem few-shot benchmark. | DeepSeek-Coder: When the Large Language Model Meets Programming - The Rise of Code IntelligenceSource quote66.0% |
| 2 | CoCoS (Qwen2.5-1.5B) | 54.2% | 2025-01-01 | turn=2 · params=1.5B · backbone=Qwen2.5-1.5B · Qwen2.5-1.5B; second turn of the two-turn correction setting; correctness requires pa… | Self-Correcting Code Generation Using Small Language ModelsSource quoteCoCoS │ 45.0% │ 54.2% │ 11.0% │ 1.8% │ 9.2% |
| 3 | CodeShell-7B | 38.7% | 2024-03-01 | epochs=5 · params=500B · training-tokens=500B · Few-shot on 500 Python challenges; CodeShell trained on 500B tokens (5 epochs). | CodeShell Technical ReportSource quoteCodeShell-7B │ 34.3 │ 38.7 |
| 4 | 137B model (few-shot) SOTA frontier | 28.8% | 2021-08-01 | params=137B · decoding=greedy (T=0.0) · prompt-examples=2 · Greedy decoding (T=0.0); code+examples prompt with two examples; tested on one held-o… | Program Synthesis with Large Language ModelsSource quotecode+examples │ 28.8% │ 27.4% │ 11.6% │ 12.0% |
Showing 18 of 18 matching observations.
| Year | Method | Metric | Score | Protocol / Facets | Paper & Evidence |
|---|---|---|---|---|---|
| 2026 | McDiffuSE proposed | Accuracy | 72.43% | 0-shot · seeds=3 · decoding=greedy · MCTS simulations=30 | Can I Have Your Order? Monte-Carlo Tree Search for Slot Filling Ordering in Diffusion Language ModelsSource quoteL576: MBPP │ 44.0 │ 368.2 │ -88.05% │ 72.43 │ 64.04 │ +8.39 |
| 2026 | CodeCircuit (Python) proposed | AUROC | 62.15 | split: test · 0-shot · params=2B · eval-language=Java · train-language=Python · attribution-model=Gemma-2-2B-IT | CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution GraphsSource quoteL208: CodeCircuit{} (Python) │ 62.15 │ 48.33 │ 88.45 |
| 2026 | CodeCircuit (Java) proposed | AUROC | 59.33 | split: test · 0-shot · params=2B · eval-language=C++ · train-language=Java · attribution-model=Gemma-2-2B-IT | CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution GraphsSource quoteL214: CodeCircuit{} (Java) │ 59.33 │ 36.80 │ 88.24 |
| 2025 | CDS (+ Global & Fine-grained) proposed | P@1 | 35.40 | 0-shot | CDS: Data Synthesis Method Guided by Cognitive Diagnosis TheorySource quoteL521: 35.40 |
| 2025 | MoP (Mosaic Pruning) proposed | Zero-shot performance | 10.89 | 0-shot · backbone=Mixtral · experts-retained=4 | Mosaic Pruning: A Hierarchical Framework for Generalizable Pruning of Mixture-of-Experts ModelsSource quoteL285: 4 │ 71.34 │ 10.89 |
| 2025 | LLaDOU (LLaDA 8B + DCoLT) proposed | pass@1 | 51.6% | 0-shot · params=8B · backbone=LLaDA-8B · training-data=48.9K filtered KodCode samples | Reinforcing the Diffusion Chain of Lateral Thought with Diffusion Language ModelsSource quoteL34: We conduct experiments on both Math and code generation tasks to demonstrate the efficacy of DCoLT. After training the DCoLT on the SEDD 400M model, it achieves 96.2% and 57.0% in accuracy on Sudoku 4×4 and GSM8K-Aug \cite{deng2023implicit} tasks. On the LLaDA 8B model, DCoLT achieves the state-of-the-art performance among existing DLMs trained with SFT or RL or even both. Using only public data and 16 H800 GPUs, the DCoLT-reinforced LLaDA model achieves 88.1% on GSM8K \cite{cobbe2021training}, 44.6% on MATH \cite{hendrycks2021measuring}, 51.6% on MBPP \cite{austin2021program} and 59.1% on HumanEval \cite{chen2021evaluating} in the challenging zero-shot setting. Even compared with auto-regressive models that are trained with significantly more proprietary data and fully annotated CoT reasoning processes, it still demonstrates competitive performances. |
| 2025 | PRISM fine-tuned LLaDA-8B-Instruct proposed | Zero-shot performance | 21.8 | 0-shot · model=LLaDA-8B-Instruct · params=8B · decoding=semi-autoregressive · nucleus-p=0 · inference-steps=256 | Fine-Tuning Masked Diffusion for Provable Self-CorrectionSource quoteL281: PRISM │ 28.0 │ 39.0 │ 42.7 │ 21.8 │ 29.1 │ 32.3 |
| 2025 | RFG (Dream 7B Instruct policy) proposed | pass@1 accuracy | 70.4 | split: test · 0-shot · params=7B · policy=Dream 7B Instruct · reference=Dream-Base | RFG: Test-Time Scaling for Diffusion Large Language Model Reasoning with Reward-Free GuidanceSource quoteL188: 64.6 │ 69.6 │ \bm{70.4} │ {\color{PineGreen}\bm{+5.8}} |
| 2024 | Zero-shot code rewriting + similarity detector (Ours, m=2) proposed | AUROC | 74.54 | 0-shot · m=2 · aggregation=average across four code generators · detector-backbone=CodeLlama · generation-prompting=chain-of-thought | Uncovering LLM-Generated Code: A Zero-Shot Synthetic Code Detector via Code RewritingSource quoteL189: Ours m=2 │ 80.78 │ 72.91 │ 73.12 │ 68.19 │ 73.75 │ 77.90 │ 68.88 │ 76.36 │ 75.02 │ 74.54 |
| 2024 | StepCoder (Ours), 6.7B proposed | pass@1 | 67.0 | split: test · 0-shot · params=6.7B · training-data=APPS+ | StepCoder: Improve Code Generation with Reinforcement Learning from Compiler FeedbackSource quoteL283: StepCoder (Ours) │ 78.7 │ 67.0 |
| 2024 | SPA + DeepSeek-Coder (6.7B) proposed | Pass@1 | 71.0% | 0-shot · params=6.7B · backbone=DeepSeek-Coder 6.7B · quantization=8-bit | Selective Prompt Anchoring for Code GenerationSource quoteL880: + {\tool} │ 88.5 \textcolor{mygreen}{(+12.9)} │ 86.4 \textcolor{mygreen}{(+2.4)} │ 79.9 \textcolor{mygreen}{(+9.7)} │ 82.8 \textcolor{mygreen}{(+4.9)} │ 71.0 \textcolor{mygreen}{(+4.0)} │ 87.7 \textcolor{mygreen}{(+7.9)} │ 60.7 \textcolor{mygreen}{(+2.2)} │ 73.9 \textcolor{mygreen}{(+3.7)} |
| 2024 | Q* (PRM+QVM) proposed | Accuracy | 77.0% | 0-shot · params=7b · backbone=CodeQwen1.5-7b-Chat · code-action-length=24 tokens · trajectories-per-question=6 | Q*: Improving Multi-step Reasoning for LLMs with Deliberative PlanningSource quoteL258: CodeQwen1.5-7b-Chat (0-shot) │ Unknown │ PPO (QVM) \cite{ouyang2022training} │ Q* (PRM+QVM) \cite{lightman2023let} │ 77.0% |
| 2024 | StepCoder (Ours), 6.7B proposed | pass@1 | 67.0 | 0-shot · params=6.7B | StepCoder: Improving Code Generation with Reinforcement Learning from Compiler FeedbackSource quoteL320: 67.0 |
| 2023 | CodeT5 + RLTF (770M) proposed | pass@80 | 71.3 | 0-shot · params=770M · backbone=CodeT5 770M · training-data=APPS | RLTF: Reinforcement Learning from Unit Test FeedbackSource quoteL405: CodeT5 + RLTF │ 770M │ zero-shot │ 71.3 |
| 2023 | CODET (code-davinci-002) proposed | pass@1 | 67.7% | 0-shot · samples=100 · backbone=code-davinci-002 · temperature=0.8 | CodeT: Code Generation with Generated TestsSource quoteL39: APPS (Hendrycks et al., 2021), and CodeContests (Li et al., 2022b). The experimental results show that our method can effectively select the correct solution from multiple candidates, improving the pass@1 score significantly on all benchmarks in the zero-shot setting. For instance, CODET achieves improvements using code-davinci-002: HumanEval (47.0% →65.8%), MBPP (58.1% →67.7%), |
| 2022 | PanGu-Coder proposed | pass@1 | 16.20% | split: test · 0-shot | PanGu-Coder: Program Synthesis with Function-Level Language ModelingSource quoteL538: PanGu-Coder │ 16.20 │ 34.39 │ 53.74 │ 17.07 │ 24.05 │ 34.55 |
| 2022 | CodeT5† + CodeRL (770M, +GCPY, +NTP) proposed | pass@80 | 63.0% | 0-shot · params=770M | CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement LearningSource quoteL1135: +CodeRL │ 770M │ +GCPY │ +NTP │ 63.0 │ 81.8 |
| 2022 | CodeT5† + CodeRL (770M, +GCPY, +NTP) proposed | pass@1000 | 81.8% | 0-shot · params=770M | CodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement LearningSource quoteL1135: +CodeRL │ 770M │ +GCPY │ +NTP │ 63.0 │ 81.8 |