What is wrong with your code generated by large language models? An extensive study
Empirical ResultsBrowse all benchmarks →
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| GPT-4 code-repair evaluation | Self-critique/self-revision bug repair using bug taxonomy and compiler feedback | Repair success rate, iteration 2 | 29.2%+0.9 vs baseline | split: test · iteration=2Source quoteL925: Ours │ 24.1% │ 29.2% |
Reported baseline / comparator measurements (3)
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| RWPB | DeepSeek-R1 (DSR) baseline | PASS rate | 77.9% | Real-world benchmark of 140 programming requirements collected from GitHub; table value…Source quoteL799: PASS │ 31.4 │ 32.9 │ 22.9 │ 22.1 │ 75.7 │ 77.9 │ 44.3 │ 34.3 │ 45.7 |
| RWPB | Phi-3 (table label: Phi3) baseline | PASS rate | 22.1% | Real-world benchmark of 140 programming requirements collected from GitHub; table value…Source quoteL799: PASS │ 31.4 │ 32.9 │ 22.9 │ 22.1 │ 75.7 │ 77.9 │ 44.3 │ 34.3 │ 45.7 |
| GPT-4 code-repair evaluation | Intervenor baseline | Repair success rate, iteration 2 | 28.3% | split: test · iteration=2Source quoteL924: Intervenor \cite{wang2024intervenor} │ 22.5% │ 28.3% |
BibTeX
@article{dou2026what,
author = {Shihan Dou and Haoxiang Jia and Shenxi Wu and Huiyuan Zheng and Muling Wu and Yunbo Tao and Ming Zhang and Mingxu Chai and Jessica Fan and Zhiheng Xi and Rui Zheng and Yueming Wu and Ming Wen and Tao Gui and Qi Zhang and Xipeng Qiu and Xuanjing Huang},
title = {{What is wrong with your code generated by large language models? An extensive study}},
journal = {Science China Information Sciences},
year = {2026},
doi = {10.1007/s11432-025-4632-8},
}Ask Althea to put this paper to the test.