arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.00917cs.SEcs.AIcs.LG
收藏

在真实世界中研究自主代理的贡献:活动模式与代码变更趋势

Investigating Autonomous Agent Contributions in the Wild: Activity Patterns and Code Change over Time

Delft University of Technology(代尔夫特理工大学);University of California, Davis(加利福尼亚大学戴维斯分校)

Razvan Mihai Popescu, David Gros, Andrei Botocan, Rahul Pandita, Prem Devanbu, Maliheh Izadi

AI总结:

本文通过分析11万条开源拉取请求数据,研究自主编码代理在开源项目中的活动模式及代码变更,探讨其对代码质量、团队动态和软件维护性的影响。

摘要:

大型语言模型在代码领域的兴起改变了软件开发。能够创建分支、打开拉取请求并执行代码审查的自主编码代理,现在积极贡献于真实世界项目。其日益增长的作用提供了研究AI驱动贡献及其对代码质量、团队动态和软件可维护性影响的独特机会。本文构建了一个包含约11万条开源拉取请求的新型数据集,包括相关的提交、评论、审查、问题和文件变更,共同代表数百万行源代码。我们比较了五个流行的编码代理,包括OpenAI Codex、Claude Code、GitHub Copilot、Google Jules和Devin,研究它们在不同开发方面(如合并频率、编辑文件类型和开发者交互信号,包括评论和审查)的使用差异。此外,我们强调代码编写和审查只是软件工程过程的一部分,因为生成的代码还必须在一段时间内进行维护和更新。因此,我们提供了代理生成代码与人类编写代码的生存率和 churn 率的几个纵向估计。最终,我们的发现表明在开源项目中自主代理的活动在增加,尽管其贡献与人类编写代码相比在时间上具有更高的 churn 率。

英文摘要:

The rise of large language models for code has reshaped software development. Autonomous coding agents, able to create branches, open pull requests, and perform code reviews, now actively contribute to real-world projects. Their growing role offers a unique and timely opportunity to investigate AI-driven contributions and their effects on code quality, team dynamics, and software maintainability. In this work, we construct a novel dataset of approximately $110,000$ open-source pull requests, including associated commits, comments, reviews, issues, and file changes, collectively representing millions of lines of source code. We compare five popular coding agents, including OpenAI Codex, Claude Code, GitHub Copilot, Google Jules, and Devin, examining how their usage differs in various development aspects such as merge frequency, edited file types, and developer interaction signals, including comments and reviews. Furthermore, we emphasize that code authoring and review are only a small part of the larger software engineering process, as the resulting code must also be maintained and updated over time. Hence, we offer several longitudinal estimates of survival and churn rates for agent-generated versus human-authored code. Ultimately, our findings indicate an increasing agent activity in open-source projects, although their contributions are associated with more churn over time compared to human-authored code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑