重新审视AI智能体代码的存活率:测量选择如何决定结论
Revisiting the Survival of Agent-Attributed Code: How Measurement Choices Decide the Verdict
一项针对AIDev数据集854,139行代码、2,802个已合并PR和215个仓库的研究,通过88项存活分析构建规格曲线,考察九种测量选择对结论的影响。人类监督智能体(主要为GitHub Copilot)代码的效应方向不随选择改变,而全自主智能体Devin的代码结论则由测量选择决定:按行独立计算时22项规格中15项显示其更早被修改,按仓库聚类标准误时仅3项,与置换标签结果相当。
arXiv:2611.21784v2 Announce Type: replace-cross 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org