arXiv 论文重新审视 AI 智能体代码的存续时长,测量方法的选择决定结论
Revisiting the Survival of Agent-Attributed Code: How Measurement Choices Decide the Verdict
AI 导读
三位研究者重新分析 AIDev 数据集中 2,802 个已合并 PR 新增的 854,139 行智能体代码,通过变化九个测量选择构建 88 种生存分析。结果显示,对 GitHub Copilot 等人类监督的智能体,测量选择只改变效应大小不改变方向;对全自动智能体 Devin,测量选择直接决定结论。
正文 · 原文
Abstract: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.
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.21784 [cs.SE] |
| (or arXiv:2611.21784v1 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2611.21784 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Musfiqur Rahman [view email]
[v1]
Mon, 16 Nov 2026 19:09:35 UTC (623 KB)
来源:arXiv cs.AI · arxiv.org