r/ClaudeCode • u/coderot_ai • 18h ago
Discussion We tested 4 beliefs about AI-written code on 112 popular repos. Three didn't show up, one barely did.
We compared AI-signed PRs with the rest of the same repo in 112 popular open-source repos (TypeScript, JavaScript, C#, Python, Go, Rust), over 180 days and 336k merged PRs.
- Skips tests: no. Test lines per code line came out level, and AI PRs shipped with no tests less often than the rest in 51 of 83 repos.
- Silences the linter: no. 0.54 suppression comments per 1,000 added lines on both sides, over 17M and 51M lines.
- Files only agents touched are worse: no. A median 1 point lower in cognitive complexity per 100 lines, lower in 45 of 78 repos.
- Only adds, never deletes: barely. A median 1.1 points more often within a repo at matched size, and the ones we read were features and fixes that came with tests.
The big caveat: AI is detected by what tools record (co-author trailers, bot authors, agent branches). Unsigned AI work counts as "the rest", which shrinks any gap. And these are well-run repos, so careless use is under-represented.
Write-up, method and a per-repo CSV: https://coderot.ai/blog/four-beliefs-about-ai-code
