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

为何智能代理生成的拉取请求被拒绝:智能代理的比较研究

Why Agentic-PRs Get Rejected: A Comparative Study of Coding Agents

Kyushu University(九州大学);University of Waterloo(滑铁卢大学)

Sota Nakashima, Yuta Ishimoto, Masanari Kondo, Shane Mclntosh, Yasutaka Kamei

AI总结:

本文研究了不同智能代理生成的拉取请求被拒绝的原因差异,发现七种仅出现在智能代理生成PR中的拒绝模式,并提出启发式方法以减少无反馈的拒绝案例。

摘要:

智能编码——一种由自主编码代理计划、实施并提交代码更改的软件开发工作流,正在迅速获得关注。先前的研究表明,使用编码代理(Agentic-PRs)生成的拉取请求(PRs)被接受的频率低于未被标记为智能代理(Human-PRs)的PRs。对于单一代理(Claude Code)的拒绝原因已进行了探讨,但尚未对由不同代理生成的Agentic-PRs之间的拒绝原因差异进行比较。这种比较很重要,因为不同的编码代理常用于不同的目的,这可能导致代理特定的失败模式。在本文中,我们检查了来自AIDev数据集的654个被拒绝的PRs,涵盖了五个编码代理以及一个人类基准。我们的研究结果表明,有七种拒绝模式仅出现在Agentic-PRs中,包括对AI生成代码的不信任。我们还观察到代理特定的模式(例如,Devin会自动撤回不活跃的PRs),反映了代理在实际配置和使用中的差异。值得注意的是,被拒绝的PRs中有67.9%缺乏明确的评审员反馈,使得其拒绝原因难以确定。为缓解这一问题,我们提出了一组启发式方法,以减少此类情况的比例,为未来研究智能编码中PR拒绝问题提供了一个实用的预处理步骤。

英文摘要:

Agentic coding -- software development workflows in which autonomous coding agents plan, implement, and submit code changes with minimal human involvement -- is rapidly gaining traction. Prior work has shown that Pull Requests (PRs) produced using coding agents (Agentic-PRs) are accepted less often than PRs that are not labeled as agentic (Human-PRs). The rejection reasons for a single agent (Claude Code) have been explored, but a comparison of how rejection reasons differ between Agentic-PRs generated by different agents has not yet been performed. This comparison is important since different coding agents are often used for different purposes, which can lead to agent-specific failure patterns. In this paper, we inspect 654 rejected PRs from the AIDev dataset covering five coding agents, as well as a human baseline. Our results show that seven rejection modes occur only in Agentic-PRs, including distrust of AI-generated code. We also observe agent-specific patterns (e.g., automated withdrawal of inactive PRs by Devin), reflecting differences in how agents are configured and used in practice. Notably, a large proportion of rejected PRs (67.9%) lack explicit reviewer feedback, making their rejection reasons difficult to determine. To mitigate this issue, we propose a set of heuristics that reduce the proportion of such cases, offering a practical preprocessing step for future studies of PR rejection in agentic coding.

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

↑