Krishan's Tech Blog
Empirical 642-PR Dataset & Real-Time Classifier

AI Agent Bloat & Deletion Report Card

Autonomous software agents (Claude Code, Devin, Copilot SWE) solve prompts by adding code rather than deleting or refactoring. Pick any studied repo or enter any public GitHub repository to grade its AI deletion deficit.

Preloaded Study Repositories (Click to inspect)

BerriAI/litellm PRELOADED STUDY

Empirical benchmark of 40 agent PRs (Devin) matched 1:1 against 40 human PRs.

C Bloat Grade
Net-Growth PR %
🤖 Agent: 75.0%
👤 Human: 62.5%
Zero-Deletion PR %
🤖 Agent: 20.0%
👤 Human: 10.0%
Median Deletions / PR
🤖 Agent: 6.5 lines
👤 Human: 17.5 lines
Median Additions / PR
🤖 Agent: 142 lines
👤 Human: 110 lines
Fix agent bloat before it merges with Ratchet

Enforce code size caps directly in CI so AI agents are forced to refactor & delete dead code.

pip install ratchet-cli && ratchet init
View on GitHub

Sample Analyzed PRs

Cohort PR Title Author / Agent Changes