AI coding tools make writing code faster. They do not automatically make shipping software faster. The time saved while typing is often spent again on reading, reviewing, testing and fixing what the AI produced. DORA calls this out directly: "Time saved writing is often re-spent auditing." This guide calls that hidden cost the verification tax, and shows which developer productivity metrics reveal it, how to calculate it for your own team, and how to make it smaller.
If you lead an engineering team that has rolled out AI assistants, this is the question your board will eventually ask: did it actually make us faster? Lines of code and pull request counts will say yes. The metrics below will tell you the truth.

The AI developer productivity paradox
Two pieces of research frame the problem.
In mid-2025, METR ran a randomized controlled trial with 16 experienced open-source developers working on 246 real tasks in repositories they knew well. Before starting, the developers expected AI tools to make them 24% faster. Afterwards, they believed they had been about 20% faster. Measured, they were 19% slower. METR is careful about the limits: these were experts in large, mature codebases, and greenfield work or unfamiliar code may see real speedups. But the gap between perception and measurement is the important part.
DORA's 2025 State of AI-assisted Software Development report found that higher AI adoption is now associated with higher software delivery throughput, a change from earlier years. It also found that AI adoption is still associated with higher delivery instability. Teams ship more, and more of what they ship breaks.
In March 2026, DORA published Balancing AI tensions, which names the mechanism. Developers quoted in it describe spending "less time writing code" but more time "babysitting the AI and reviewing what it is trying to do." DORA's advice to leaders is blunt: AI "can easily inflate the volume of code generated; therefore, leaders must stop relying on such narrow, output-based metrics as a measure of actual productivity."
What is the verification tax?
The verification tax is the extra effort needed to establish that AI-generated changes are correct, safe and maintainable before they can be relied on. It is paid in five places, most of which do not show up on any AI usage dashboard.

- Pull request review. AI makes it cheap to open pull requests, so there are more of them, and each is harder to review because the author may not fully understand it either.
- Test repair. Generated tests often check the implementation rather than the requirement, so real bugs pass and someone has to rewrite the tests later.
- Architectural rework. Code that works locally but ignores module boundaries or existing helpers gets rewritten in a later pull request.
- Security investigation. Missing authorization or validation checks turn into findings, tickets and follow-up fixes.
- Production debugging. The changes that slipped through become incidents, rollbacks and hotfixes.
None of this is an argument against AI tools. It is an argument for measuring the whole pipeline instead of the first step.
Developer productivity metrics that reveal the verification tax
Output metrics such as lines of code, commits and pull requests opened will all rise after an AI rollout. They measure activity, not delivery. These are the developer productivity metrics that show whether the work is actually getting done.

- Review wait time: hours from "ready for review" to first review. Rising wait time means reviewers cannot keep up with the volume.
- Active review time: minutes a reviewer actually spends per pull request. Rising active time per pull request means each change is harder to trust.
- Rework rate: share of recently merged code that is changed again within two to three weeks. A rising rework rate means code is being merged before it is right.
- Change failure rate: share of deployments that cause a failure needing a fix, rollback or hotfix. This is the DORA metric most directly hit by the verification tax.
- Deployment rework rate: share of deployments that are unplanned, made to fix a problem in production. DORA added it to its Quick Check in 2026.
- Escaped defects: bugs found after release, per hundred pull requests. The final bill for verification that did not happen.
For background on the classic four, see the 4 DORA metrics and how AI code review moves each, and before you turn any of these into targets, read the Goodhart's Law trap in DORA metrics.
A worked cost model: how big is your verification tax?
Here is a transparent, hypothetical example you can redo with your own numbers. Every input is an assumption; replace them with data from your Git provider and incident tracker.
The team: 20 developers, an average loaded cost of $60 an hour, 120 pull requests a week before AI, and 40 deployments a week.
After the AI rollout:
- Each developer saves about 4 hours a week writing code. That is 80 hours saved.
- Pull requests rise 40%, from 120 to 168 a week, and active review time per pull request rises from 25 to 35 minutes. Review goes from 50 to 98 hours a week: 48 extra hours.
- Change failure rate rises from 10% to 14%, and deployments rise to 56 a week. Failures go from 4 to about 8 a week. At 3 hours each, that is about 11 extra hours.

The naive dashboard says AI saves 80 hours a week. The real net saving is about 21 hours. The verification tax ate roughly three quarters of the gain, about $3,540 a week at $60 an hour, or more than $180,000 a year. That is not a reason to switch AI off; 21 hours a week is still a real gain. It is a reason to attack the tax, because every hour recovered from review and rework goes straight back to the team.
How to reduce the verification tax
The goal is not less AI. It is cheaper verification.
- Keep pull requests small. DORA recommends enforcing "the discipline of working in small batches". Small pull requests are faster to review, easier to trust and cheaper to roll back. See the complete guide to PR cycle time.
- Shift verification to the author. DORA's advice is to "shift automation and AI to the author": run tests, linters and an automated review before the pull request is opened, not after a teammate is assigned.
- Automate the mechanical checks. Secrets, injection patterns, missing tests and query-in-loop patterns should never consume human review time.
- Review by risk, not by volume. A documentation change and a payments change should not get the same review. Spend senior attention where a mistake is expensive.
- Make ownership clear. Every AI-assisted pull request still has one human author who can explain it and who owns the fix if it breaks.
Where Mesrai fits
Mesrai is an automated review layer that takes the mechanical part of verification off your reviewers, for both human and AI-written code.
- Review before the reviewer. Mesrai comments on every pull request within minutes, so security issues, missing error handling and risky patterns are flagged before a person spends time on them.
- Shift left to the author. The Mesrai CLI runs the same review on a developer's machine before the push, which is exactly where DORA suggests verification belongs.
- Your standards, checked automatically. Mesrai Rules let your team describe its review standards in plain English, so reviewers stop leaving the same comments by hand.
- Measure it, don't trust it. Evaluate Mesrai like any other change: track active review time, rework rate and change failure rate for a month before and a month after. If the numbers do not move, it is not worth paying for.
A 30-day verification tax scorecard

- Week 1, baseline. Pull review wait time, active review time, rework rate, change failure rate and escaped defects for the last 90 days. Write the numbers down.
- Week 2, automate. Turn on automated review and author-side checks for one or two teams, keeping the others as a comparison.
- Week 3, change habits. Introduce a pull request size limit and a simple risk-based review policy.
- Week 4, compare. Compare the pilot teams against the comparison teams and against their own baseline. Decide what to keep, expand or stop.
For the cost side of the same story, see the hidden cost of a slow PR queue.
Frequently asked questions
Does AI actually improve developer productivity?
It can, but not automatically. DORA's 2025 research links AI adoption to higher throughput and to higher instability at the same time, and METR measured experienced developers working 19% slower in mature codebases. The gain depends on how much of the saved time is lost to verification.
What are the best developer productivity metrics for AI-assisted teams?
Measure the whole flow, not just coding: review wait time, active review time, rework rate, change failure rate, deployment rework rate and escaped defects. Avoid using lines of code or pull request counts as productivity measures, because AI inflates both.
What is change failure rate?
The percentage of deployments that cause a failure in production needing a fix, rollback or hotfix. It is one of DORA's core metrics and one of the first to rise when AI-generated code is merged without enough verification.
How do you measure the ROI of AI coding tools?
Compare time saved during writing against extra time spent on review, rework and incidents, using a baseline from before the rollout. The cost model above shows the method; replace the assumptions with your own data.
Will AI code review remove the verification tax?
It removes the mechanical part: the checks a tool can do reliably on every pull request. The judgment part, deciding whether a change solves the right problem and fits the system, still needs people. The aim is to spend human attention only where it is needed.
Sources
- Balancing AI tensions: Moving from AI adoption to effective SDLC use, DORA, March 2026
- 2025 State of AI-assisted Software Development, DORA
- AI coding tools can slow down seasoned developers by 19%, InfoWorld on METR's 2025 trial
Want to see whether automated review shrinks your verification tax? Run a measured Mesrai pilot.