The Hidden Cost of Reviewing AI-Generated Software
Faster code generation does not necessarily lead to faster software delivery. This article examines the economics of AI-assisted development through review effort, rework, specialist capacity and the growing risk of review debt.
On this page
Imagine an engineering team that introduces AI coding agents across its development workflow.
Implementation becomes faster. Developers can investigate unfamiliar code, generate functionality and prepare pull requests with considerably less manual effort.
Within weeks, the team is producing more software changes than before.
However, senior engineers are spending more time reviewing those changes. Pull requests are waiting longer for approval. Some implementations require substantial revision, while others introduce complexity that was never part of the original requirement.
The organization has increased its capacity to produce code without necessarily increasing its capacity to deliver software.
This distinction exposes an important limitation in how AI-assisted engineering productivity is often evaluated.
Generating an implementation is only one part of software delivery. Understanding the implementation, verifying its correctness, evaluating its consequences and maintaining it after release also consume engineering resources.
When these costs are excluded from productivity assessments, an apparent improvement in development efficiency can conceal a growing operational problem.
Measuring the Complete Cost of a Software Change
A software change begins before the first line of code is written and continues beyond the moment it is merged.
The organization must understand the problem, establish the intended behavior, investigate the existing system, implement the change, evaluate its correctness and manage its subsequent consequences.
AI can influence every part of this process, but its effects may differ considerably between activities.
Research published in Management Science in 2026 illustrates the potential for meaningful productivity improvements. Cui and colleagues combined results from three randomized field experiments involving 4,867 developers and estimated a 26.08% increase in completed tasks associated with access to an AI coding assistant [1].
However, productivity effects are not uniform across development environments.
A randomized study conducted by METR using early-2025 AI tools found that experienced open-source developers working within repositories they already knew took 19% longer when AI tools were permitted [2].
METR subsequently reported that its follow-up experiment encountered substantial measurement and selection difficulties. Its February 2026 update acknowledged that newer tools were likely providing greater benefits than those observed in the original study, while emphasizing uncertainty about the magnitude of that improvement [3].
These findings should not be interpreted as competing universal conclusions. They involve different developers, tasks, technologies and experimental conditions.
Together, they demonstrate why AI productivity should be evaluated within the actual engineering environment in which the technology is used.
From implementation effort to delivery effort
A more complete accounting of engineering effort should distinguish between several activities.
| Activity | What the effort includes |
|---|---|
| Task preparation | Understanding requirements, investigating constraints and preparing context |
| Implementation | Writing code or directing and supervising an AI agent |
| Review | Understanding the change and evaluating its appropriateness |
| Verification | Establishing functional, integration and quality evidence |
| Rework | Correcting rejected or incomplete implementations |
| Integration | Resolving conflicts, dependencies and release obligations |
| Subsequent maintenance | Addressing attributable defects and maintaining the accepted implementation |
For a defined change and observation period, these activities can be represented as:
Total engineering effort = Preparation + Implementation + Review + Verification + Rework + Integration + Subsequent maintenance
The categories should be defined carefully to avoid counting the same work twice.
For AI-assisted development, additional service or computational expenses may also be relevant. These are financial costs rather than engineering hours and should be accounted for separately.
The important question is whether AI reduces the total resources required to deliver an appropriate change, not merely the effort required to produce its first implementation.
A task that previously required four hours of implementation may now require one hour of agent supervision. If review and correction consume the three hours that were saved, the organization has redistributed engineering effort rather than reduced it.
That redistribution may still be valuable, particularly if the quality of the resulting software improves.
But the benefit must be established through the complete delivery process.
Understanding the Cognitive Cost of Code Review
Code review is not simply the inspection of changed lines.
A reviewer must reconstruct the relationship between the proposed implementation, the original requirement, the existing architecture and the behavior of the surrounding system.
This understanding is necessary before the reviewer can make a meaningful judgment about correctness.
Bacchelli and Bird’s empirical study of modern code review identified understanding software changes as a central challenge. Their research also demonstrated that code review provides benefits beyond defect detection, including knowledge transfer and increased awareness of the system among team members [4].
AI-generated changes introduce particular considerations into this existing activity.
An implementation may be syntactically correct, internally consistent and accompanied by a persuasive explanation. Nevertheless, its reviewer must establish whether the explanation corresponds to the actual code and whether the code corresponds to the intended requirement.
Unlike a developer who personally investigated every implementation decision, a developer supervising an agent may not immediately understand every assumption embedded in the resulting change.
The extent of this problem depends on the level of supervision, the complexity of the task and the quality of the engineering context available during implementation.
Review complexity is not proportional to line count alone
Consider two proposed changes.
The first modifies 250 lines within a self-contained presentation component. The behavior is well documented, the relevant tests exist, and the change does not affect other modules.
The second modifies 40 lines across authorization, session management, shared configuration and data persistence.
Although the second change contains fewer lines, its consequences may be considerably more difficult to evaluate.
The reviewer must understand several system boundaries, security assumptions and possible interactions between the affected components.
Review complexity therefore depends on more than implementation size.
Important contributing factors include the number of affected contracts, the familiarity of reviewers with the relevant code, the consequences of incorrect behavior, the availability of independent verification and the degree to which the implementation departs from established project conventions.
Recent empirical research supports examining these structural characteristics. Minh and colleagues’ 2026 study of 33,707 agent-authored pull requests found that change size was strongly associated with their operational measure of review effort, with additional predictive signals arising from other characteristics of the proposed changes [5].
Their effort measure was based on review and comment activity rather than directly measured engineering labor. This distinction is important: visible collaboration activity can indicate review burden without providing an exact measurement of the time spent understanding a change.
The practical implication is that teams should assess the reviewability of proposed changes before assuming that rapid implementation represents an equivalent improvement in delivery efficiency.
Large Changes, Scope Drift and Unnecessary Complexity
AI coding agents can make extensive modifications at a relatively low marginal cost to the person directing them.
This creates opportunities for investigating complex problems, implementing repetitive changes and maintaining large software systems.
It can also reduce the natural friction that previously discouraged unnecessary implementation work.
Consider an engineering task intended to correct an inconsistent validation message within a web application.
While investigating the problem, an agent identifies duplicated validation logic, outdated component structures and inconsistent naming conventions. It decides to reorganize the validation subsystem, consolidate several components and introduce a new abstraction.
The resulting implementation may contain legitimate improvements.
Nevertheless, the engineering task has changed.
The reviewer must now evaluate not only the original correction but also the broader architectural changes, compatibility implications and future maintenance obligations introduced by the implementation.
The additional work may be justified, but that justification should be established independently.
The difference between necessary and incidental change
Necessary changes are those required to satisfy the intended behavior while preserving relevant system constraints.
Incidental changes may improve code organization, naming, formatting or architecture without being necessary to accomplish the immediate objective.
Some incidental changes are inexpensive and useful. Others substantially increase the amount of work that must be reviewed.
Combining several independent improvements into a single implementation can make it difficult to determine which changes are necessary, which introduce risk and which should be retained if a problem is discovered.
Google’s engineering practices recommend small, self-contained changes because they are generally easier to understand, review, integrate and reverse [6].
This principle remains relevant when implementation is substantially automated.
The ability to generate a large change quickly does not make the change easier to evaluate.
However, artificially dividing a coherent implementation into unrelated fragments can also increase review effort. Important architectural implications may become difficult to understand when no individual change provides sufficient context.
The objective should therefore be coherent reviewability rather than adherence to an arbitrary line-count threshold.
An engineering change should be sufficiently complete to establish its purpose while remaining sufficiently focused for its consequences to be understood.
When Implementation Throughput Exceeds Review Capacity
The consequences of AI-assisted development become particularly interesting when examined at the team level.
A developer may save time on individual tasks while the organization simultaneously develops a bottleneck elsewhere in its delivery process.
This occurs when the rate at which candidate changes arrive exceeds the organization’s capacity to evaluate them.
An illustrative engineering capacity model
Consider a hypothetical engineering team evaluating two development workflows.
The first uses conventional implementation practices. The second relies extensively on AI coding agents.
Assume that both workflows address comparable changes, maintain equivalent acceptance standards and eventually produce an accepted implementation for each candidate.
The following values are illustrative assumptions rather than measured industry averages.
| Engineering activity per accepted change | Conventional workflow | AI-assisted workflow |
|---|---|---|
| Implementation and supervision | 3.00 hours | 1.00 hour |
| Human review, including repeated review passes | 0.75 hours | 1.25 hours |
| Verification | 0.50 hours | 0.50 hours |
| Implementation rework | 0.50 hours | 1.00 hour |
| Total engineering effort | 4.75 hours | 3.75 hours |
Within these assumptions, the AI-assisted workflow reduces the measured engineering effort per accepted change by approximately 21.1%.
At the individual change level, the improvement appears attractive.
However, review effort increases from 45 minutes to 75 minutes per accepted change.
Suppose the team has 20 specialist review hours available each week.
Under conventional development, it produces 20 candidate changes weekly. Reviewing those changes requires 15 hours, leaving five hours of unused specialist review capacity.
With AI assistance, implementation capacity increases and the team begins producing 30 candidates per week.
Reviewing all 30 would require:
30 × 1.25 = 37.5 review hours.
The team has only 20 available.
Its theoretical review capacity is therefore:
20 ÷ 1.25 = 16 completed reviews per week.
Assuming review is the binding constraint, no candidates are withdrawn or rejected, and the remaining delivery activities have sufficient capacity, modeled weekly accepted throughput declines from 20 changes to 16 once the review stage is fully supplied.
Meanwhile, the review backlog increases by 14 candidates each week. This is an overloaded, capacity-limited flow, not a stable queue. The model does not predict individual waiting times.
| Weekly measure | Conventional workflow | AI-assisted workflow |
|---|---|---|
| Candidate changes submitted | 20 | 30 |
| Required review effort | 15 hours | 37.5 hours |
| Available review effort | 20 hours | 20 hours |
| Maximum review capacity | 26.7 changes | 16 changes |
| Estimated accepted throughput | 20 changes | 16 changes |
| Weekly backlog growth | 0 | 14 changes |
The apparent contradiction is important.
Figure: Illustrative capacity-limited weekly flow, assuming review is binding and no candidates are withdrawn or rejected.
Explore the interactive version of this model.
The AI-assisted workflow requires less total engineering effort per accepted change, yet produces fewer accepted changes under the specified specialist-capacity constraint.
These outcomes can occur simultaneously because engineering resources are not perfectly interchangeable.
Time saved by a developer preparing an implementation does not automatically become available to the specialist responsible for reviewing security-sensitive code or assessing architectural compatibility.
Identifying the required improvement
The model can also establish what would need to change.
To sustain the original throughput of 20 accepted changes per week with the existing review capacity, average review effort must not exceed one hour per accepted change.
To accommodate all 30 newly generated candidates, review effort must decline to approximately 40 minutes per accepted change, or the available review capacity must increase to 37.5 hours.
At exactly 100% planned capacity utilization, there is no allowance for variability, interruptions or unexpected review complexity. Real operating conditions would generally require additional capacity headroom.
This calculation provides management with a more precise objective than simply encouraging faster code generation.
The organization must either improve review efficiency, expand appropriate review capacity, reduce unnecessary candidate production or combine these interventions.
The model deliberately excludes rejected changes, variable task complexity, review scheduling dependencies and long-term maintenance costs. It is not a forecast of actual AI adoption outcomes.
It demonstrates how a local productivity improvement can expose or intensify an organizational bottleneck.
Measuring Review Effort, Rework and Delivery Lead Time
An engineering organization evaluating AI adoption should distinguish resource consumption from elapsed time.
A pull request may wait two days for review while requiring only 30 minutes of active reviewer effort.
Conversely, a change reviewed within two hours may require several engineers to interrupt other work and investigate its consequences.
These situations represent different operational problems.
Review latency concerns the time a candidate waits within the process. Active review effort concerns the engineering resources consumed by its evaluation.
Both matter, but they should not be treated as interchangeable.
Similarly, the number of review comments does not establish review quality. A long discussion may reflect an unclear implementation, valuable architectural debate or routine formatting corrections. A change approved without comments may be straightforward or inadequately examined.
A 2026 longitudinal study by Hamza, Siemon and Awan illustrates the importance of interpreting these measures carefully. The researchers observed changes in review behavior after AI agent adoption, but similar changes also appeared in their comparison repositories without agent activity. Their findings caution against attributing broader changes in engineering practices exclusively to AI adoption [7].
This methodological distinction is particularly important when organizations attempt to evaluate their own productivity.
A balanced measurement framework
| Measure | What it helps establish |
|---|---|
| Implementation effort | Human effort required to produce the candidate |
| Active review effort | Engineering resources consumed by understanding and assessing the change |
| Review waiting time | Delay before meaningful review begins |
| Rework effort | Resources required to resolve deficiencies identified during evaluation |
| First-pass acceptance | Proportion of candidates accepted without material revision |
| Change lead time | Elapsed time from a defined starting point to acceptance or deployment |
| Accepted throughput | Number of comparable changes successfully delivered within a period |
| Post-release corrective effort | Resources required to resolve attributable regressions within a defined observation window |
| Review backlog | Number and age of submitted changes awaiting resolution |
These measures should be interpreted together.
A higher first-pass acceptance rate is beneficial only if acceptance standards remain meaningful. Faster review is beneficial only if important defects continue to be detected. Increased delivery throughput is valuable only if the delivered changes contribute to legitimate organizational objectives.
Accounting for rejected work
Productivity evaluations can become misleading when they consider only successfully merged changes.
An AI-assisted workflow may generate several unsuccessful implementations before producing an acceptable candidate.
If the investigation, review and correction of rejected candidates are excluded, the apparent cost of the accepted change may be understated.
The same problem occurs when evaluating human-authored work.
A fair comparison should account for the resources consumed by unsuccessful attempts, abandoned changes and repeated implementation cycles.
One useful operational measure is:
Engineering effort per delivered change = Total attributable engineering effort across all attempted changes ÷ Number of accepted and delivered changes
This measure requires a sufficiently consistent definition of the work being compared.
A minor configuration adjustment and a complex architectural change should not be treated as equivalent units of production simply because each resulted in one pull request.
Comparisons should therefore be stratified by relevant task characteristics, such as complexity, risk, system familiarity and change category.
Work still in progress at the end of the observation period should also remain visible. Otherwise, growing review backlogs may make recent implementation activity appear more productive than it actually is.
Measuring without creating a surveillance problem
Collecting useful engineering measurements does not require monitoring every individual interaction.
Organizations can begin with lightweight task-level effort records, review timestamps, acceptance outcomes and sampled observations.
The purpose should be to investigate constraints in the delivery process, not to rank individual developers by their coding speed or review activity.
If measurement becomes an incentive to maximize visible output, teams may produce more changes, divide work artificially or approve candidates prematurely.
The measurement system should reward valuable delivery rather than activity that merely resembles productivity.
Designing AI-Assisted Work That Remains Reviewable
The response to increasing review burden should not necessarily be reducing AI usage.
It should be designing the development process so that AI-generated work remains understandable, bounded and economically useful.
Establish reviewable units of work
A candidate change should have a coherent purpose and a clear relationship to its requirement.
Unrelated architectural improvements, dependency upgrades and formatting changes should generally be separated when their evaluation would otherwise distract from the intended task.
Make engineering context available before implementation
Agents should have access to relevant project conventions, architectural constraints, existing patterns and acceptance expectations.
Providing this information before implementation may reduce avoidable review corrections.
However, the value of additional context should be evaluated rather than assumed. Excessive or outdated documentation can introduce its own interpretation problems.
Require evidence that reduces uncertainty
A useful implementation handoff should explain why consequential changes were necessary, which existing behaviors were preserved and which verification procedures were performed.
The objective is not to generate a longer pull request description.
It is to help reviewers understand the relevant decisions and locate the evidence supporting them.
Generated explanations should remain subject to verification.
Manage work in progress
When review becomes the binding constraint, continuously generating additional candidates may increase coordination costs without improving delivery.
Teams should monitor the age and size of their review backlog and regulate new submissions accordingly.
This is particularly relevant when several agents operate concurrently and produce overlapping changes to shared components.
Completing and accepting existing work may create more organizational value than initiating further implementation tasks.
Allocate review according to consequences
Not every change requires the same specialist attention.
Routine, well-understood modifications can often be evaluated through reliable automated controls and focused review. Changes involving security, financial integrity, shared architecture or persistent data may require greater scrutiny.
Appropriate automation can reduce repetitive review work without transferring consequential acceptance decisions to unreliable mechanisms.
The objective is to preserve review quality while allocating limited human expertise where it provides the greatest value.
Evaluate the continuing maintenance obligation
The cost of an accepted change does not necessarily end at deployment.
An unnecessary abstraction, duplicated implementation or poorly understood dependency can create future investigation and maintenance work.
These consequences may remain invisible in short-term productivity studies.
Organizations should therefore supplement immediate delivery measurements with appropriate observation of attributable defects, corrective changes and maintenance difficulties.
This does not require predicting every future maintenance cost. It requires acknowledging that an implementation’s lifecycle extends beyond its initial acceptance.
Optimizing for Verified Delivery Rather Than Generated Output
The strongest argument for AI-assisted software engineering is not that it enables organizations to generate more code.
It is that it may enable them to solve problems more effectively, reduce unnecessary effort and deliver useful software under appropriate quality constraints.
Achieving that benefit requires understanding the complete engineering process.
Implementation capacity is valuable, but it must remain connected to review capacity, verification capability, integration readiness and long-term maintainability.
When those capabilities develop together, AI can help improve the productivity of the organization rather than merely increase the volume of generated work.
When they develop unevenly, the organization may accumulate what can be described as review debt: an expanding obligation to understand, assess and resolve proposed changes that have been produced faster than they can be meaningfully accepted.
Review debt is not an argument against automation. It is a management signal that the delivery process has become unbalanced.
The appropriate response may involve improving task preparation, strengthening verification, limiting unnecessary implementation, increasing specialist capacity or changing the allocation of work.
What matters is identifying the actual constraint.
A more meaningful question for evaluating AI-assisted development is therefore not:
How much faster can we generate an implementation?
It is:
How much valuable, verified and maintainable software can we deliver with the engineering resources available to us?
The difference between those questions is where the economics of AI-assisted engineering becomes visible.
References
[1] Cui, K. Z., Demirer, M., Jaffe, S., Musolff, L., Peng, S., and Salz, T. The Effects of Generative AI on High-Skilled Work: Evidence from Three Field Experiments with Software Developers. Management Science, 72(11), 9408–9420, 2026. https://doi.org/10.1287/mnsc.2025.00535
[2] Becker, J., et al. Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity. arXiv preprint, 2025. https://doi.org/10.48550/arXiv.2507.09089. arXiv record
[3] METR. We Are Changing Our Developer Productivity Experiment Design. February 24, 2026. https://metr.org/blog/2026-02-24-uplift-update/
[4] Bacchelli, A., and Bird, C. Expectations, Outcomes, and Challenges of Modern Code Review. International Conference on Software Engineering (ICSE), 712–721, 2013. https://doi.org/10.1109/ICSE.2013.6606617. Open archival copy
[5] Minh, D. S. D., et al. Early-Stage Prediction of Review Effort in AI-Generated Pull Requests. International Conference on Mining Software Repositories (MSR), 954–958, 2026. https://doi.org/10.1145/3793302.3793609. Conference record
[6] Google. Engineering Practices Documentation — Small CLs. https://google.github.io/eng-practices/review/developer/small-cls.html
[7] Hamza, M., Siemon, D., and Awan, W. N. Does Working with AI Agents Change How Developers Code, Test, and Review? International Symposium on Empirical Software Engineering and Measurement (ESEM), 67:1–67:13, 2026. https://doi.org/10.4230/LIPIcs.ESEM.2026.67
Explore the model
Vary candidate flow, review effort and specialist capacity. This deterministic model assumes review is the binding constraint, enough capacity in other stages and no rejected or withdrawn candidates.
Default illustrative scenario. The original assumptions, calculations and tables remain available above.
Review demand exceeds available capacity
- Review demand per week
- 37.5 h
- Review capacity per week
- 16
- Accepted changes per week
- 16
- Weekly backlog growth
- 14
Throughput and backlog are modeled rates, not discrete completion promises. The model does not estimate individual waiting times or account for variation in review effort.