Decoupling Code Complexity from Newcomer Participation: A Causal Study of AI Coding Agent Adoption in OSS
School of Computer Science, Peking University(北京大学计算机学院);Key Laboratory of High Confidence Software Technologies, Ministry of Education, China(教育部高可信软件技术重点实验室)
Open-source projects depend on a steady inflow of newcomers. A growing concern is that AI coding agents (tools such as Cursor and Claude Code that write code from natural-language instructions) will crowd them out, by absorbing the simple tasks that beginners start with and by making code harder to read. We give this concern a causal answer. Using GitHub code search we identify 1,888 projects that adopted an agent, signaled by their first commit of a configuration file. We apply difference-in-differences against matched non-adopting controls, restricting the main analysis to the 603 adopters with a genuine pre-adoption period. We find no evidence of crowding-out: across estimators newcomer inflow shows no significant decline after adoption (point estimates run from a small increase to, under the most conservative trend specification, a slight and insignificant dip), onboarding and retention are unchanged, and a sparse, correlational beginner-task measure (good-first-issue labels, which we cannot test for parallel trends) shows no decline. The feared mechanism is real but decoupled: adoption raises per-function code complexity (about +11% on a cognitive metric for Python, a quarter of the prior estimate, and +3 to 4% in cyclomatic terms across all languages), yet in fixed-unit subsets where complexity rose (Python on the cognitive metric, and all languages on the cyclomatic metric), newcomer participation does not decline. These results suggest that, in established open-source projects, adopting an AI coding agent makes code modestly more complex but does not crowd out the human newcomers that a project depends on: the feared trade-off between AI assistance and human participation does not materialize.
Leaving My Fingerprints: Motivations and Challenges of Contributing to OSS for Social Good
当激励软件开发人员为开源软件做出贡献时,该法案通常被视为构建工具以支持开发人员社区的机会。然而,这并不是推动贡献的唯一费用-对开源的兴趣日益增长也归因于软件开发人员决定利用他们的技术技能来造福于共同的社会利益。为了了解开发人员如何识别这些项目,他们贡献的动机以及他们面临的挑战,我们对OSS for Social Good(OSS 4SG)贡献者进行了21次半结构化访谈。从我们的访谈分析中,我们通过对超过5765名OSS和开源软件社会公益贡献者进行调查,确定了我们希望大规模了解的贡献风格主题。从我们对517份回复的定量分析中,我们发现大多数贡献者表现出OSS 4SG和OSS之间的区别。同样,贡献者描述了基于该项目要缓解的社会问题以及该项目的成果将使谁受益的定义。此外,我们发现OSS 4SG贡献者不太关注通过用新技术技能填充简历来使自己受益,而是更有兴趣在统计上显著地在社会上留下自己的印记。我们还发现,OSS 4SG贡献者对项目所有者的评价明显高于OSS贡献者。这些发现提供了信息,以帮助贡献者识别高社会影响力的项目,帮助项目维护者减少进入障碍,并帮助组织了解为什么贡献者被吸引到这些项目中来保持积极参与。