Revisiting the Survival of Agent-Attributed Code: How Measurement Choices Decide the Verdict
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Studies of how long code from AI coding agents survives after it is merged reach conflicting verdicts: agent code is reported to be retained longer than human code, about as long, or modified sooner. Each study makes defensible measurement choices, but how much these choices decide the verdict is unknown. We revisit the survival of agent-attributed code in our earlier study: 854,139 lines that 2,802 merged pull requests (PRs) added to 215 repositories of the AIDev dataset. We vary nine measurement choices in five research questions and build a specification curve of 88 survival analyses, tested under three variance estimators, several observation windows, and permuted labels. For code from human-supervised agents, mostly GitHub Copilot, the choices change the size of the effect but not its direction. For code from the fully-autonomous agent Devin, they decide the verdict. Across repositories, 15 of 22 specifications report it modified sooner when lines are treated as independent, but only 3 when standard errors are clustered by repository, no more than permuted labels produce. Within repositories, no specification detects a difference. LLM intent classifiers agree with human labels about as well as two humans agree with each other, whereas keyword rules do not (kappa = 0.69 to 0.72 against 0.38), and the two reach different verdicts on why agent code is modified. Humans make most modifications to agent code under every unit and window. Re-run on our data, five published designs each change their result with a single choice. Whether agent code survives longer than human code is therefore decided as much by the measurement as by the code. We derive an operationalization checklist for post-merge studies.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 18 of its 113 references that are in the map. Submitted 16 Nov 2026, announced 18 Nov 2026.
Builds on
18 of 113 references.
Closest ancestors · 12
Same direction, newest first
- 2026Who Finishes the Job? A Study of Follow-Up Fixes and Commit Authorship on AI Coding Agent Pull Requests22 Sep
- 2026Not All Agents Are Equal: Code Quality and Post-Merge Maintenance Across Five Autonomous Coding Agents in the Wild12 Sep
- 2026How Do AI Coding Agents Contribute to Software Development? an Empirical Study of Agentic Pull Requests23 Jul
- 2026Do These Violent Delights Have Violent Ends? Measuring the Post-Merge Fate of Agentic Code10 Jul
- 2026To What Extent Does Agent-generated Code Require Maintenance? An Empirical Study7 May
- 2026Agentic Repository Mining: A Multi-Task Evaluation6 May
- 2026From Industry Claims to Empirical Reality: An Empirical Study of Code Review Agents in Pull Requests3 Apr
- 2026Where Do AI Coding Agents Fail? An Empirical Study of Failed Agentic Pull Requests in GitHub21 Jan
- 2026Analyzing Message-Code Inconsistency in AI Coding Agent-Authored Pull Requests8 Jan
- 2026Security in the Age of AI Teammates: An Empirical Study of Agentic Pull Requests on GitHub1 Jan
- 2025Agentic Refactoring: An Empirical Study of AI Coding Agents6 Nov
- 2025The Rise of AI Teammates in Software Engineering (SE) 3.0: How Autonomous Coding Agents Are Reshaping Software Engineering20 Jul
Other references · 6
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 502
- 2023Evaluating the Code Quality of AI-Assisted Code Generation Tools: An Empirical Study on GitHub Copilot, Amazon CodeWhisperer, and ChatGPTcited by 81
- 2025From Code to Courtroom: LLMs as the New Software Judgescited by 18
- 2025Self-Admitted GenAI Usage in Open-Source Softwarecited by 5
- 2026Will It Survive? Deciphering the Fate of AI Agent-Authored Code in Open Sourcecited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks
- 2026Confident and Wrong: Silent Semantic Failures in Coding Agents
- 2026Govern the Repository, Not the Agent: Measuring Ecosystem-Level Risk in AI-Native Software
- 2026Why Are Agentic Pull Requests Merged or Rejected? An Empirical Study
- 2026Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
- 2026Beyond Resolution Rates: Behavioral Drivers of Coding Agent Success and Failure
- 2026When the Specification Emerges: Benchmarking Faithfulness Loss in Long-Horizon Coding Agents
- 2026Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models