Code review was never about the bugs
If an AI reviewer can catch the bugs, what is human code review still for?
Contents4 sections
Quick guess before we start. Out of every 100 changes an author makes because of a human review, how many change what the code does? Now guess the same for 100 comments from an AI reviewer.
25 and 75.9. Almost the same split, flipped.
Ask developers why they review, and they say bugs. In a 2013 Microsoft survey 44% put finding defects first. But only 14% of the real review comments were about defects.
| Study | About bugs |
|---|---|
| Microsoft, 2013 | 14% of 570 review comments |
| Microsoft, 2015 | about 15% of review comments |
| Open-source projects, 2014 | about 25 in 100 changes made during review |
| Google, 2018 | 2 of 44 people surveyed said comments had found a bug |
A change to what the code does is the closest the research comes to a bug.
Now back to the guess. For humans it is about 25. The other 75 or so mostly made the code easier to read or change. And for the AI? About 76! That one is CodeRabbit, from a 2026 study.
So the AI does the job we all say review is for, and we humans mostly do something else. I think the bigger job is that a second person comes away understanding the code. You can’t count that, and it is the part I don’t want to hand to an AI.
The understanding lives in people
There is an old paper that says this better than I can. In 1985 Peter Naur argued that the core of a program is a “theory” held by the people who built it. By theory he means knowing why the code is built the way it is and how it can change safely. His example is a compiler. Group A built it. Group B got the full program text and good documentation, and still proposed extensions that broke the design. Group A saw the problems at once.
Naur called rebuilding the theory from documentation alone “strictly impossible”. Review is one of the few places in everyday work where the theory passes from one person to another.
One study tried to measure this by counting “files at risk”. These are files that only 1 active developer has ever changed or reviewed. If that person leaves, the file’s theory leaves with them.
Across 5 open-source projects, about 4 in 5 files are at risk when you count authors only. Count reviewers too and it is about 1 in 3, because review gave many files a second person who has read them. When only an AI approves a change, no second person has read it.
But the count is generous. It treats a quick approval like a careful read. Take my own reviews. From 2022 to 2026 I reviewed other people’s PRs 1,640 times (yes, I ran the numbers lol). I wrote more than a few sentences (300 characters or more) in only 101 of them. That is about 1 in 16! I read some of the other 15 carefully too, but I can’t prove it. So the real number of files at risk is somewhere above 1 in 3.
Why the AI misses some bugs
Catching bugs takes theory too. In the 2015 Microsoft data, about a third of comments from reviewers new to a file were useful. By their third review of it, about two-thirds were.
An AI reviewer is always new. Developers rejected more than half of CodeRabbit’s comments (56.3%). Of its bug comments, about 1 in 3 turned out to be wrong. The authors trace the wrong ones to limited understanding of the architecture and the wider repository.
A human reviewer with that record is usually new to the code, and gets better with each review. The AI starts new every time. But I’d still run the AI on every PR. I just wouldn’t let it be the only reader.
Can’t a model explain the code when you ask?
You might ask why anyone needs to hold the theory at all. A model can explain any file in a minute. That is the best argument against me.
In October 2026 the Claude Code team wrote about how they review. They say “Nobody on the team keeps a complete mental model of Claude Code in their head, and we don’t think anyone needs to.” Low-risk changes from trusted authors merge without a human approval once automated review and security checks pass. From June to September their merged PRs more than doubled, and fewer of them had to be reverted later (down by more than 40%). Those are good numbers.
But those numbers show the changes were safe to merge. They don’t show that anyone understands the code. The team asks this question itself: “If machines do most of the reading, how does anyone learn the code?” Their answer is “We don’t have a formal process for this.”
Code doesn’t record the rejected alternatives, and an explainer only answers the question you knew to ask. And leaning on the AI has its own cost. Anthropic ran a randomized trial with 52 mostly junior engineers. The group using AI help averaged 50% on a comprehension quiz, against 67% for the group without it.
Even the Claude Code team does not go all the way. Their own policy still requires 2 people on the riskiest code. So they and I agree that someone must understand risky code. We only disagree about how much code counts as risky. And for well-tested code that is cheap to rewrite, I think their approach makes sense.
Where the human reviewer should go
I have my own example of the gap between checked and understood. In 2026 I was the main author of a shared repository of team docs. Most review there came from an automated reviewer, and human review stayed light. The changes got checked, but I can’t say anyone else learned why they were made.
The Claude Code team says it has no formal process for this. Here is the one I would try.
- The AI reviews every PR for bugs. That is the job it is good at.
- The human reviewer is the person who needs to learn the file. If only 1 person knows a file, the review goes to someone who does not, ideally the next owner.
- The reviewer approves in writing. Before approving, they write in their own words why the change is built this way and what breaks if it is wrong. A written approval is a careful read you can prove.
- Well-tested code that is cheap to rewrite skips the human.
I have not run all 4 on a team yet.