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

AI生成拉取请求中早期阶段的审查努力预测

Early-Stage Prediction of Review Effort in AI-Generated Pull Requests

University of Science, Vietnam National University(越南国立大学科学大学);University of Economics and Law, Vietnam National University(越南国立大学经济与法律大学)

Dao Sy Duy Minh, Huynh Trung Kiet, Nguyen Lam Phu Quy, Pham Phu Hoa, Tran Chi Nguyen, Nguyen Dinh Ha Duong, Truong Bao Tran

AI总结:

本研究提出一种基于创建时间的电路断开模型,用于预测AI生成拉取请求的高维护需求,通过静态复杂性线索识别高成本贡献,提升维护效率。

摘要:

随着AI编码代理从自动补全工具发展为自主的'AI劳动力'队友,它们引入了一个关键的新瓶颈:维护人员现在必须管理复杂的交互循环,而不仅仅是审查代码。分析33,707个代理生成的PR,我们揭示了一个明显的双模式现实:代理在狭窄的自动化方面表现优异(28.3%的PR即时合并),但经常在迭代细化方面失败,导致在面对主观反馈时出现'ghosting'(放弃)。这创造了一个隐藏的'注意力税'对维护人员。我们引入了一个创建时间的电路断开模型,以在人类审查开始前预测高维护PR。通过利用简单的静态复杂性线索(例如,文件类型、补丁大小),我们的模型识别出贡献的'昂贵尾部',AUC为0.96,使能够进行门控分流过程。在20%的审查预算下,这种方法捕获了69%的高努力PR,有效使维护人员能够快速失败成本高、质量低的代理贡献,同时快速跟踪简单的修复。

英文摘要:

As AI coding agents evolve from autocomplete tools to autonomous "AI workforce" teammates, they introduce a critical new bottleneck: human maintainers must now manage complex interaction loops rather than just reviewing code. Analyzing 33,707 agent-authored PRs, we uncover a stark two-regime reality: agents excel at narrow automation (28.3% of PRs merge instantly), but frequently fail at iterative refinement, leading to "ghosting" (abandonment) when faced with subjective feedback. This creates a hidden "attention tax" on maintainers. We introduce a creation-time Circuit Breaker model to predict high-maintenance PRs before human review begins. By leveraging simple static complexity cues (e.g., file types, patch size), our model identifies the "expensive tail" of contributions with AUC 0.96, enabling a gated triage process. At a 20% review budget, this approach captures 69% of the high-effort PRs, effectively allowing maintainers to fast-fail costly, low-quality agent contributions while fast-tracking simple fixes.

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

↑