Research map / Large language models / Agents, code and math
Iterative Refinement of Project-Level Code Context for Precise Code Generation with Compiler Feedback
Zhangqian Bi, Yao Wan, Zheng Wang, Hongyu Zhang, Batu Guan, Fangxin Lu, Zili Zhang, Yulei Sui, Hai Jin, Xuanhua Shi
Huazhong University of Science and Technology · University of Leeds · Chongqing University · Shanghai Jiao Tong University · University of New South Wales
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.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add compiler feedback and SQL retrieval to semantic-only retrieval (RepoCoder) (ablation) | CoCoGen (GPT-3.5-Turbo) · CoderEval-Python | Pass@10: 36.30 -> 46.58 | Improved |
| add compiler feedback only (no SQL, no semantic) (ablation) | GPT-3.5-Turbo · CoderEval-Python | Pass@10: 36.30 -> 41.78 | Improved |
| add SQL structural retrieval (ablation) | CoCoGen without SQL · CoderEval-Python | Pass@10: 44.45 -> 46.58 | Improved |
| add semantic retrieval (ablation) | CoCoGen without semantic retrieval · CoderEval-Python | Pass@10: 41.78 -> 46.58 | Improved |
| add compiler feedback | Direct · CoderEval-Python (all levels) | Pass@10: 29.13 -> 40.43 | Improved |
| add compiler feedback | ReACC · CoderEval-Python (all levels) | Pass@10: 43.48 -> 46.52 | Improved |
| add compiler feedback | RepoCoder · CoderEval-Python (all levels) | Pass@10: 42.17 -> 48.26 | Improved |
| increase iterations from 0 to 3 (ablation) | CoCoGen · CoderEval-Python project level | Pass@10: 13.04 -> 39.13 | Improved |
| increase iterations from 3 to 10 (ablation) | CoCoGen · CoderEval-Python class level | Pass@10: 49.09 -> 47.27 | No clear effect |
| use CoCoGen instead of RepoCoder | GPT-3.5-Turbo · CoderEval-Python class runnable | Pass@1: 35.45 -> 28.00 | Hurt |
| add compiler feedback (3 iterations) | GPT-3.5-Turbo · HumanEval | Pass@1: 61.52 -> 71.65 | Improved |
| add compiler feedback (3 iterations) | GPT-3.5-Turbo · MBPP | Pass@1: 49.71 -> 52.79 | Improved |
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- AutoCodeBench: Large Language Models are Automatic Code Benchmark Generators (ICLR 2026 · similarity 0.88)
- Evaluating In-Context Learning of Libraries for Code Generation (NAACL 2024 · similarity 0.88)
- ConvCodeWorld: Benchmarking Conversational Code Generation in Reproducible Feedback Environments (ICLR 2025 · similarity 0.87)
- BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions (ICLR 2025 · similarity 0.87)
- LibEvoBench: Probing Temporal Knowledge Stratification in Code Generation Models (NeurIPS 2026 · similarity 0.86)
- Teaching Large Language Models to Self-Debug (ICLR 2024 · similarity 0.86)
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.