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

用于拉取请求描述的生成式AI:采用情况、影响及开发者干预

Generative AI for Pull Request Descriptions: Adoption, Impact, and Developer Interventions

Tao Xiao, Hideaki Hata, Christoph Treude, Kenichi Matsumoto

AI总结:

本研究采用混合方法考察了18,256个PR,发现GitHub Copilot for PRs的采用率显著上升,能缩短审查时间并提高合并率,且开发者常手动补充AI生成的描述。

摘要:

GitHub的Copilot for Pull Requests(PRs)是一项极具前景的服务,旨在自动化与PR相关的各类开发者任务,例如生成变更摘要或提供带有相关代码链接的完整演练。随着这项创新技术在开源软件(OSS)社区中逐渐获得关注,审视其早期采用情况及其对开发流程的影响至关重要。此外,它还提供了一个独特的机会,以观察开发者在不认同生成内容时的反应。在我们的研究中,我们采用混合方法,结合定量分析与定性见解,考察了18,256个部分描述由生成式AI撰写的PR。我们的研究结果表明:(1)Copilot for PRs尽管尚处于起步阶段,但其采用率正出现显著上升。(2)由Copilot for PRs增强的PR需要更少的审查时间,并且被合并的可能性更高。(3)使用Copilot for PRs的开发者经常用他们的手动输入来补充自动生成的描述。这些结果为生成式AI在软件开发中日益增长的整合提供了有价值的见解。

英文摘要:

GitHub's Copilot for Pull Requests (PRs) is a promising service aiming to automate various developer tasks related to PRs, such as generating summaries of changes or providing complete walkthroughs with links to the relevant code. As this innovative technology gains traction in the Open Source Software (OSS) community, it is crucial to examine its early adoption and its impact on the development process. Additionally, it offers a unique opportunity to observe how developers respond when they disagree with the generated content. In our study, we employ a mixed-methods approach, blending quantitative analysis with qualitative insights, to examine 18,256 PRs in which parts of the descriptions were crafted by generative AI. Our findings indicate that: (1) Copilot for PRs, though in its infancy, is seeing a marked uptick in adoption. (2) PRs enhanced by Copilot for PRs require less review time and have a higher likelihood of being merged. (3) Developers using Copilot for PRs often complement the automated descriptions with their manual input. These results offer valuable insights into the growing integration of generative AI in software development.

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

↑