衡量2025年初AI对经验丰富的开源开发者生产力的影响
Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity
AI总结:
通过随机对照试验评估2025年初AI工具对资深开源开发者的影响,发现AI非但未提速,反而使任务完成时间增加19%。
摘要:
尽管AI工具已被广泛采用,但它们在真实环境中对软件开发的影响仍未得到充分研究。我们开展了一项随机对照试验(RCT),以了解2025年2月至6月处于前沿水平的AI工具如何影响经验丰富的开源开发者的生产力。16名具有中等AI使用经验的开发者在成熟项目中完成了246项任务;他们在这些项目上平均拥有5年的先前经验。每项任务都被随机分配为允许或不允许使用2025年初的AI工具。在允许使用AI工具时,开发者主要使用广受欢迎的代码编辑器Cursor Pro,以及Claude 3.5/3.7 Sonnet。在开始任务之前,开发者预测允许使用AI将使完成时间缩短24%。研究结束后,开发者估计允许使用AI使完成时间缩短了20%。令人惊讶的是,我们发现允许使用AI实际上使完成时间增加了19%——AI工具拖慢了开发者。这种拖慢也与经济学专家(缩短39%)和机器学习专家(缩短38%)的预测相矛盾。为理解这一结果,我们收集并评估了关于本研究环境中20个属性的证据,这些属性事先看来可能导致观察到的拖慢效应——例如项目规模和质量标准,或开发者先前使用AI工具的经验。尽管无法完全排除实验伪影的影响,但拖慢效应在我们各项分析中的稳健性表明,它不太可能主要由我们的实验设计造成。
英文摘要:
Despite widespread adoption, the impact of AI tools on software development in the wild remains understudied. We conduct a randomized controlled trial (RCT) to understand how AI tools at the February-June 2025 frontier affect the productivity of experienced open-source developers. 16 developers with moderate AI experience complete 246 tasks in mature projects on which they have an average of 5 years of prior experience. Each task is randomly assigned to allow or disallow usage of early 2025 AI tools. When AI tools are allowed, developers primarily use Cursor Pro, a popular code editor, and Claude 3.5/3.7 Sonnet. Before starting tasks, developers forecast that allowing AI will reduce completion time by 24%. After completing the study, developers estimate that allowing AI reduced completion time by 20%. Surprisingly, we find that allowing AI actually increases completion time by 19%--AI tooling slowed developers down. This slowdown also contradicts predictions from experts in economics (39% shorter) and ML (38% shorter). To understand this result, we collect and evaluate evidence for 20 properties of our setting that a priori could contribute to the observed slowdown effect--for example, the size and quality standards of projects, or prior developer experience with AI tooling. Although the influence of experimental artifacts cannot be entirely ruled out, the robustness of the slowdown effect across our analyses suggests it is unlikely to primarily be a function of our experimental design.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。