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 13 of 13 matching observations.
| Year | Method | Metric | Score | Protocol / Facets | Paper & Evidence |
|---|---|---|---|---|---|
| 2026 | CHORD proposed | AUROC | 0.7337 | leave-one-family-out | CHORD: Cross-Model Hallucination Detection via Relational Graph DiscriminationSource quoteL1814: to reasoning or tool-use outputs. MBPP presents a clearer boundary: CHORD reaches 0.7337, but its |
| 2026 | CodeTracer proposed non-standard slice | AUROC | 78.42% | params=1.5B · backbone=OpenCoder-1.5B-Instruct | Adaptive Code Watermarking Through Reinforcement LearningSource quoteL379: Code Functionality and Watermark Detectability. Watermarking methods demonstrate superior detection performance compared to post-hoc approaches, achieving AUROC values of 66.50-77.71% versus 47.59-52.00%. However, existing watermarking baselines suffer from noticeable code quality degradation, with Pass@1 scores dropping to 58.05-61.65% on HumanEval, representing a substantial trade-off between detection capability and functionality. CodeTracer achieves considerably better balance in this trade-off with the highest Pass@1 scores (62.65% on HumanEval, 42.10% on MBPP) and superior detection capability (AUROC of 77.71% and 78.42%), consistently outperforming SWEET and other baselines across both functionality and watermark detectability metrics. |
| 2026 | SWaRL proposed | AUROC | 0.908 | Shared evaluation setup: maximum generation length 2048 tokens, temperature 0.2, top-p … | SWaRL: Safeguard Code Watermarking via Reinforcement LearningSource quoteL311: 53.40 │ 70.97 │ 0.908 |
| 2026 | CodeCircuit (Python) proposed | AUROC | 79.89 | params=2B · language=Python · attribution-model=Gemma-2-2B-IT | CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution GraphsSource quoteL205: \emph{CodeCircuit{} (Python)} │ 79.89 │ 54.77 │ 77.84 |
| 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 | ACW proposed | AUROC | 81.18% | delta=2.0 · gamma=0.5 · params=1.5B · backbone=OpenCoder-1.5B-Instruct · sampling=nucleus p=0.95; temperature=0.2 · detection-access=no oracle access | Practical and Effective Code Watermarking for Large Language ModelsSource quoteL441: Without oracle access, ACW demonstrates robust performance across most metrics. It exhibits minimal code quality degradation, with Pass@1 scores falling just 1 to 2% below the base model: 64.02% on HumanEval and 41.32% on MBPP. Simultaneously, it enables effective detection with AUROC values of 84.43% and 81.18%. This positions ACW as the leading practical watermarking solution, matching and exceeding the performance of the oracle method SWEET. |
| 2025 | RoSeMary (both S_d1 and S_d2 enabled) proposed | AUROC | 0.97 | pretraining-data=CodeSearchNet · watermark-components=S_d1 and S_d2 enabled | Robust and Secure Code Watermarking for Large Language Models via ML/Crypto CodesignSource quoteL299: \ding{51} │ \ding{51} │ 98.15% │ 0.97 │ 0.99 │ 0.07 |
| 2025 | RoSeMary proposed non-standard slice | AUROC | 0.73 | attack=code refactoring · params=32B · attack-model=Qwen2.5-Coder-32B-Instruct | Robust and Secure Code Watermarking for Large Language Models via ML/Crypto CodesignSource quoteL270: As seen, RoSeMary{} keeps over 0.93 AUROC under variable-rename attack even after 50% of the variable names are replaced, whereas SrcMarker and SWEET demonstrate 0.07 and 0.21 lower AUROC. Similarly, RoSeMary{} keeps 0.73 AUROC under refactor attack, demonstrating its resilience toward attacks. |
| 2025 | Approximated Task Conditioning (ATC) proposed | mean AUROC | 94.22 | params=13B | Zero-Shot Detection of LLM-Generated Code via Approximated Task ConditioningSource quoteL188: Notably, our approach achieves superior detection performance with just a single approximated task (N = 1), whereas \cite{ye2024uncovering} relied on eight different prompts. For a fair comparison, setting N = 4 further enhances performance, yielding a mean AUROC of 94.22 on MBPP and 93.82 on APPS when using CodeLlama-13B as the detector LLM. |
| 2025 | CodeTracer proposed | AUROC | 79.69% | params=1.5B · backbone=OpenCoder-1.5B-Instruct | Optimizing Token Choice for Code Watermarking: A RL ApproachSource quoteL205: \texttt{CodeTracer} outperforms other practical watermarking methods across most metrics. It shows minimal code quality degradation (Pass@1 scores of 60.82% on \texttt{HumanEval} and 41.45% on \texttt{MBPP}), while enabling effective detection (AUROC values of 82.95% and 79.69%). With the highest TPR (46.34%) on \texttt{HumanEval} among practical watermarks and detection performance comparable to oracle methods, \texttt{CodeTracer} emerges as the leading practical solution on these two datasets. |
| 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 |
| 2023 | LUNA abnormal-behavior detection (CodeLlama-13b-Instruct) proposed non-standard slice | ROC AUC | 0.67 | params=13b · backbone=CodeLlama-13b-Instruct | LUNA: A Model-Based Universal Analysis Framework for Large Language ModelsSource quoteL889: Hallucination-MBPP │ 0.67 │ 0.73 │ 0.54 │ 0.67 │ 0.05 │ 0.00 |