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 19 of 19 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2026CHORD proposedAUROC0.7337leave-one-family-outCHORD: Cross-Model Hallucination Detection via Relational Graph Discrimination
Source quote
L1814: to reasoning or tool-use outputs. MBPP presents a clearer boundary: CHORD reaches 0.7337, but its
2026CodeTracer proposed non-standard sliceAUROC78.42%params=1.5B · backbone=OpenCoder-1.5B-InstructAdaptive Code Watermarking Through Reinforcement Learning
Source quote
L379: 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.
2026SWaRL proposedAUROC0.908Shared evaluation setup: maximum generation length 2048 tokens, temperature 0.2, top-p …SWaRL: Safeguard Code Watermarking via Reinforcement Learning
Source quote
L311: 53.40 │ 70.97 │ 0.908
2026CodeCircuit (Python) proposedAUROC79.89params=2B · language=Python · attribution-model=Gemma-2-2B-ITCodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphs
Source quote
L205: \emph{CodeCircuit{} (Python)} │ 79.89 │ 54.77 │ 77.84
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
2026CodeTD attention-feature variant (w/ MTD 0,1-dim) ablationROC-AUC69.9params=6.7B · backbone=DeepSeek-Coder-6.7B · feature-variant=MTD 0,1-dim · transfer-direction=HumanEval-to-MBPPCodeTD: Topology of Attention Detects Hallucinations in Code LLMs
Source quote
L1116: - w/ MTD 0,1-dim │ 69.9 │ 72.4
2026SWEETAUROC0.898Shared evaluation setup: maximum generation length 2048 tokens, temperature 0.2, top-p …SWaRL: Safeguard Code Watermarking via Reinforcement Learning
Source quote
L305: 35.49 │ 56.00 │ 0.898
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
2025ACW proposedAUROC81.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 accessPractical and Effective Code Watermarking for Large Language Models
Source quote
L441: 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.
2025RoSeMary (both S_d1 and S_d2 enabled) proposedAUROC0.97pretraining-data=CodeSearchNet · watermark-components=S_d1 and S_d2 enabledRobust and Secure Code Watermarking for Large Language Models via ML/Crypto Codesign
Source quote
L299: \ding{51} │ \ding{51} │ 98.15% │ 0.97 │ 0.99 │ 0.07
2025RoSeMary proposed non-standard sliceAUROC0.73attack=code refactoring · params=32B · attack-model=Qwen2.5-Coder-32B-InstructRobust and Secure Code Watermarking for Large Language Models via ML/Crypto Codesign
Source quote
L270: 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.
2025Approximated Task Conditioning (ATC) proposedmean AUROC94.22params=13BZero-Shot Detection of LLM-Generated Code via Approximated Task Conditioning
Source quote
L188: 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.
2025CodeTracer proposedAUROC79.69%params=1.5B · backbone=OpenCoder-1.5B-InstructOptimizing Token Choice for Code Watermarking: A RL Approach
Source quote
L205: \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.
2025ATC (N=4)AUROC92.62params=7BZero-Shot Detection of LLM-Generated Code via Approximated Task Conditioning
Source quote
L181: ATC-N = 4 │ 95.94 │ 96.18 │ 91.94 │ 92.74 │ 95.79 │ 92.62 │ 94.37 │ 94.22
2025Ye et al. (2024)AUROC86.23GPT-3.5-generated samples; reported prior result, with the data subsampled to approxima…Zero-Shot Detection of LLM-Generated Code via Approximated Task Conditioning
Source quote
L162: Ye~\cite{ye2024uncovering} │ 86.21 │ 79.23 │ 86.23
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
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
2023LUNA abnormal-behavior detection (CodeLlama-13b-Instruct) proposed non-standard sliceROC AUC0.67params=13b · backbone=CodeLlama-13b-InstructLUNA: A Model-Based Universal Analysis Framework for Large Language Models
Source quote
L889: Hallucination-MBPP │ 0.67 │ 0.73 │ 0.54 │ 0.67 │ 0.05 │ 0.00