GitHub Copilot 与开发者生产力:一项观察性剂量-反应分析
GitHub Copilot and Developer Productivity: An Observational Dose-Response Analysis
AI总结:
通过固定效应模型和泊松伪最大似然估计,分析 16,223 名工程师的 43 周数据,发现 GitHub Copilot 的使用强度与工程师完成的 PR 数量呈单调递增但边际递减的正相关,在控制开发努力后最高使用周比零使用周 PR 完成量增加 40.5%。
摘要:
GitHub Copilot (GHCP) 是否提高了工程师的生产力?还是说,使用 GHCP 更多的工程师与使用较少的工程师本身存在差异?即使在同一工程师内部,GHCP 使用密集的周是否只是工作量更大的周,完成了更多各种任务?我们使用来自微软 Cloud+AI 组织 16,223 名软件工程师的 43 周数据研究了这些问题。工程师固定效应通过将每位工程师与自身(而非其他工程师)进行比较,消除了技能、角色和团队中不随时间变化的差异,从而解决了第一个问题。然后,活动编码时间和浏览器时间进入一个具有双向固定效应的泊松伪最大似然模型,以解决更棘手的、工程师内部的混杂因素:GHCP 密集周恰好是高努力周。这定义了我们的估计量为效率效应:在同等编码时间水平下完成更多的拉取请求。在控制已测量的开发努力不变的情况下,工程师在 GHCP 使用最高的周相对于零使用周,完成的 PR 数量估计增加了 40.5%。该梯度是单调的,但在高强度下收益递减。七项稳健性和证伪检验针对剩余的合理替代解释(非编码 AI 参与、团队层面冲击、周内任务重新分配、跨周污染、PR 拆分为更小单元、转向更简单任务类型,以及处理变量操作化的敏感性)。在明确陈述的条件独立性假设下,工程师内部设计估计了一个工具特定的效率效应,该效应与所有七项稳健性检验一致。
英文摘要:
Does GitHub Copilot (GHCP) make engineers more productive, or do the engineers who use it more differ from those who use it less? And even within a single engineer, are GHCP-heavy weeks just busy weeks in which more of everything gets done? We study these questions using 43 weeks of data from 16,223 software engineers across Microsoft's Cloud+AI organization. Engineer fixed effects address the first concern by comparing each engineer against themselves rather than against other engineers, eliminating time-invariant differences in skill, role, and team. Active coding time and browser time then enter a Poisson Pseudo-Maximum Likelihood model with two-way fixed effects to address the harder, within-engineer confound: that GHCP-heavy weeks coincide with high-effort weeks. This defines our estimand as an efficiency effect: more pull requests completed at equivalent levels of coding time. Engineers are estimated to complete 40.5% more PRs in their highest GHCP usage weeks relative to their zero-usage weeks, holding measured development effort constant. The gradient is monotonic with diminishing returns at high intensity. Seven robustness and falsification tests target the remaining plausible alternative explanations (non-coding AI engagement, team-level shocks, within-week task reallocation, cross-week contamination, PR slicing into smaller units, shifts toward easier task types, and sensitivity to how the treatment is operationalized). Under an explicitly stated conditional-independence assumption, the within-engineer design estimates a tool-specific efficiency effect that is consistent with all seven robustness tests.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。