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

25.840.254.669.0202220232025137B model (few-shot): 28.8 (2021)DeepSeek-Coder-Base 33B: 66.0 (2024)CodeShell-7B: 38.7 (2024)CoCoS (Qwen2.5-1.5B): 54.2 (2025)
Click any point on the timeline to inspect method, protocol, and paper.

Showing 38 of 38 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2026McDiffuSE proposedAccuracy72.43%0-shot · seeds=3 · decoding=greedy · MCTS simulations=30Can I Have Your Order? Monte-Carlo Tree Search for Slot Filling Ordering in Diffusion Language Models
Source quote
L576: MBPP │ 44.0 │ 368.2 │ -88.05% │ 72.43 │ 64.04 │ +8.39
2026CodeCircuit (Python) proposedAUROC62.15split: test · 0-shot · params=2B · eval-language=Java · train-language=Python · attribution-model=Gemma-2-2B-ITCodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphs
Source quote
L208: CodeCircuit{} (Python) │ 62.15 │ 48.33 │ 88.45
2026CodeCircuit (Java) proposedAUROC59.33split: test · 0-shot · params=2B · eval-language=C++ · train-language=Java · attribution-model=Gemma-2-2B-ITCodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphs
Source quote
L214: CodeCircuit{} (Java) │ 59.33 │ 36.80 │ 88.24
2026Qwen2.5-Coder-1.5B-Instruct (Q-1.5B), base baselinepass@156.60%0-shot · model=Qwen2.5-Coder-1.5B-Instruct · params=1.5B · decoding=greedyInterpreting Code Correctness in Language Models through Activation Steering
Source quote
L297: 56.60
2026Qwen2.5-Coder-7B-Instruct (Q-7B), base baselinepass@151.40%0-shot · model=Qwen2.5-Coder-7B-Instruct · params=7B · decoding=greedyInterpreting Code Correctness in Language Models through Activation Steering
Source quote
L311: 51.40
2026ReFusion baselineAccuracy58.81%0-shot · seeds=3 · decoding=greedyCan I Have Your Order? Monte-Carlo Tree Search for Slot Filling Ordering in Diffusion Language Models
Source quote
L923: \cref{fig:mcts_comparison} demonstrates a comparative analysis of sequential slot selection behaviour and its relationship to accuracy on the MBPP code generation benchmark for both ReFusion (baseline) and McDiffuSE{}. The baseline ReFusion method (left panel, 58.81% accuracy) shows a weak positive correlation between sequential ordering and task success. In contrast, McDiffuSE{} (right panel, 72.43% accuracy) demonstrates a more strategic approach while achieving substantially higher accuracy. The trend lines reveal that both methods benefit from sequential structure to some degree, consistent with code generation's inherent ordering dependencies (e.g., variable declarations preceding usage); however, MCTS's selective deviation from strict left-to-right generation (8.2% non-sequential exploration) enables it to avoid error propagation and handle complex logical dependencies more effectively. This strategic flexibility, rather than rigid adherence to sequential ordering, accounts for the performance gain, validating the hypothesis that optimal slot planning must adaptively balance sequential structure with non-sequential exploration.
2026Baseline (MaxProb) baselineAUROC56.29split: test · 0-shot · method=MaxProb · language=JavaCodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphs
Source quote
L207: Baseline (MaxProb) │ 56.29 │ 46.00 │ 91.20
2025CDS (+ Global & Fine-grained) proposedP@135.400-shotCDS: Data Synthesis Method Guided by Cognitive Diagnosis Theory
Source quote
L521: 35.40
2025MoP (Mosaic Pruning) proposedZero-shot performance10.890-shot · backbone=Mixtral · experts-retained=4Mosaic Pruning: A Hierarchical Framework for Generalizable Pruning of Mixture-of-Experts Models
Source quote
L285: 4 │ 71.34 │ 10.89
2025LLaDOU (LLaDA 8B + DCoLT) proposedpass@151.6%0-shot · params=8B · backbone=LLaDA-8B · training-data=48.9K filtered KodCode samplesReinforcing the Diffusion Chain of Lateral Thought with Diffusion Language Models
Source quote
L34: 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.
2025PRISM fine-tuned LLaDA-8B-Instruct proposedZero-shot performance21.80-shot · model=LLaDA-8B-Instruct · params=8B · decoding=semi-autoregressive · nucleus-p=0 · inference-steps=256Fine-Tuning Masked Diffusion for Provable Self-Correction
Source quote
L281: PRISM │ 28.0 │ 39.0 │ 42.7 │ 21.8 │ 29.1 │ 32.3
2025RFG (Dream 7B Instruct policy) proposedpass@1 accuracy70.4split: test · 0-shot · params=7B · policy=Dream 7B Instruct · reference=Dream-BaseRFG: Test-Time Scaling for Diffusion Large Language Model Reasoning with Reward-Free Guidance
Source quote
L188: 64.6 │ 69.6 │ \bm{70.4} │ {\color{PineGreen}\bm{+5.8}}
2025Prompt (vanilla) baselineP@132.000-shotCDS: Data Synthesis Method Guided by Cognitive Diagnosis Theory
Source quote
L496: 32.00
2025Enu (Enumeration Pruning) baselineZero-shot performance1.550-shot · backbone=Mixtral · experts-retained=4Mosaic Pruning: A Hierarchical Framework for Generalizable Pruning of Mixture-of-Experts Models
Source quote
L282: 4 │ 1.22 │ 1.55
2025ReMDM-conf (LLaDA-8B-Instruct) baselineZero-shot performance20.10-shot · model=LLaDA-8B-Instruct · params=8B · inference-steps=256Fine-Tuning Masked Diffusion for Provable Self-Correction
Source quote
L283: ReMDM-conf │ 25.6 │ 34.1 │ 36.6 │ 20.1 │ 29.0 │ 32.5
2025Original Dream 7B Instruct baselinepass@1 accuracy64.6split: test · 0-shot · model=Dream 7B Instruct · params=7BRFG: Test-Time Scaling for Diffusion Large Language Model Reasoning with Reward-Free Guidance
Source quote
L188: 64.6 │ 69.6 │ \bm{70.4} │ {\color{PineGreen}\bm{+5.8}}
2024Zero-shot code rewriting + similarity detector (Ours, m=2) proposedAUROC74.540-shot · m=2 · aggregation=average across four code generators · detector-backbone=CodeLlama · generation-prompting=chain-of-thoughtUncovering LLM-Generated Code: A Zero-Shot Synthetic Code Detector via Code Rewriting
Source quote
L189: Ours m=2 │ 80.78 │ 72.91 │ 73.12 │ 68.19 │ 73.75 │ 77.90 │ 68.88 │ 76.36 │ 75.02 │ 74.54
2024StepCoder (Ours), 6.7B proposedpass@167.0split: test · 0-shot · params=6.7B · training-data=APPS+StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedback
Source quote
L283: StepCoder (Ours) │ 78.7 │ 67.0
2024SPA + DeepSeek-Coder (6.7B) proposedPass@171.0%0-shot · params=6.7B · backbone=DeepSeek-Coder 6.7B · quantization=8-bitSelective Prompt Anchoring for Code Generation
Source quote
L880: + {\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)}
2024Q* (PRM+QVM) proposedAccuracy77.0%0-shot · params=7b · backbone=CodeQwen1.5-7b-Chat · code-action-length=24 tokens · trajectories-per-question=6Q*: Improving Multi-step Reasoning for LLMs with Deliberative Planning
Source quote
L258: CodeQwen1.5-7b-Chat (0-shot) │ Unknown │ PPO (QVM) \cite{ouyang2022training} │ Q* (PRM+QVM) \cite{lightman2023let} │ 77.0%
2024StepCoder (Ours), 6.7B proposedpass@167.00-shot · params=6.7BStepCoder: Improving Code Generation with Reinforcement Learning from Compiler Feedback
Source quote
L320: 67.0
2024RLTF, 6.7Bpass@165.20-shot · params=6.7BStepCoder: Improving Code Generation with Reinforcement Learning from Compiler Feedback
Source quote
L317: 65.2
2024LogRank baselineAUROC61.570-shot · aggregation=average across four code generators · detector-backbone=CodeLlama · generation-prompting=chain-of-thoughtUncovering LLM-Generated Code: A Zero-Shot Synthetic Code Detector via Code Rewriting
Source quote
L182: LogRank │ 69.79 │ 61.54 │ 67.31 │ 62.89 │ 65.38 │ 60.76 │ 58.56 │ 68.05 │ 58.91 │ 61.57
2024RLTF, 6.7B baselinepass@165.2split: test · 0-shot · params=6.7B · training-data=APPS+StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedback
Source quote
L282: RLTF │ 76.8 │ 65.2
2024DeepSeek-Coder (6.7B), base baselinePass@167.0%0-shot · params=6.7B · backbone=DeepSeek-Coder 6.7B · quantization=8-bitSelective Prompt Anchoring for Code Generation
Source quote
L879: \text{DeepSeek-Coder} │ \smallerfootnote{(6.7B)} │ 75.6 │ 84.0 │ 70.2 │ 77.9 │ 67.0 │ 79.8 │ 58.5 │ 70.2
2024Best-of-N (QVM) baselineAccuracy75.0%0-shot · params=7b · backbone=CodeQwen1.5-7b-Chat · code-action-length=24 tokens · trajectories-per-question=6Q*: Improving Multi-step Reasoning for LLMs with Deliberative Planning
Source quote
L257: CodeQwen1.5-7b-Chat (0-shot) │ Unknown │ PPO (QVM) \cite{ouyang2022training} │ Best-of-N (QVM) \cite{lightman2023let} │ 75.0%
2024Oracle router baseline non-standard slicePerf↑0.8990-shot · router=oracle · evaluation=GPT-4 answer evaluation · oracle-knowledge=perfect response scoresRouterBench: A Benchmark for Multi-LLM Routing System
Source quote
L344: \hc Oracle │ 0.957 │ 0.297 │ 0.996 │ 0.052 │ 0.899 │ 0.041 │ 0.994 │ 0.860 │ 1.0 │ 0.042 │ 0.748 │ 1.282 │ 0.977 │ 0.091
2023CodeT5 + RLTF (770M) proposedpass@8071.30-shot · params=770M · backbone=CodeT5 770M · training-data=APPSRLTF: Reinforcement Learning from Unit Test Feedback
Source quote
L405: CodeT5 + RLTF │ 770M │ zero-shot │ 71.3
2023CODET (code-davinci-002) proposedpass@167.7%0-shot · samples=100 · backbone=code-davinci-002 · temperature=0.8CodeT: Code Generation with Generated Tests
Source quote
L39: 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%),
2023CodeT5 + PPOCoder (770M) baselinepass@8068.20-shot · params=770M · backbone=CodeT5 770MRLTF: Reinforcement Learning from Unit Test Feedback
Source quote
L403: CodeT5 + PPOCoder │ 770M │ zero-shot │ 68.2
2023Baseline (code-davinci-002) baselinepass@158.1%0-shot · samples=100 · backbone=code-davinci-002 · temperature=0.8CodeT: Code Generation with Generated Tests
Source quote
L39: 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%),
2022PanGu-Coder proposedpass@116.20%split: test · 0-shotPanGu-Coder: Program Synthesis with Function-Level Language Modeling
Source quote
L538: PanGu-Coder │ 16.20 │ 34.39 │ 53.74 │ 17.07 │ 24.05 │ 34.55
2022CodeT5† + CodeRL (770M, +GCPY, +NTP) proposedpass@8063.0%0-shot · params=770MCodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learning
Source quote
L1135: +CodeRL │ 770M │ +GCPY │ +NTP │ 63.0 │ 81.8
2022CodeT5† + CodeRL (770M, +GCPY, +NTP) proposedpass@100081.8%0-shot · params=770MCodeRL: Mastering Code Generation through Pretrained Models and Deep Reinforcement Learning
Source quote
L1135: +CodeRL │ 770M │ +GCPY │ +NTP │ 63.0 │ 81.8
2022CodeGen-350MBLEU1.550-shot · params=350MCODEP: Grammatical Seq2Seq Model for General-Purpose Code Generation
Source quote
L338: CodeGen-350M │ 1.55 │ 3.21 │ False
2022CodeGen-350M + PDABLEU14.440-shot · params=350MCODEP: Grammatical Seq2Seq Model for General-Purpose Code Generation
Source quote
L340: +PDA │ 14.44 │ 21.54 │ True
2022CodeGen-350MCodeBLEU3.210-shot · params=350MCODEP: Grammatical Seq2Seq Model for General-Purpose Code Generation
Source quote
L338: CodeGen-350M │ 1.55 │ 3.21 │ False
2022CodeGen-350M + PDACodeBLEU21.540-shot · params=350MCODEP: Grammatical Seq2Seq Model for General-Purpose Code Generation
Source quote
L340: +PDA │ 14.44 │ 21.54 │ True