Back to Coding

Which Bugs Does AI Reliably Miss?

Which Bugs Does AI Reliably Miss?
AI Tutorials Team 2 February 2026

An AI review that returns nothing is not evidence that the change is sound. There is a consistent set of defects these tools do not find, and it includes most of the expensive ones, for a reason that is structural rather than a matter of model quality.

What is the common property?

The bug is not in the text. A change can be perfectly correct in isolation and wrong because of something in another file, in the data, in the deployment or in what the business actually requires, and none of that is visible in the diff.

Which categories are missed?

  • Wrong requirement. Correct code implementing the wrong behaviour.
  • Cross-file effects. A change that breaks a caller elsewhere.
  • Concurrency. Race conditions and ordering problems that depend on timing.
  • Data assumptions. Code that is right for clean data and wrong for yours.
  • Performance at scale. Fine for ten rows, unusable at ten million.
  • Missing code. The case that should have been handled and is not mentioned.

Why is missing code so hard?

Because review reads what is present. A model cannot notice the absence of a permission check it was never told to expect, and there is nothing in the diff to point at.

This is the single largest blind spot, and it is why a specification supplied alongside the change improves review quality more than any other addition.

Why does concurrency defeat it?

Because the failure depends on interleaving rather than on the code as written. Two functions that are each correct can produce a corrupted state when run at the same time, and reading either one shows nothing wrong.

These bugs are also rare in training data relative to how serious they are, since most published code does not discuss them.

What about the wrong requirement?

Entirely invisible without a specification. A model asked to review a discount calculation will check the arithmetic and cannot know that the business rule changed last quarter, so flawless code implementing an obsolete rule passes cleanly.

How do you compensate?

By supplying what is missing. The requirement, the callers, the data characteristics and the expected scale all convert an invisible problem into a visible one, and each is a paste rather than a rewrite.

The change is meant to implement this rule: [rule]. Here are the three places that call this function. The data typically contains [characteristics] and the table has about [size] rows. Check whether the change satisfies the rule, whether it breaks any caller, and whether it will still work at that size.

Does a larger context window solve it?

Partly and not entirely. More code in view helps with cross-file effects and does nothing for requirements, timing or data characteristics, none of which are in the repository at all.

Does it miss things it appears to have checked?

Regularly, and this is the more troubling version of the problem. A review that comments on error handling in one function has not necessarily checked error handling everywhere, and nothing distinguishes a thorough pass from a partial one.

Coverage is not tracked. The model reads, produces findings and stops, so a change where the first two files are examined closely and the last three are skimmed produces output that looks uniform. Asking explicitly which files were assessed for which concerns is worth doing on anything substantial, and the answer is occasionally shorter than the review implied.

What is the practical conclusion?

An empty AI review means the mechanical layer is clean. Everything on the list above still requires somebody who knows the system, and treating a clean automated review as approval is the specific mistake that makes these tools dangerous rather than useful.