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

仅有合理性是不够的:AI生成的拉取请求审查中的信任与证据

Plausible Is Not Enough: Trust and Evidence in AI-Authored Pull Request Review

University of Saskatchewan(萨斯喀彻温大学)

Md Shamimur Rahman, Khairul Alam, Banani Roy, Chanchal K. Roy

AI总结:

该研究调查了239名从业者,发现AIPR审查中审查者初始信任更低、证据要求更高,需关注证据所有权与不确定性,审查工具应公开来源并区分生成内容与人类验证证据。

摘要:

代码审查是AI生成的拉取请求(AIPR)在集成前必须获得审查者信任的环节,但目前尚不清楚审查者是否采用与人类生成的拉取请求(HPR)相同的标准。我们对来自31个国家的239名从业者进行了调查,使用匹配的HPR和AIPR问题比较受访者内部的信任、证据要求和验证实践。大多数受访者(64.9%)报告对AIPR的初始信任较低。他们较少依赖作者的过往记录和子系统熟悉度,反而更强调人类提示工程师的专业知识和有限的变更规模。在批准时,受访者更常认为自己通过关键案例的推理对AIPR而言已足够(55.2%,而HPR为28.5%),同时较少依赖测试覆盖率。总体而言,61.1%的受访者报告对AIPR有更高的证据要求,在存在残留不确定性时会阻止批准的比例从HPR的19.4%升至AIPR的43.9%。受访者优先考虑测试检查、项目背景和本地执行,且更常选择部分重新实现以验证非平凡逻辑。所有权不明确也更可能导致AIPR审查暂停(29.3%,而HPR为14.6%)。开放式回应指出,在缺乏可靠背景和人类问责制的情况下,难以验证看似合理的代码。这些发现将AIPR审查界定为证据-所有权问题,而非单纯的正确性检查。审查者需要将生成的变更与已验证的行为和负责任的维护者联系起来。审查工具和智能体工作流应公开来源,区分生成的主张与人类验证的证据,并在批准前显示不确定性。

英文摘要:

Code review is where AI-authored pull requests (AIPRs) must earn reviewer trust before integration, yet it is unclear whether reviewers apply the same criteria used for human-authored pull requests (HPRs). We surveyed 239 practitioners from 31 countries using matched HPR and AIPR questions to compare trust, evidence requirements, and verification practices within respondents. Most respondents (64.9%) reported lower initial trust in AIPRs. They relied less on author track record and subsystem familiarity, emphasizing instead human prompter expertise and bounded change size. For approval, respondents more often considered their own reasoning through critical cases sufficient for AIPRs than HPRs (55.2% versus 28.5%), while relying less on test coverage. Overall, 61.1% reported higher evidence requirements for AIPRs, and the share who would block approval under residual uncertainty increased from 19.4% for HPRs to 43.9% for AIPRs. Respondents prioritized test inspection, project context, and local execution, and more often selected partial reimplementation to verify non-trivial logic. Unclear ownership was also more likely to pause AIPR review (29.3% versus 14.6%). Open-ended responses pointed to the difficulty of validating plausible code without reliable context and human accountability. These findings frame AIPR review as an evidence-ownership problem, not merely a correctness check. Reviewers need to connect generated changes to validated behavior and responsible maintainers. Review tools and agentic workflows should expose provenance, distinguish generated claims from human-validated evidence, and make uncertainty visible before approval.

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

↑