mlsanityData to 14 Oct 2026

Towards Understanding the Characteristics of Code Generation Errors Made by Large Language Models

arXiv 2406.08731 ↗First posted 13 Jun 2024cs.SEcited by 30

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have demonstrated unprecedented capabilities in code generation. However, there remains a limited understanding of code generation errors that LLMs can produce. To bridge the gap, we conducted an in-depth analysis of code generation errors across six representative LLMs on the HumanEval dataset. Specifically, we first employed open coding and thematic analysis to distill a comprehensive taxonomy of code generation errors. We analyzed two dimensions of error characteristics -- semantic characteristics and syntactic characteristics. Our analysis revealed that LLMs often made non-trivial, multi-line code generation errors in various locations and with various root causes. We further analyzed the correlation between these errors and task complexity as well as test pass rate. Our findings highlighted several challenges in locating and fixing code generation errors made by LLMs. In the end, we discussed several future directions to address these challenges.

Key facts. Cited by 30 papers in the map (data through 14 Oct 2026). First posted on arXiv 13 Jun 2024.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 12; 2026: 18.

30 papers.

Sort:

By area:

  1. 2025VERINA: Benchmarking Verifiable Code Generationcited by 34
  2. 2025A.S.E: A Repository-Level Benchmark for Evaluating Security in AI-Generated Codecited by 14
  3. 2025VeriStruct: AI-assisted Automated Verification of Data-Structure Modules in Veruscited by 9
  4. 2025BioAgents: Democratizing Bioinformatics Analysis with Multi-Agent Systemscited by 8
  5. 2025Beyond Synthetic Benchmarks: Evaluating LLM Performance on Real-World Class-Level Code Generationcited by 8
  6. 2025VeriEquivBench: An Equivalence Score for Ground-Truth-Free Evaluation of Formally Verifiable Codecited by 7
  7. 2026ErrorMap and ErrorAtlas: Charting the Failure Landscape of Large Language Modelscited by 6
  8. 2025Where Do LLMs Still Struggle? An In-Depth Analysis of Code Generation Benchmarkscited by 5
  9. 2025On LLMs' Internal Representation of Code Correctnesscited by 5
  10. 2025Why is prompting hard? Understanding prompts on binary sequence predictorscited by 4
  11. 2026VeriContest: A Competitive-Programming Benchmark for Verifiable Code Generationcited by 3
  12. 2025SRLCG: Self-Rectified Large-Scale Code Generation with Multidimensional Chain-of-Thought and Dynamic Backtrackingcited by 2
18 more
  1. 2025COSTAR-A: A prompting framework for enhancing Large Language Model performance on Point-of-View questionscited by 2
  2. 2026Intent-aligned Formal Specification Synthesis via Traceable Refinementcited by 2
  3. 2026UA-ChatDev: Uncertainty-Aware Multi-Agent Collaboration for Reliable Software Developmentcited by 2
  4. 2026Form, Not Content? A Preregistered, Placebo-Controlled Evaluation of Learned Error-Conditioned Self-Repair Through Prompts and Weights in Frozen Small Code Modelscited by 2
  5. 2026On Integrating Resilience and Human Oversight into LLM-Assisted Modeling Workflows for Digital Twinscited by 1
  6. 2026FVRuleLearner: Operator-Level Reasoning Tree (Op-Tree)-Based Rules Learning for Formal Verificationcited by 1
  7. 2026Effectiveness of LLM-based Software Diversity for Reliability Improvement -- an Empirical Studycited by 1
  8. 2026On the Robustness of LLMs' Internal Representation of Code Correctnesscited by 1
  9. 2026NoTB: Oracle-Free Triage of LLM-Generated RTL via Cross-Model Formal Consensuscited by 1
  10. 2025Think Like Human Developers: Harnessing Community Knowledge for Structured Code Reasoningcited by 0
  11. 2026Is Vibe Coding the Future? An Empirical Assessment of LLM Generated Codes for Construction Safetycited by 0
  12. 2026Task Abstention for Large Language Models in Code Generationcited by 0
  13. 2026Diagnosing Knowledge Gaps in LLM Tool Use: An Agentic Benchmark for Novel API Acquisitioncited by 0
  14. 2026Simulating Students' Java Programming Errors with Large Language Modelscited by 0
  15. 2026Characterizing the Quality Profile of AI-Generated C++ in Productioncited by 0
  16. 2026Do Uncertainty Signals Help? A Systematic Study of Uncertainty-Aware Decoding with Rollback Mechanismscited by 0
  17. 2026Adaptive Critical Token-Aware Retrieval for Repository-Level Code Generationcited by 0
  18. 2026LYNX: Analytical Program Synthesis via Grounding and Closed-Loop Refinementcited by 0