paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Does the Agent Matter? Predicting Merge Outcomes of AI-Authored Code

AI 智能体重要吗?预测 AI 编写代码的合并结果
FSE Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering2026匹配度 2/10 · 论文研究 AI 生成代码的 PR 合并结果预测,属于 AI/Agent 软件工程分析,但未涉及静态分析、形式化验证、浮点程序分析或贝叶斯程序分析,也未将 LLM/Agent 用于改进分析工具,与用户核心研究方向仅边缘相关。引用 1 inbox
Niruthiha Selvanayagam
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:通过 3 万余个 PR 训练机器学习模型,发现 AI 代码合并结果取决于 PR 质量与仓库上下文,而非生成代理身份。

本文研究 AI 编码智能体的身份是否影响其提交 PR 的合并结果,还是代码内容与仓库上下文更关键。作者使用 AIDev 数据集(五个 AI 智能体提交的 31,284 个 PR),构建机器学习模型在提交时预测合并结果,达到 82% 准确率和 0.85 ROC-AUC。消融分析显示,PR 质量特征(大小、复杂度、内容类型) collectively 最重要,智能体身份预测价值可忽略;仓库上下文是最强单一信号,个人声誉特征则高度冗余。结果表明,AI 作者代码能否合并主要取决于技术价值与项目上下文,而非智能体来源;部署智能体时应优先提升 PR 质量和选择合适仓库。

问题
研究问题是:AI 生成代码的 PR 合并结果是否取决于生成它的智能体身份,还是取决于代码内容与仓库上下文。
方法
使用 AIDev 数据集中的 31,284 个 PR 和五个 AI 智能体,训练机器学习模型在提交时预测合并结果,并进行消融与特征重要性分析。
评估
模型达到 82% 准确率和 0.85 ROC-AUC;消融显示 PR 质量特征和仓库上下文是主要信号,智能体身份几乎无预测力。
原文摘要(Abstract)

As autonomous coding agents become active contributors in software engineering, a key question emerges: does it matter which agent produces the code, or only what the code contains? Using the AIDev dataset (31,284 PRs from five AI agents), we develop machine learning models to predict merge outcomes at submission time, achieving 82% accuracy (ROC-AUC: 0.85). Ablation analysis reveals that PR quality characteristics (size, complexity, and content type) are collectively the most important predictors, while agent identity has negligible predictive value. Repository context emerges as the strongest standalone signal, suggesting where a PR is submitted matters as much as what it contains. Although individual reputation features rank highly in importance, they prove largely redundant with each other. These findings suggest merge outcomes for agent-authored code depend on technical merit and project context rather than agent source, with practical implications: developers deploying agents should prioritize PR quality and repository selection over agent choice.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{Selvanayagam26,
  title = {Does the Agent Matter? Predicting Merge Outcomes of AI-Authored Code},
  author = {Niruthiha Selvanayagam},
  booktitle = {FSE},
  year = {2026},
  doi = {10.1145/3803437.3804439}
}