Measure the downstream impact
As agents write more code, track two costs: the human attention it takes to rework that code, in review and after merge, and the defects and incidents it causes.
You can measure both on each pull request. Track how much of a change an agent wrote, then track the review it took to land, the fixes it needed after merge, and the defects and incidents traced back to it.
Size is the strongest predictor of defects. Once you account for size, the share of a change an AI wrote barely moves the odds.
Measures worth tracking
Defects per AI-written line
Count fixes and defects tied to a change within a fixed window after merge, such as 7 or 90 days.[1] Normalize the count by its AI-written lines to compare teams and track changes over time.
Review load
Track review rounds and comments per thousand AI-written lines.[2] If generation speeds up and review load climbs with it, your team is paying for the gain in review.
More reviewers do not necessarily mean fewer defects.[3] Smaller, better-checked changes let reviewers spend their time on intent and design, with less line-by-line inspection.[4]
More reviewers didn't mean fewer defects. Bigger, riskier changes attract more reviewers, and when ownership is diffuse, problems slip through.
In Span
The Span overview keeps quality next to adoption. AI review load and PR defect rate trend alongside AI code ratio, so a jump in output can’t hide a drop in quality.