NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CodeContests · Code Generation

33 papers · 82 extracted observations · code

Code Generation — Pass@1 ↑13 papers
0%12%24%35%47%202420252026Code Llama (7B), fine-tuned on MC code: 3.88 (2024)Code Llama (7B), fine-tuned on SC code: 4.42 (2024)DeepSeekCoder (6.7B), fine-tuned on MC code: 6.06 (2024)DeepSeekCoder (6.7B), fine-tuned on SC code: 8.73 (2024)MPSC-Weighted Cardinality: 11.26 (2024)MapCoder: 28.5 (2024)Top Pass (ChatGPT generator): 7.3 (2024)Top Pass (DeepSeek-Coder generator): 9.7 (2024)CTRL (RL-trained critic): 11.76 (2025)CTRL (RL-trained critic), Critique×3: 15.15 (2025)CodeSim: 29.1 (2025)CodeTree with Critic Agent (GPT-4o): 43.0 (2025)Qwen-Coder-7B with S*: 10.9 (2025)online SPO: 6.0 (2025)SPO half-online: 6.3 (2025)MapCoder (Qwen7B): 6.06 (2025)FixAudit (Qwen2.5-Coder-7B-Instruct): 19.8 (2026)CAPS — Qwen3-4B-Instruct: 14.5 (2026)Solvita (ours), GPT-5.4: 82.42 (2026)

Showing 38 of 38 matching observations. (3 non-standard slices moved to bottom.)

YearMethodMetricScoreProtocol / FacetsPaper & EvidenceReading list
2026MetaBench-Harness, evaluated model Claude-Sonnet-5 proposedmodel validation score0.839Code Generation · split: val · round=10 · evaluation=in-loop proxy-model validation · evaluated-model=Claude-Sonnet-5MetaBench-Harness: Unlocking End-to-End Optimization of Benchmark Harnesses
Source quote
L650: Although Rounds 5--7 experience a temporary stall, the system learns from ineffective mutations (e.g., asking a model to certify logic it has already mastered, which inadvertently simplifies the task) and retires scenarios that fail to increase difficulty after two consecutive attempts. Leveraging these insights, Rounds 8--9 intensify the remaining tasks. Ultimately, by Round 10, the performance gap between the two models widens significantly to 0.546 (0.839 vs. 0.293), compared to a mere 0.042 margin in Round 1, achieving the dual objective of escalating difficulty while preserving discriminability.
2026MetaBench-Harness, evaluated model GPT-5.4 proposedmodel validation score0.293Code Generation · split: val · round=10 · evaluation=in-loop proxy-model validation · evaluated-model=GPT-5.4MetaBench-Harness: Unlocking End-to-End Optimization of Benchmark Harnesses
Source quote
L650: Although Rounds 5--7 experience a temporary stall, the system learns from ineffective mutations (e.g., asking a model to certify logic it has already mastered, which inadvertently simplifies the task) and retires scenarios that fail to increase difficulty after two consecutive attempts. Leveraging these insights, Rounds 8--9 intensify the remaining tasks. Ultimately, by Round 10, the performance gap between the two models widens significantly to 0.546 (0.839 vs. 0.293), compared to a mere 0.042 margin in Round 1, achieving the dual objective of escalating difficulty while preserving discriminability.
2026CAPS — Qwen3-4B-Instruct proposedPass@114.5%Code Generation · params=4B · backbone=Qwen3-4B-Instruct · candidates=16CAPS: Cascaded Adaptive Pairwise Selection for Efficient Parallel Reasoning
Source quote
L184: CodeContests │ \phantom{0}1.3 │ \phantom{0}4.5 │ \phantom{0}7.9 │ 14.5
2026FixAudit (Qwen2.5-Coder-7B-Instruct) proposedPass@119.80%Code Generation · params=7B · backbone=Qwen2.5-Coder-7B-Instruct · iteration-alignment=one FixAudit iteration per two baseline iterationsAn Iterative Test-and-Repair Framework for Competitive Code Generation
Source quote
L490: On CodeContests, FixAudit reaches 19.80%, nearly doubling Specine (10.30%) and CURE (11.94%).
2026Similarity-based RAG (six-LLM average) proposedPass@120.37%Code Generation · split: test · similarity-based-ragAssessing the Impact of Retrieval-Augmented Generation on Algorithmic Problem-Solving
Source quote
L563: On average, our RAG approach achieved a 20.37% success rate, out-
2026DeepSeek-R1 + similarity-based RAG proposedPass@164.2%Code Generation · split: test · similarity-based-ragAssessing the Impact of Retrieval-Augmented Generation on Algorithmic Problem-Solving
Source quote
L619: Using our proposed framework, its pass rate improved from 61.7% to 64.2%
2026HACKTRACE-combined proposedAUC0.997Code Generation · split: test · completed-act-labelshacktrace: behavior-supervised detection of reward hacking during code generation
Source quote
L24: problem AUC of 0.997 with 8 ms of monitoring overhead, improving both accuracy
2026HACKTRACE MultiMax penalty proposedcheating share among visible passes1.5%Code Generation · split: held-out-problems · grpo-trained-policy-10hacktrace: behavior-supervised detection of reward hacking during code generation
Source quote
L754: 27–32%. Completed-label MultiMax at λ=10 gives the lowest cheating share, 1.5% with 30.8%
2026Solvita (ours), GPT-5.4 proposedPass@182.42%Code Generation · split: test · backbone=GPT-5.4Solvita: Enhancing Large Language Models for Competitive Programming via Agentic Evolution
Source quote
L171: 82.42 │ 67.70 │ 49.25
2026V1-Infer (pairwise self-verification) proposedPass@166.06%Code Generation · test-time-scaling · params=20B · model=GPT-OSS-20B · candidates=16 · verification=pairwiseV1: Unifying Generation and Self-Verification for Parallel Reasoners
Source quote
L178: On CodeContests, GPT-OSS-20B improves from 66.06% to 73.33% (+7.3%), while Qwen3-4B-Instruct improves from 39.4% to 46.1% (+6.7%). On LiveCodeBench-v5, GPT-OSS-20B gains +8.6% and Qwen3-4B-Instruct gains +4.3%. On HMMT, GPT-OSS-20B gains +10.0% and Qwen3-4B-Instruct gains +6.7%. See Figure~\ref{fig:inference-results} for more results and Appendix Figure~\ref{fig:appendix-all-verif-bars} for results on Qwen-4b-Thinking-2507 and GPT-OSS-120B. These results demonstrate that pairwise comparisons provide more informative signals than independent pointwise scores. We further observe that as verification budget increases, pairwise verification performance improves or stays consistent across most models and benchmarks (see Appendix Figure~\ref{fig:appendix-all-verif-bars}). While the results above are for the same number of base solution generations (N=16), we find similar trends while comparing methods in a compute-matched setting as well, Figure~\ref{fig:budget-accuracy}, e.g., with a compute budget of 64 model calls, with Qwen3-4B-Instruct-2507, pointwise verification performs approx. 33% while pairwise verification reaches 45% accuracy on average on code gen. benchmarks.
2026LEAFE (\algo) proposedPass@12847.88Code Generation · fine-tuned · params=72B · backbone=Qwen2.5-72BInternalizing Agency from Reflective Experience
Source quote
L255: \algo │ 17.12 │ 47.88 │ 14.09 │ 33.94
2026LEAFE (\algo) proposedPass@12833.94Code Generation · fine-tuned · params=70B · backbone=Llama3-70BInternalizing Agency from Reflective Experience
Source quote
L255: \algo │ 17.12 │ 47.88 │ 14.09 │ 33.94
2025Generate-prune-then-rank (10-test filter + 1.5B ORM) proposedBof64 (best-of-64)5.86Code Generation · params=1.5B · filter=first 10 tests · ranker=1.5B ORM · generator=Qwen 2.5 Coder 1.5B Instruct · selection=best-of-64 · candidate-count=128Pareto Optimal Code Generation
Source quote
L659: 1.5B │ 5.86 │ 73.24 │ --- │ --- │ 87.45 │ 90.02 │ 82.49 │ 140.50
2025Full test suite (verifier all) proposedBof64 (best-of-64)7.83Code Generation · split: test · params=1.5B · generator=Qwen 2.5 Coder 1.5B Instruct · selection=best-of-64 · verification=full test suite · candidate-count=128Pareto Optimal Code Generation
Source quote
L660: \multicolumn{2}{c|}{\verifier{\text{all}}{}} │ 7.83 │ 2.23 │ 92.72 │ 173.71 │ 94.06 │ 20.09 │ 85.64 │ 20.97
2025online SPO proposedPass@16.0Code GenerationSoft Policy Optimization: Online Off-Policy RL for Sequence Models
Source quote
L442: On pass@1, PPO performs better, yielding 8.4 vs 6.3 for SPO half-online and 6.0 for online SPO.
2025EG-CFG (Ours), DeepSeek-V3-0324 proposedAccuracy58.18%Code Generation · backbone=DeepSeek-V3-0324Execution Guided Line-by-Line Code Generation
Source quote
L277: DeepSeek-Seek-V3-0324 │ EG-CFG (Ours) │ 58.18 │ 28.13
2025CTM-32B-RL proposedpass rate28.5Code Generation · split: test · params=32BComputational Thinking Reasoning in Large Language Models
Source quote
L306: CTM-32B-RL │ 66.5 │ 28.5
2025CTRL (RL-trained critic), Critique×3 proposedPass@115.15%Code GenerationTeaching Language Models to Critique via Reinforcement Learning
Source quote
L273: As shown in Table~\ref{tab:cc_res}, our approach enables test-time scaling through iterative critique-revisions. Notably, despite training exclusively on single-turn critiquing tasks, {\ours} generalizes to multi-turn settings. By increasing the number of iterations from one to three (Critique×3 w/ {\ours}), we further improve the Pass@1 rate from 11.76% to 15.15% while maintaining a low regression rate \Delta_\downarrow of 0.85%. This demonstrates that our critic provides consistently reliable feedback across multiple revision iterations, unlike baseline approaches that accumulate errors, as discussed below.
2025CodeSim proposedPass@129.1%Code Generation · d=5 · p=3 · backbone=GPT-4CodeSim: Multi-Agent Code Generation and Problem Solving through Simulation-Driven Planning and Debugging
Source quote
L116: In Table \ref{tab:cc-dataset-results}, we evaluate performance on complex, contest-level code generation tasks. CodeSim~ delivers significant improvements over other baselines in solving complex contest-level code generation tasks. With GPT-4, CodeSim~ reaches a strong {\bf 29.1%} on CodeContests and {22.0%} on APPS, marking a consistent edge over MapCoder’s 25.3% average.
2025O-PTP student (TinyLlama-1.1B-Chat-v1.0 teacher) proposedAccepted tokens per speculative decoding step7.0 tokens per speculative decoding stepCode Generation · params=1.1B · teacher=TinyLlama-1.1B-Chat-v1.0Parallel Token Prediction for Language Models
Source quote
L23: \item Experimentally, we train real-world coding and natural language PTP models, achieving 7.0~respectively 4.18~accepted tokens per speculative decoding step~(\cref{sec:experiments}).
2024Code Llama (7B), MC code type proposedPass@11.98Code Generation · 2-shot · params=7B · backbone=Code Llama 7B · code-type=MCRevisiting the Impact of Pursuing Modularity for Code Generation
Source quote
L196: 1.98
2024Code Llama (7B), SC code type proposedPass@12.58Code Generation · 2-shot · params=7B · backbone=Code Llama 7B · code-type=SCRevisiting the Impact of Pursuing Modularity for Code Generation
Source quote
L199: 2.58
2024Code Llama (7B), fine-tuned on MC code proposedPass@13.88Code Generation · fine-tuned · params=7B · backbone=Code Llama 7B · code-type=MC · inference=zero-shotRevisiting the Impact of Pursuing Modularity for Code Generation
Source quote
L295: 3.88
2024Code Llama (7B), fine-tuned on SC code proposedPass@14.42Code Generation · fine-tuned · params=7B · backbone=Code Llama 7B · code-type=SC · inference=zero-shotRevisiting the Impact of Pursuing Modularity for Code Generation
Source quote
L298: 4.42
2024DeepSeekCoder (6.7B), fine-tuned on MC code proposedPass@16.06Code Generation · fine-tuned · params=6.7B · backbone=DeepSeekCoder 6.7B · code-type=MC · inference=zero-shotRevisiting the Impact of Pursuing Modularity for Code Generation
Source quote
L303: 6.06
2024DeepSeekCoder (6.7B), fine-tuned on SC code proposedPass@18.73Code Generation · fine-tuned · params=6.7B · backbone=DeepSeekCoder 6.7B · code-type=SC · inference=zero-shotRevisiting the Impact of Pursuing Modularity for Code Generation
Source quote
L306: 8.73
2024RLEF-trained 70B model proposedSuccess Rate38.0Code Generation · split: test · params=70B · top-p=0.95 · backbone=70B · temperature=0.2 · sample-budget=1@3RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
Source quote
L173: Notably, on the test set the 70B model beats AlphaCodium with GPT-4, the previous state-of-the-art, with a single rollout compared to 5 solutions from 100 samples (38.0 and 29).
2024RLEF-trained 8B model proposedSuccess Rate16.0Code Generation · split: test · params=8B · top-p=0.95 · backbone=8B · temperature=0.2 · sample-budget=1@3RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
Source quote
L174: Likewise, the 8B model with RLEF is slightly ahead compared to the similar-sized AlphaCode 9B model (16.0 and 13.3), but with a sample budget of 3 in our case and 1,000 for AlphaCode.
2024RLEF-trained 70B model proposedSuccess Rate54.5Code Generation · split: val · params=70B · top-p=0.95 · backbone=70B · temperature=1.0 · sample-budget=10@100RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
Source quote
L177: With RLEF training, we obtain further improvements to 54.5 on the valid and test set.
2024RLEF-trained 70B model proposedSuccess Rate54.5Code Generation · split: test · params=70B · top-p=0.95 · backbone=70B · temperature=1.0 · sample-budget=10@100RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning
Source quote
L177: With RLEF training, we obtain further improvements to 54.5 on the valid and test set.
2024Top Pass (ChatGPT generator) proposedPass@17.3%Code Generation · ranking=Top Pass · generator=ChatGPTTop Pass: improve code generation by pass@k-maximized code ranking
Source quote
L46: Top Pass exhibits notable improvements, elevating the pass@1 of ChatGPT from 2.9% to 7.3% and DeepSeek-Coder from 5.2% to 9.7% on the CodeContests dataset.
2024Top Pass (DeepSeek-Coder generator) proposedPass@19.7%Code Generation · ranking=Top Pass · generator=DeepSeek-CoderTop Pass: improve code generation by pass@k-maximized code ranking
Source quote
L46: Top Pass exhibits notable improvements, elevating the pass@1 of ChatGPT from 2.9% to 7.3% and DeepSeek-Coder from 5.2% to 9.7% on the CodeContests dataset.
2024Llama 3.1 70B RFT proposedpass n@k50.9Code Generation · split: test · params=70B · turns=single-turn · variant=RFT · temperature=1.0 · trajectories=200What Makes Large Language Models Reason in (Multi-Turn) Code Generation?
Source quote
L170: \text{Llama 3.1 70B}^{\text{RFT}}\xspace │ 26.2 │ 45.1 │ 50.9
2024CodeTree with Critic Agent (GPT-4o) proposedPass@143.0%Code Generation · variant=Critic Agent · backbone=GPT-4o · generation-budget=20 samplesCodeTree: Agent-guided Tree Search for Code Generation with Large Language Models
Source quote
L284: We compared CodeTree with other baselines in Table \ref{tab:main_res}. We noticed that Reflexion and Resampling serve as strong baselines for HumanEval and MBPP datasets given the same solution generation budget, comparable to CodeTree-BFS/DFS. CodeTree with Critic Agent outperforms all other baselines in 4 out of 5 benchmarks for GPT-4o-mini and GPT-4o. For instance, CodeTree achieves pass@1=43.0% on competition-level coding tasks in the Codecontests benchmark (i.e. 22.4% performance gain over the Resampling baseline), showing its advantage in solving hard problems.
2024MapCoder proposedPass@128.5%Code GenerationMapCoder: Multi-Agent Code Generation for Competitive Problem Solving
Source quote
L4: Code synthesis, which requires a deep understanding of complex natural language (NL) problem descriptions, generation of code instructions for complex algorithms and data structures, and the successful execution of comprehensive unit tests, presents a significant challenge. Thus, while large language models (LLMs) demonstrate impressive proficiency in natural language processing (NLP), their performance in code generation tasks remains limited. In this paper, we introduce a new approach to code generation tasks leveraging the multi-agent prompting that uniquely replicates the full cycle of program synthesis as observed in human developers. Our framework, {\bf \texttt{MapCoder}}, consists of four LLM agents specifically designed to emulate the stages of this cycle: recalling relevant examples, planning, code generation, and debugging. After conducting thorough experiments, with multiple LLMs ablations and analyses across eight challenging competitive problem-solving and program synthesis benchmarks—\texttt{MapCoder}~ showcases remarkable code generation capabilities, achieving their new state-of-the-art (pass@1) results—({HumanEval \bf 93.9%}, {MBPP \bf 83.1%}, {APPS \bf 22.0%}, {CodeContests \bf 28.5%}, and {xCodeEval \bf 45.3%}).
2023MPSC-Weighted Cardinality proposedPass@111.26Code Generation · split: test · backbone=GPT-3.5-Turbo · algorithm-variant=iterative · solutions-per-problem=200 · test-cases-per-problem=500 · specifications-per-problem=100Enhancing Large Language Models in Coding Through Multi-Perspective Self-Consistency
Source quote
L398: MPSC-Weighted Cardinality │ 73.17/73.21 │ 73.24/73.31 │ 73.31/73.49 │ 11.26/10.30 │ 11.51/11.52 │ 12.12/12.12
2022Codex baseline using original program descriptions proposedAccuracy12.50%Code GenerationLess is More: Summary of Long Instructions is Better for Program Synthesis
Source quote
L106: CodeContests │ 12.50 │ 23.75 │ 25.00 │ 13.33 │ 25.33 │ 26.66 │ 12.82 │ 24.36 │ 25.64
2023ALGO w/ Codex proposed non-standard slicePass@15.60Code GenerationALGO: Synthesizing Algorithmic Programs with Generated Oracle Verifiers
Source quote
L143: Algo\xspace~w/ Codex │ 5.60 │ +4.90 │ 5.60 │ +4.40 │ 7.70 │ +4.70 │ 11.10 │ +3.60