DEV Community

Zhuojun Li
Zhuojun Li

Posted on

I traced every time I overruled my AI code reviewer. It was wrong in 2 of 15.

Last week I checked my automatic code reviewer against my own merge decisions and got 90% agreement. Three commenters pointed at the same hole: a disagreement doesn't say who was wrong. A pass I later reworked could be the reviewer missing a bug, or my work order asking for something that couldn't work.

So I went back through all 15 disagreements and wrote down why each one happened. The reviewer was at fault in 2.

The 15 disagreements

Nine were passes I sent back for rework. Six were blocks I merged anyway. This covers every order created before November 21, with replay orders left out (more on those below).

Why Pass, then reworked Block, merged anyway
Reviewer missed it or rated it too low 2 0
My work order was wrong or contradicted itself 3 3
Only showed up on real data 2 0
Base branch moved after I dispatched 2 0
Reviewer was right, I took the risk 0 3

The two reviewer misses. A billing change charged cache writes twice, and the bug was right there in the diff. In a ledger parser, the reviewer's notes included the four problems I then sent back (float truncation, an uncaught overflow, an upsert that wiped stored data, empty rows), all marked non-blocking. It saw them. It rated them too low.

Three of the six overrides were my orders' fault. One order said "don't change existing tests" and also asked for behaviour that made an existing assertion false. The worker deleted the assertion and the reviewer blocked it, correctly by the letter of the order. Another order had two rules that couldn't both hold, and the reviewer said so in its block. The third blocked a missing --sandbox flag that I had already dropped in the previous round's feedback. That review ran minutes before the reviewer started being shown redo feedback, so it judged against an order I had already changed.

The other three overrides were real findings I chose to live with: an orphaned review process that can count a concurrency slot twice, an edge case in wait, and a research script that throws on missing data instead of logging it.

So the 11% pass-then-rework rate from the last post is about 2 points of reviewer error. For Claude Sonnet, which did all nine of those passes, that's 2 of 84 passes with a known outcome. The rest is mostly me: three orders that were wrong, one order whose base branch moved under it twice, and two cases nobody could have seen without real data.

The hand-labelled sample

The stratified sample from last time is now 29 rounds. One was a replay order (a past order re-run on another model for a comparison post), and those shouldn't be in the pool at all. Replays were also 26 of the 42 rounds I'd written off as closed for unclear reasons, not stale orders as I guessed. Since closed rounds were never in the agreement figure, it stays at 90% (140 of 155).

Each round got one question: if this code had been merged as-is, would I have regretted it?

Claude Sonnet Codex (GPT-6 Astra)
Rounds 22 7
Bad round passed (miss) 2 of 9 0 of 5
Good round blocked (false alarm) 0 of 13 2 of 2

Both Codex false alarms are findings from the last row of the table above: the orphaned slot and the wait edge case. By my labelling question they're false alarms, because merging didn't hurt. By the commenters' question they're the reviewer being right and me accepting the risk. I'd now report them the second way.

Claude's two misses are the billing bug and a city export whose citation paragraph numbers didn't match the printed text. Two fixes went in within 30 minutes of merging that one. Neither the reviewer nor the tests saw real output.

The weak spot, again

Claude pre-labelled the sample and suggested a cause for each of the 15 disagreements, with the evidence: the review text, the feedback I wrote for the next round, any fix commits after the merge. Last week I agreed with 6 of 6 suggested labels. This week I accepted 15 of 15 suggested causes. That's either good suggestions or rubber-stamping, and I can't tell which from the inside.

So before publishing I labelled 10 more passed-and-merged rounds blind, with no suggestion anywhere in the file. I marked all 10 ok.

Then I ran the evidence rule the suggestions were built on: fix commits to the same files within 14 days of the merge. Most hits were unrelated fixes to large shared files. Two were not. Eight minutes after one research-source order merged, I committed a fix to its own arXiv and Crossref loaders. Ten minutes after a city-export order merged, I changed where its citations come from. Both are the real-data kind from the first table, and blind, I passed both.

That cuts both ways. I'm not just copying the suggestions, because without them I came out more lenient, not identical. But the suggestions were also catching things I didn't.

What changed in the dispatcher

  • accept --force --reason records why I overrode a block.
  • reject and cancel take --reason, kept separately from runtime notes.
  • submit --purpose replay marks comparison runs, and review-audit skips them unless asked. Old replays are recognised by their title.
  • The labelling CSV has a cause column, and the summary splits misses and false alarms by cause.

One gap I can't close. Codex's event stream doesn't report which model served a request, so its review records only hold the model I asked for. If those 43 rounds ran on a fallback, nothing in the record would show it.

Thanks to @izgorodin, @revhive and @amit_spitzer, whose comments on the last post are most of this one.

If you label your own reviewer's disagreements, the first row of that table is the number I'd like to compare.

Top comments (0)