Speed at the cost of quality: Study of use of Cursor AI in open source projects (2025)
TL;DR Highlight
After adopting Cursor, velocity rose briefly while warnings and complexity kept growing.
Who Should Read
A backend developer worried about code quality and maintenance after adopting a coding agent like Cursor on their team.
Core Mechanics
- Cursor boosted velocity, then it faded
- The study compared Cursor-adopting GitHub projects with matched control projects using difference-in-differences.
- Project-level velocity rose significantly and substantially, but the increase was transient.
- Warnings and complexity kept rising
- Static analysis warnings (issues a tool finds without running the code) increased substantially and persistently.
- Code complexity also increased persistently.
- Warnings and complexity drive later slowdown
- Panel GMM estimation (a statistical method over time-series data) was used.
- Rising warnings and complexity were major factors in long-term velocity slowdown.
- Quality assurance was the bottleneck
- The authors identify QA as a major bottleneck for early Cursor adopters.
- They argue QA should be a first-class concern in agentic coding tool design.
- Data covers repos as of August 2025
- 806 repositories adopted Cursor between January 2024 and March 2025.
- All were still available on GitHub at analysis time in August 2025.
Community Reactions
- Feeding static analysis back to the agent might fix it
- One commenter noted the study collected warnings with a local SonarQube, so the agent never saw them.
- They think the agent would likely fix them automatically if fed back.
- Lines of code is a questionable velocity measure
- One commenter said AI is very verbose, so line counts differ for the same problem.
- Another suggested normalizing by lines added, since more code naturally means more complexity.
- Many said the data is outdated
- Commenters noted the August 2025 cutoff predates current model quality.
- One said newer models make odd design choices but rarely hallucinate or get things outright wrong.
- Owning the architecture keeps complexity manageable
- One commenter said complexity stayed manageable when they made the design decisions and AI only executed.
- Another noted that tests cannot catch this kind of tech debt while staying green.
How to Apply
- Run static analysis after agent work
- Today, add SonarQube or ESLint to one repo and record the warning count on agent PRs.
- Feed the warning list back to the agent to fix.
- Add a refactor step before committing
- Don't commit right after tests pass; run a simplification prompt once.
- Ask it to split or shrink high-complexity functions.
- Track complexity metrics weekly
- Record cyclomatic complexity and warning counts before and after adoption.
- Check whether they rise along with velocity instead of watching speed alone.
Try It
# Paste into Claude Code or Cursor chat (simplified version of the paper's finding)
Review the code you just wrote or changed.
1. Run {{lint/static analysis command}} and list all new warnings.
2. Find the top 3 functions by cyclomatic complexity.
3. Fix the warnings and reduce complexity without changing behavior.
4. Re-run the existing tests to confirm they pass.
5. Summarize the warnings removed and the functions changed.Terminology
Related Papers
Gemini 4 Neon is the new #1 on the Models Engineering Index
Gemini 4 Neon ranks first on the Models Engineering Index with 68.0, combining multiple benchmarks.
LLMs can read and write executables byte by byte from a hex dump
Given only a hex dump and no tools, an LLM analyzed, patched and wrote working executables.
Claude was trained on protein sequences at scale
Next-amino-acid tests on obscure proteins show only the latest Claude models predict them
Remembered as Brief: Stored Preferences SilentlyRemove Decision-Critical Information
A stored 'keep it short' preference silently drops warnings; listing must-know points first restores content.
All AI-generated code should be Open Source
A blog argues AI-generated code should be open source; most HN commenters disagreed.
What thousands of conversations look like inside a language model
Mapping Qwen3-1.7B states showed Chinese sitting apart from English, while German and Croatian overlapped it.
AI, activity, and outcomes in software engineering
AI sped up writing code, but shipping speed did not rise as much, says a talk
LLMs Play Zachtronics' TIS-100
16 LLMs played TIS-100 and set 133 new Pareto frontier points across 18 puzzles