scimeatlas

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

ACL 2024Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach91 citations (OpenAlex)

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 ↗

13measured effects
11improved
1no clear effect
1hurt

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 changedWhereMeasuredEffect
add compiler feedback and SQL retrieval to semantic-only retrieval (RepoCoder) (ablation)CoCoGen (GPT-3.5-Turbo) · CoderEval-PythonPass@10: 36.30 -> 46.58Improved
add compiler feedback only (no SQL, no semantic) (ablation)GPT-3.5-Turbo · CoderEval-PythonPass@10: 36.30 -> 41.78Improved
add SQL structural retrieval (ablation)CoCoGen without SQL · CoderEval-PythonPass@10: 44.45 -> 46.58Improved
add semantic retrieval (ablation)CoCoGen without semantic retrieval · CoderEval-PythonPass@10: 41.78 -> 46.58Improved
add compiler feedbackDirect · CoderEval-Python (all levels)Pass@10: 29.13 -> 40.43Improved
add compiler feedbackReACC · CoderEval-Python (all levels)Pass@10: 43.48 -> 46.52Improved
add compiler feedbackRepoCoder · CoderEval-Python (all levels)Pass@10: 42.17 -> 48.26Improved
increase iterations from 0 to 3 (ablation)CoCoGen · CoderEval-Python project levelPass@10: 13.04 -> 39.13Improved
increase iterations from 3 to 10 (ablation)CoCoGen · CoderEval-Python class levelPass@10: 49.09 -> 47.27No clear effect
use CoCoGen instead of RepoCoderGPT-3.5-Turbo · CoderEval-Python class runnablePass@1: 35.45 -> 28.00Hurt
add compiler feedback (3 iterations)GPT-3.5-Turbo · HumanEvalPass@1: 61.52 -> 71.65Improved
add compiler feedback (3 iterations)GPT-3.5-Turbo · MBPPPass@1: 49.71 -> 52.79Improved

Open problems in execution-based code verification

Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy