arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.04427cs.SEcs.AI
收藏

以质量为代价:Cursor AI如何在开源项目中提升短期速度和长期复杂性

Speed at the Cost of Quality: How Cursor AI Increases Short-Term Velocity and Long-Term Complexity in Open-Source Projects

Carnegie Mellon University(卡内基梅隆大学)

Hao He, Courtney Miller, Shyam Agarwal, Christian Kästner, Bogdan Vasilescu

AI总结:

本文研究Cursor AI对开源项目开发速度和质量的影响,发现其短期提升速度但长期增加代码复杂性,指出质量保障是早期采用者的主要瓶颈。

摘要:

大型语言模型(LLMs)已展现出革新软件工程领域的潜力。除了其他方面,LLM代理在软件开发中迅速崛起,从业者报告在采用后生产力有多倍提升。然而,这些主张的实证证据却缺乏。在本文中,我们通过一种最先进的差分-差异设计,比较采用Cursor代理的GitHub项目与一个匹配的对照组(相似的GitHub项目但不使用Cursor),来估计采用广泛流行的LLM代理助手Cursor对开发速度和软件质量的因果效应。我们发现,Cursor的采用导致项目层面的开发速度显著增加,但这种增加是短暂的,同时伴随着静态分析警告和代码复杂性的大幅且持续增加。进一步的面板广义矩估计显示,静态分析警告和代码复杂性的增加是长期速度减慢的主要驱动因素。我们的研究将质量保障识别为早期Cursor采用者的重大瓶颈,并呼吁将其作为代理AI编码工具和AI驱动工作流程设计中的首要要素。

英文摘要:

Large language models (LLMs) have demonstrated the promise to revolutionize the field of software engineering. Among other things, LLM agents are rapidly gaining momentum in software development, with practitioners reporting a multifold increase in productivity after adoption. Yet, empirical evidence is lacking around these claims. In this paper, we estimate the causal effect of adopting a widely popular LLM agent assistant, namely Cursor, on development velocity and software quality. The estimation is enabled by a state-of-the-art difference-in-differences design comparing Cursor-adopting GitHub projects with a matched control group of similar GitHub projects that do not use Cursor. We find that the adoption of Cursor leads to a statistically significant, large, but transient increase in project-level development velocity, along with a substantial and persistent increase in static analysis warnings and code complexity. Further panel generalized-method-of-moments estimation reveals that increases in static analysis warnings and code complexity are major factors driving long-term velocity slowdown. Our study identifies quality assurance as a major bottleneck for early Cursor adopters and calls for it to be a first-class citizen in the design of agentic AI coding tools and AI-driven workflows.

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

↑