AI-Generated Code Issues: A Taxonomy from Repository Histories, AI Conversations, and Developer Interviews
Rosalia Tufano, Nargiz Humbatova, Daniele Bifolco, Gunel Jahangirova, Fiorella Zampetti, Massimiliano Di Penta, Paolo Tonella, Gabriele Bavota
Key points
From the paper's conclusion- We study how quality issues in AI-generated code manifest in real software development activities through a mixed-method empirical study that draws on evidence from three complementary sources.
Abstract
Large language models (LLMs) are increasingly used to generate source code, yet the quality issues in such code remain only partially understood. Understanding these issues can help developers adapt quality assurance practices, such as code review and testing, to better detect problems that may be more common in AI-generated than in human-written code. We study how quality issues in AI-generated code manifest in real software development activities through a mixed-method empirical study that draws on evidence from three complementary sources. First, we mine GitHub commits whose messages explicitly attribute a fix to a problem in AI-generated code, and we manually inspect the 914 matched commits to remove false positives and classify the quality issue being corrected. Second, we collect developers' shared conversations with AI tools, identify conversations including source code and textual signals of model mistakes, and manually analyze 299 of them to classify the underlying quality issue. Third, we interview 20 practitioners and researchers who use AI coding tools to enrich and validate the obtained catalog of quality issues. From these analyses, we derive a taxonomy of 87 types of developer-attributed quality issues in AI-generated code, going beyond functional bugs. Our findings contribute an empirically grounded taxonomy and implications for the design and evaluation of AI coding assistants and agents.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Quality assurance of LLM-generated code: Addressing non-functional quality characteristicsJournal of Systems and Software · 2026
- Security and Quality in LLM-Generated Code: A Multi-Language, Multi-Model AnalysisIEEE Transactions on Dependable and Secure Computing · 2026
- Copilot or Culprit? How AI Is Changing Open-Source Bug Reporting and MaintenancearXiv · 2026
- Developers and generative AI: A study of self-admitted usage in open source projects.Empirical software engineering · 2026
- CodeReviewBench: An Automated Benchmark for Evaluating the Software FactoryarXiv · 2026
- Construct Validity of Coding Benchmarks for LLM-based Agentic Coding ToolsarXiv · 2026