AI-Generated Code Issues: A Taxonomy from Repository Histories, AI Conversations, and Developer Interviews

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.

Authors

Publication Details

Journal
arXiv
Published
2026-11-24
DOI
https://doi.org/10.48550/arxiv.2611.32676
Primary Topic
Software Engineering Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

AI-Generated Code Issues: A Taxonomy from Repository Histories, AI Conversations, and Developer Interviews

Fiorella Zampetti, Massimiliano Di Penta, Paolo Tonella, Gabriele Bavota et al.
arXiv
Software Engineering Research
preprint

AI-Generated Code Issues: A Taxonomy from Repository Histories, AI Conversations, and Developer Interviews

Fiorella Zampetti, Massimiliano Di Penta, Paolo Tonella, Gabriele Bavota, Nargiz Humbatova, Rosalia Tufano, Gunel Jahangirova, Daniele Bifolco
preprint en

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.

arXiv
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon