Study traces 95 defects in agent-written code that automated tests missed
An arXiv paper links AI coding agents' commits to the human corrections that followed in one deployed system, finding most defects escaped automated tests.
In plain words
AI coding assistants can write code that passes automated tests yet still contains flaws that only show up when people test the software. Researchers studied one deployed system and traced which defects humans had to fix after agents wrote the code. Most of those defects were not caught by the automated tests.
What was announced
The authors examined a deployed software system built with AI coding agents, using what they call a blame linkage procedure to connect agent-written commits to later human-directed corrections. They identified 95 defects across 57 agent commits. Comparing these against Tambon et al.'s taxonomy of function-level errors, they report that many defects fell outside that classification, especially ones involving inconsistent sources of truth and incomplete change propagation, where a change in one place fails to spread everywhere it should.
Only a minority of the defects were caught by automated tests, according to the paper, suggesting that passing tests do not guarantee agent-written code is defect-free. The authors position their work as an initial dataset for benchmarking defect detection, using the human-directed corrections as reference points. The findings, they argue, expose gaps in how agent-written code is currently assessed.
What it does not show
- The evidence is the paper's abstract only; the full methodology, system details and results are not available in the supplied passages.
- The findings come from a single deployed system, so the abstract does not establish how general the results are across other codebases.
- The abstract does not describe how the 95 defects were validated or how the comparison with the taxonomy was performed.
Sources
Source-support review completed 4 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 4 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.