arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.13754cs.SE
收藏

自动驾驶?开源软件中人类与AI协作及审查实践的实证研究

On Autopilot? An Empirical Study of Human-AI Teaming and Review Practices in Open Source

The University of Melbourne(墨尔本大学);Singapore Management University(新加坡管理大学)

Haoyu Gao, Peerachai Banyongrakkul, Hao Guan, Mansooreh Zahedi, Christoph Treude

AI总结:

本研究通过分析开源项目中AI辅助PR的互动模式,发现非所有权贡献者提交的AI共同撰写的PR被快速合并且反馈极少,揭示了AI在软件工程中的协作与审查实践问题。

摘要:

大型语言模型(LLMs)越来越多地自动化软件工程任务。尽管最近的研究强调了“AI作为队友”在开源软件(OSS)中的加速采用,但开发者互动模式仍处于探索阶段。在本研究中,我们通过扩展AIDev数据集,纳入更细致的贡献者代码所有权信息以及人类创建PR的比较基线,调查了项目级别的指南和开发者与AI辅助的pull requests(PR)的互动情况。我们发现,超过67.5%的AI共同撰写的PR来自没有先前代码所有权的贡献者。尽管如此,大多数仓库缺乏关于AI编码代理使用的指南。值得注意的是,我们观察到一种不同的互动模式:AI共同撰写的PR被合并得显著更快,且反馈极少。与人类创建的PR中非所有者开发者获得最多反馈不同,AI共同撰写的PR中非所有者开发者获得最少反馈,大约80%的PR在没有任何明确审查的情况下被合并。最后,我们讨论了对开发者和研究人员的影响。

英文摘要:

Large Language Models (LLMs) increasingly automate software engineering tasks. While recent studies highlight the accelerated adoption of ``AI as a teammate'' in Open Source Software (OSS), developer interaction patterns remain under-explored. In this work, we investigated project-level guidelines and developers' interactions with AI-assisted pull requests (PRs) by expanding the AIDev dataset to include finer-grained contributor code ownership and a comparative baseline of human-created PRs. We found that over 67.5\% of AI-co-authored PRs originate from contributors without prior code ownership. Despite this, the majority of repositories lack guidelines for AI-coding agent usage. Notably, we observed a distinct interaction pattern: AI-co-authored PRs are merged significantly faster with minimal feedback. In contrast to human-created PRs where non-owner developers receive the most feedback, AI-co-authored PRs from non-owners receive the least, with approximately 80\% merged without any explicit review. Finally, we discuss implications for developers and researchers.

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

↑