mlsanityData to 24 Nov 2026

Beyond Passing Tests: A Systematic Review and Controlled Re-evaluation of Techniques for Improving the Quality of LLM-Generated Code

arXiv 2610.38977 ↗Submitted 28 Oct 2026cs.SE cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 185 of its 838 references that are in the map. Submitted 28 Oct 2026.

Builds on

185 of 838 references.

References · 185

  1. 2025Qwen3 Technical Reportcited by 9,994
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,938
  3. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,810
  4. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 4,110
  5. 2021Program Synthesis with Large Language Modelscited by 3,972
  6. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 2,138
  7. 2025Gemma 3 Technical Reportcited by 2,058
  8. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,638
  9. 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 1,363
  10. 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,281
  11. 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 1,124
  12. 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 1,078
38 more
  1. 2024Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluatorscited by 966
  2. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 940
  3. 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 740
  4. 2025Kimi K2: Open Agentic Intelligencecited by 636
  5. 2023Textbooks Are All You Needcited by 625
  6. 2024Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMscited by 600
  7. 2026Kimi K2.5: Visual Agentic Intelligencecited by 574
  8. 2025Muon is Scalable for LLM Trainingcited by 555
  9. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 544
  10. 2025GLM-4.5: Agentic, Reasoning, and Coding (ARC) Foundation Modelscited by 514
  11. 2025Stop Overthinking: A Survey on Efficient Reasoning for Large Language Modelscited by 497
  12. 2025Monitoring Reasoning Models for Misbehavior and the Risks of Promoting Obfuscationcited by 472
  13. 2026Gemma 4 Technical Reportcited by 464
  14. 20242 OLMo 2 Furiouscited by 413
  15. 2024AI Agents That Mattercited by 296
  16. 2025MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attentioncited by 295
  17. 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 249
  18. 2025Multi-SWE-bench: A Multilingual Benchmark for Issue Resolvingcited by 198
  19. 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 187
  20. 2025Llama-Nemotron: Efficient Reasoning Modelscited by 184
  21. 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agentscited by 183
  22. 2025Natural Emergent Misalignment from Reward Hacking in Production RLcited by 170
  23. 2025Seed1.5-Thinking: Advancing Superb Reasoning Models with Reinforcement Learningcited by 169
  24. 2022DocPrompting: Generating Code by Retrieving the Docscited by 165
  25. 2025Olmo 3cited by 163
  26. 2023Purple Llama CyberSecEval: A Secure Coding Benchmark for Language Modelscited by 156
  27. 2025A Survey on Code Generation with LLM-based Agentscited by 115
  28. 2026DeepSWE: Measuring Frontier Coding Agents on Original, Long-Horizon Engineering Taskscited by 103
  29. 2025SWE-bench Goes Live!cited by 100
  30. 2025CWM: An Open-Weights LLM for Research on Code Generation with World Modelscited by 99
  31. 2025Kevin: Multi-Turn RL for Generating CUDA Kernelscited by 96
  32. 2026Qwen3-Coder-Next Technical Reportcited by 83
  33. 2023Evaluating the Code Quality of AI-Assisted Code Generation Tools: An Empirical Study on GitHub Copilot, Amazon CodeWhisperer, and ChatGPTcited by 81
  34. 2025SWE-EVO: Benchmarking Coding Agents in Long-Horizon Software Evolution Scenarioscited by 80
  35. 2024The Limits of Inference Scaling Through Resamplingcited by 74
  36. 2025CUDA-L1: Improving CUDA Optimization via Contrastive Reinforcement Learningcited by 73
  37. 2025LiveCodeBench Pro: How Do Olympiad Medalists Judge LLMs in Competitive Programming?cited by 68
  38. 2024CYBERSECEVAL 3: Advancing the Evaluation of Cybersecurity Risks and Capabilities in Large Language Modelscited by 67

50 most cited of 185 All 185 (JSON)

Built on by

Not cited yet.