scimeatlas

Research map / Large language models / Agents, code and math

Revisit Self-Debugging with Self-Generated Tests for Code Generation

Xiancai Chen, Zhengwei Tao, Kechi Zhang, Changzhi Zhou, Xinyu Zhang, Wanli Gu, Yuanpeng He, Mengdi Zhang, Xunliang Cai, Haiyan Zhao, Zhi Jin

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

Peking University · Key Laboratory of High Confidence Software Technology · Beijing Institute of Technology · Meituan

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
5improved
8hurt
1mixed

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
use oracle-test feedback (detail) for post-execution self-debugging, 2 iterationsGPT-4o · HumanEval Basepass rate: 92.1 -> 95.1Improved
use self-generated-test detail feedback instead of oracle tests, 1 iteration (ablation)GPT-4o · HumanEval Basepass rate: 92.1 -> 89.0Hurt
post-execution self-debug with self-generated tests, detail feedback (ablation)Claude-3.5-Sonnet · HumanEval Basepass rate: 94.5 -> 87.2Hurt
post-execution self-debug with self-generated tests, label feedback (ablation)LLaMA-3-70B-Instruct · HumanEval Pluspass rate: 73.8 -> 65.2Hurt
post-execution self-debug with self-generated tests (ablation)GPT-4o · MBPP Basepass rate: 91.5 -> 92.9 (label, 2 it.); 92.6 (detail, 2 it.)Mixed
post-execution self-debug with label feedback on LiveCodeBench (ablation)GPT-4o · LiveCodeBench Overallpass rate: 46.0 -> 49.3Improved
post-execution self-debug with detail feedback instead of label (ablation)GPT-4o · LiveCodeBench Easypass rate: 89.3 -> 85.5Hurt
post-execution self-debug with detail feedback, 2 iterations (ablation)Claude-3.5-Sonnet · LiveCodeBench Overallpass rate: 55.8 -> 49.3Hurt
post-execution self-debug with detail feedback, 1 iteration (ablation)LLaMA-3-70B-Instruct · LiveCodeBench Easypass rate: 72.3 -> 56.6Hurt
in-execution self-debug with execution trace, 2 iterationsGPT-4o · MBPP Pluspass rate: 76.5 -> 79.1Improved
in-execution self-debug with execution traceGPT-4o · LiveCodeBench Overallpass rate: 46.0 -> 47.6Improved
in-execution self-debug with execution trace, 1 iterationLLaMA-3-70B-Instruct · HumanEval Pluspass rate: 73.8 -> 70.1Hurt

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