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

比较AI编码代理:一项任务分层的拉取请求接受分析

Comparing AI Coding Agents: A Task-Stratified Analysis of Pull Request Acceptance

University of Trieste(的里雅斯特大学);King’s College London(伦敦国王学院);University College London(伦敦大学学院)

Giovanni Pinna, Jingzhi Gong, David Williams, Federica Sarro

AI总结:

本文通过分析7156个拉取请求,比较了五个AI编码代理在不同任务类型上的接受率差异,发现文档任务接受率显著高于新功能任务,且OpenAI Codex在多种任务类型中表现优异。

摘要:

AI驱动的编码助手的快速普及正在改变软件开发实践,但对其在不同任务类型和时间上的系统比较仍有限。本文通过分析AIDev数据集中的7156个拉取请求,比较了五个流行的代理(OpenAI Codex、GitHub Copilot、Devin、Cursor和Claude Code)。时间趋势分析揭示了异质性进化模式:Devin在32周内接受率持续上升(+0.77% per week),而其他代理基本稳定。分析表明,拉取请求任务类型是影响接受率的主要因素:文档任务接受率为82.1%,而新功能任务为66.1%,差距超过大多数任务的典型代理差异。OpenAI Codex在所有九种任务类别中均表现出高接受率(59.6%-88.6%),分层卡方检验证实其在某些任务类别中显著优于其他代理。然而,没有单一代理在所有任务类型中表现最佳:Claude Code在文档任务(92.3%)和功能任务(72.6%)中领先,而Cursor在修复任务(80.4%)中表现突出。

英文摘要:

The rapid adoption of AI-powered coding assistants is transforming software development practices, yet systematic comparisons of their effectiveness across different task types and over time remain limited. This paper presents an empirical study comparing five popular agents (OpenAI Codex, GitHub Copilot, Devin, Cursor, and Claude Code), analyzing 7,156 pull requests (PRs) from the AIDev dataset. Temporal trend analysis reveals heterogeneous evolution patterns: Devin exhibits the only consistent positive trend in acceptance rate (+0.77% per week over 32 weeks), whereas other agents remain largely stable. Our analysis suggests that the PR task type is a dominant factor influencing acceptance rates: documentation tasks achieve 82.1% acceptance compared to 66.1% for new features - a 16 percentage point gap that exceeds typical inter-agent variance for most tasks. OpenAI Codex achieves consistently high acceptance rates across all nine task categories (59.6%-88.6%), with stratified Chi-square tests confirming statistically significant advantages over other agents in several task categories. However, no single agent performs best across all task types: Claude Code leads in documentation (92.3%) and features (72.6%), while Cursor excels in fix tasks (80.4%).

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

↑