Metraipolis › archive › dc_0cf3c5322d31
Beyond Passing Tests: A Systematic Review and Controlled Re-evaluation of Techniques for Improving the Quality of LLM-Generated Code — arXiv:2610.38977
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.38977
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-31T06:17:19.872Z
- SHA-256 of the archived text
6f268cd4f06cf01e4feeeebb76e9634bf17b6e54aca3a2057f1c738782eedd4f- Stable URL of this page
https://metraipolis.com/documento/dc_0cf3c5322d31
How to cite
Beyond Passing Tests: A Systematic Review and Controlled Re-evaluation of Techniques for Improving the Quality of LLM-Generated Code — arXiv:2610.38977 — arXiv (en), https://arxiv.org/abs/2610.38977 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0cf3c5322d31 (Metraipolis archive dc_0cf3c5322d31, sha256 6f268cd4f06cf01e4feeeebb76e9634bf17b6e54aca3a2057f1c738782eedd4f)
BibTeX
@misc{dc0cf3c5322d31,
title = {Beyond Passing Tests: A Systematic Review and Controlled Re-evaluation of Techniques for Improving the Quality of LLM-Generated Code — arXiv:2610.38977},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.38977},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0cf3c5322d31; sha256 6f268cd4f06cf01e4feeeebb76e9634bf17b6e54aca3a2057f1c738782eedd4f},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.38977. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large language models pass most functional-correctness benchmarks, but passing tests says little about whether their code is readable, efficient or secure. Many techniques claim to improve these qualities, yet their evidence is scattered, usually covers one quality dimension and is rarely compared at an equal compute budget. We contribute a systematic review and a controlled re-evaluation. A systematic literature review of 628 primary studies (July 2021 to October 2026), with disclosed, author-reviewed LLM assistance, organizes the techniques by stage, signal source and quality target. Most studies measure only the dimension they target, gains often come with unchanged or unreported correctness, single automated quality signals are gamed, and compute, variance and contamination are rarely reported. A controlled re-evaluation runs ten techniques on four models at matched budgets on correctness, maintainability, efficiency and security benchmarks, extends it to thirteen current models and repository-level tasks, and compares 66 highlighted techniques head-to-head on Gemma 4 31B. At one call, quality prompting raises analyzer issue counts and leaves complexity and judge scores almost unchanged. At matched budgets, best-of-n sampling with an analyzer-weighted ranker matches or beats prompting, planning, self-refinement, a reviewer agent and retrieval on measures the ranker does not optimize, while an analyzer feedback loop and fine-tuning beat it only on analyzer issue counts. Large correctness losses on HumanEval+, a likely contaminated benchmark near its ceiling, do not appear on contests held after the models' training cutoffs. In the head-to-head, 1 of 66 techniques beats best-of-n on its primary target beyond the 95% interval, a rate consistent with chance. Gains should be reported against a budget-matched sampling baseline and on measures independent of the technique's own signal. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE) ; Computation and Language (cs.CL); Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2610.38977 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-31T06:07:23.403Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).