arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.02091cs.SEcs.AIcs.HCecon.GNq-fin.EC
收藏

生成AI对协作开源软件开发的影响:来自GitHub Copilot的证据

The Impact of Generative AI on Collaborative Open-Source Software Development: Evidence from GitHub Copilot

University of Texas at Austin(德克萨斯大学奥斯汀分校)

Fangchen Song, Ashish Agarwal, Wen Wen

AI总结:

本研究探讨生成AI对开源协作开发的影响,发现GitHub Copilot提高了代码贡献和开发者参与,但增加了协调时间,揭示了AI在扩展贡献者的同时减缓协作的权衡。

摘要:

生成人工智能(AI)促进内容创作并增强创意能力,这可以显著影响开发者的生产力和参与度。为探索其对协作开源软件(OSS)开发的影响,我们研究了GitHub Copilot,一个生成AI配对程序员,在多个分布式开发者自愿协作的OSS开发中的作用。使用GitHub的专有Copilot使用数据,结合来自GitHub的公共OSS项目数据,我们发现Copilot的使用使项目层面的代码贡献增加了5.9%。这一增长由开发者的编码参与度上升3.4%和个体生产力增加2.1%驱动。然而,Copilot的使用也导致协调时间增加8%,因为有更多代码讨论。这揭示了重要的权衡:尽管AI扩展了谁可以贡献以及他们贡献的多少,但它减缓了集体开发的努力。尽管存在这种张力,这两种竞争性力量的综合效果仍为正,表明使用AI配对程序员在整体项目层面及时合并代码贡献上带来了净收益。有趣的是,我们还发现效果在开发者角色上有所不同。边缘开发者在项目层面的代码贡献上相对较小的增加,而协调时间则比核心开发者有更大的增加。总之,我们的研究强调了AI配对程序员在影响OSS开发中项目层面代码贡献和协调时间的双重作用。我们对核心和边缘开发者之间差异效应的研究结果也对OSS社区的长期结构具有重要意义。

英文摘要:

Generative artificial intelligence (AI) facilitates content production and enhances ideation, with potentially important implications for developer productivity and participation in software development. To explore its impact on collaborative open-source software (OSS) development, we investigate the role of GitHub Copilot, a generative AI pair programmer, in OSS development where multiple distributed developers voluntarily collaborate. Using GitHub's proprietary Copilot usage data, combined with public OSS project data obtained from GitHub, we find that Copilot use increases project-level code contributions by 5.9%. This gain is accompanied by a 3.4% increase in developer coding participation and a 2.1% increase in individual code contributions. However, Copilot use is also associated with an 8% increase in coordination time and more code discussions. This reveals an important tradeoff: While AI expands who can contribute and how much they contribute, it slows coordination in collective development efforts. Despite this tension, the overall effect remains positive, resulting in a net increase in the timely merge of code contributions at the project level. Interestingly, we also find heterogeneous effects across developer roles. Peripheral developers exhibit relatively smaller increases in project-level code contributions and larger increases in coordination time than core developers. Together, our findings highlight the dual effects of AI pair programmers on code contributions and coordination in OSS development and provide implications for how generative AI may reshape the structure of OSS communities over time.

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

↑