Fragments: November 20
Martin Fowler's Fragments post highlights a CodeScene experiment by Marcus Borg testing whether healthy code is cheaper for AI agents to review. Across three LLMs, 465 pull requests on 246 open source repositories, and a five-agent review and fix pipeline, the gap between a typical unhealthy pull request (CodeHealth 2.8) and a typical healthy one (9.7) added up to 22 to 35%. The post also notes Complex Method and Complex Conditional as smells tied to increased costs.
The cited experiment ties lower CodeScene health scores to higher agent review costs, suggesting code quality affects agentic engineering expenses.


