arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.04059cs.SE
收藏

人类整合,代理修复:代理撰写的拉取请求在实践中是如何被引用的

Humans Integrate, Agents Fix: How Agent-Authored Pull Requests Are Referenced in Practice

Concordia University(康考迪亚大学);Tianjin University(天津大学);The University of Osaka(大阪大学)

Islem Khemissi, Moataz Chouchen, Dong Wang, Raula Gaikovina Kula

AI总结:

研究通过分析AIDev数据集中的代理撰写的拉取请求引用,揭示了人类与代理之间引用意图的分类,发现人类主要用于构建新功能,而代理用于修复错误,且引用的拉取请求生命周期更长,审查时间更长。

摘要:

尽管编码代理在协作软件开发中引入了新的协调动态,但实践中详细的互动仍待探索,尤其是代码审查过程。本研究从AIDev数据集中挖掘代理撰写的PR引用,并引入一种分类法,以表征人类到代理和代理到代理交互中拉取请求(PR)的意图。分析显示,尽管人类发起大多数对代理撰写的PR的引用,但大量互动由AI协助,表明了元协作工作流的出现,其中人类主要使用引用构建新功能,而代理则用于修复错误。我们进一步发现,引用/被引用的PR与孤立PR相比具有显著更长的生命周期和审查时间,表明更高的协调或整合努力。我们随后列出三个关键发现作为未来研究方向,探讨如何利用这些动态优化AI编码代理在代码审查过程中的表现。

英文摘要:

Although coding agents have introduced new coordination dynamics in collaborative software development, detailed interactions in practice remain underexplored, especially for the code review process. In this study, we mine agent-authored PR references from the AIDev dataset and introduce a taxonomy to characterize the intent of these references across Human-to-Agent and Agent-to-Agent interactions in the form of Pull Requests (i.e. PRs). Our analysis shows that while humans initiate most references to agent-authored PRs, a substantial portion of these interactions are AI-assisted, indicating the emergence of meta-collaborative workflows, where humans mostly use references to build new features, whereas agents make them to fix errors. We further find that referencing/referenced PRs are associated with substantially longer lifespans and review times compared to isolated PRs, suggesting higher coordination or integration effort. We then list three key takeaways as potential future research directions into how to utilize these dynamics for optimizing AI coding agents in the code review process.

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

↑