Research map / Large language models / Agents, code and math
CodeContests-O: Powering LLMs via Feedback-Driven Iterative Test Case Generation
Jianfeng Cai, Jinhua Zhu, Ruopei Sun, Kangwen Zhao, Dongyun Xue, Mingxiao Feng, Wengang Zhou, Houqiang Li
University of Science and Technology of China
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
On benchmark leaderboards
- LiveCodeBench leaderboard pass@1 34.57 · rank 32 of 44 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add feedback-driven refinement iterations 1-3 (ablation) | CodeContests-O test cases · Test case quality (all verified solutions) | TPR: 86.04 -> 89.37 | Improved |
| add feedback-driven refinement iterations 1-3 (ablation) | CodeContests-O test cases · Test case quality (all verified solutions) | TNR: 89.42 -> 90.89 | Improved |
| scale CodeContests+ test cases from 1x to 5x | CodeContests+ · Test case quality (all verified solutions) | TNR: 86.03 -> 89.35 | Improved |
| scale CodeContests+ test cases from 1x to 5x | CodeContests+ · Test case quality (all verified solutions) | TPR: 85.68 -> 83.84 | Hurt |
| enable logic-based checker instead of string matching (ablation) | test case evaluation · Test case quality (all verified solutions) | TPR | Improved |
| enable logic-based checker instead of string matching (ablation) | test case evaluation · Test case quality (all verified solutions) | TNR | Hurt |
| RL with CodeContests-O instead of CodeContests | Qwen2.5-7B (SFT) + GRPO · LiveCodeBench | Pass@1: 27.10 -> 34.57 | Improved |
| RL with CodeContests-O instead of CodeContests+ (5x) | Qwen2.5-7B (SFT) + GRPO · LiveCodeBench | Pass@1: 29.61 -> 34.57 | Improved |
| RL with HardTests instead of CodeContests | Qwen2.5-7B (SFT) + GRPO · LiveCodeBench | Pass@1: 27.10 -> 26.54 | Hurt |
| GRPO with CodeContests-O after SFT | Qwen2.5-7B (SFT) · LiveCodeBench | Pass@1: 25.05 -> 34.57 | Improved |
| RL with CodeContests-O vs Qwen2.5-7B-Instruct on Hard problems | Qwen2.5-7B (SFT) + GRPO · LiveCodeBench | Pass@1 Hard: 2.70 -> 2.45 | Hurt |
| HardTests adversarial focus | HardTests · Test case quality (all verified solutions) | TPR: 68.06 (TNR 89.17) | Hurt |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- CodeContests — CodeContests+: High-Quality Test Case Generation for Competitive Programming (EMNLP 2025) · better on 2 of 2 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems this paper states
- “Requires multiple rounds of model inference and code execution, causing higher latency than single-pass methods.” → Iterative or multi-step methods cost more tokens, latency and compute. (an open problem in code generation benchmarks)
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- CodeContests+: High-Quality Test Case Generation for Competitive Programming (EMNLP 2025 · similarity 0.93)
- Rethinking Verification for LLM Code Generation: From Generation to Testing (NeurIPS 2025 · similarity 0.91)
- S*: Test Time Scaling for Code Generation (EMNLP 2025 · similarity 0.91)
- PGS: Effective LLM Code Refinement via Property-Oriented and Structurally Minimal Feedback (ICML 2026 · similarity 0.90)
- rStar-Coder: Scaling Competitive Code Reasoning with a Large-Scale Verified Dataset (NeurIPS 2025 · similarity 0.90)
- ICPC-Eval: Probing the Frontiers of LLM Reasoning with Competitive Programming Contests (NeurIPS 2025 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.