AI Is Generating ~41% of Code. Only a Fraction Survives.
· Enterprise AI · 7 min read
41% of code generated. A fraction survives to production.
The analysis
Headline adoption statistics for AI-generated code describe consumption, not value. Code generated, suggestions accepted and assistant usage are measures of how much a tool is used. They say nothing about how much of that output reaches production, stays there, and does useful work.
The attrition happens at several points. Some generated code is discarded during authoring. Some is rejected in review. Some ships and is rewritten within weeks because it was locally plausible but did not fit the surrounding system. What survives is a smaller and much more interesting number, and it is the only one connected to business outcomes.
The measurement most teams should adopt is survival rather than generation: of the code introduced in a period, how much remains materially unchanged after ninety days, and how does that compare with code written without assistance. Pair it with review latency and change failure rate to catch the case where survival is high because review has become permissive.
None of this argues against AI-assisted development, which in my experience genuinely helps on boilerplate, tests, migrations and unfamiliar APIs. It argues against reporting adoption as return. Once a board has been shown a generation percentage as evidence of productivity, every subsequent conversation about AI engineering spend is anchored to a number that was never measuring the thing in question.
Full essay on Substack: AI Is Generating ~41% of Code. Only a Fraction Survives..
More on Enterprise AI
- What the Stanford 2026 AI Index Actually Says
- Our AI Coding Numbers Were Perfect. We Were Shipping Slower.
- From Ownership to Access — And Perhaps Back Again
Discuss this with Prasanna: pw@prima-partners.com · book a 30-minute call.