Locally Correct, Globally Wrong: The Defects Humans Had to Catch in an Agent-Built System
Abstract
AI coding agents can produce code that passes tests but still contains defects found during human testing. We examine these defects in a deployed software system by tracing agent written code to subsequent human directed corrections through a blame linkage procedure. We identify 95 defects across 57 agent commits and compare them with Tambon et al.'s taxonomy of function level error. Interestingly, many defects fell outside the taxonomy, particularly those involving inconsistent sources of truth and incomplete change propagation. Only a minority of defects were caught by automated tests. These findings highlight gaps in existing approaches to assessing agent written code. This paper provides an initial dataset for benchmarking defect detection using human directed corrections as reference.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
- Comments
- 3 pages, 1 table. APSEC 2026 Poster Track copyrighted
Related papers
VeilPRBench: Can Code Review Agents Catch Vulnerabilities in Pull Requests That Resolve Real Issues?
Shared title terminologycs.SEXinhao Song, Xiaofei Yin, Yuxuan Xiao et al.
Are They Really Multi-Agent? Architectures, Claims, and Containers in LangGraph Systems
Shared title terminologycs.SEMeriem Mastouri, Emna Ksontini, Amine Barrak
Feasible by Construction, Wrong by Interpretation: A Reference Architecture for Operational Decision Systems with Learned Interpreters
Shared title terminologycs.SESpurthi Tallam, Hemanth Kumar Kolluru
Trace Comparison for Actionable Diagnostics and Improvement of Agentic Systems
Shared title terminologycs.SESergey Zeltyn, Iftach Shoham, Dany Moshkovich et al.
Toward Information-Aware and Verifiable Agentic Systems for Software Engineering
Shared title terminologycs.SESpyridon Alvanakis Apostolou, Helena Holmström Olsson, Jan Bosch
Horizontal Models, Vertical Systems: A Position on Where Domain Knowledge Belongs in Enterprise Agents
Shared title terminologycs.SELuciano Lucindo Chaves