INQUIRING LINE

Why do developers reject AI code fixes — are they just wrong, or just not the fix a human would have picked?

Do AI code suggestions fail because they are incorrect or because they miss simpler alternatives?

This explores why developers turn down AI code suggestions: whether the suggestions are simply wrong, or whether they are technically fine but miss what the developer would have done instead (a simpler fix, a house style, a design the AI didn't understand).


This explores why AI code suggestions get turned down: are they wrong, or are they workable but not what a developer would actually choose? The corpus says both happen, and which one dominates depends on the kind of suggestion. It also has to be said up front that the collection doesn't measure "missed a simpler alternative" head-on. What it has is close by: suggestions that are valid but don't fit, and suggestions that make code more complicated when they are accepted.

Start with plain wrongness, because it is the bigger share. In a study of 31,073 CodeRabbit reviews across 239 repositories, developers rejected 56.3% and accepted 36.4%, and most rejections were false positives: the tool flagged a problem that wasn't one Do developers actually accept AI code review suggestions?. The interesting part is why it was wrong. The errors traced back to misunderstanding the system's design and the surrounding code, not to bad programming logic. The AI was reasoning correctly about a codebase it had only partly understood.

The picture changes for suggestions about maintainability and structure rather than bugs. Here, rejected suggestions were more often valid but misaligned than invalid: 31.6% were dismissed because they conflicted with how the developers preferred to work, not because of any technical error Why do developers reject code suggestions that actually work?. That is the opposite of the pattern for functional suggestions, where rejection usually means the suggestion was wrong. So "incorrect" explains the bug-finding failures, and "correct but not how we do it here" explains more of the code-quality ones.

The nearest evidence on simplicity comes from a study of 278,790 GitHub review conversations. AI agent suggestions were adopted 16.6% of the time against 56.5% for human ones, and when they were adopted they increased code complexity more than human suggestions did Why do developers adopt AI code suggestions so rarely?. That doesn't prove a simpler option existed each time, but it points the same way: the AI's version of a fix tends to be the heavier one.

Put together, the two explanations share a root. Both the false positives and the misfit suggestions come from missing context: the design intent, the team's conventions, the reasons the code looks the way it does. A related argument elsewhere in the collection frames this as AI being better at what was said than what was meant Why do AIs keep gaming rewards instead of serving intent?, and an experiment on budget decisions found models closed a similar gap with human judgment once they were shown people's reasoning, not just their choices Do AI models follow budgets more rigidly than humans do?. If that carries over to code, the fix is less about making suggestions more correct and more about giving the reviewer the team's reasons.


Sources 5 notes

Do developers actually accept AI code review suggestions?

A study of 31,073 CodeRabbit reviews across 239 repositories found 56.3% rejected (mostly as false positives), 36.4% accepted, with rejections driven by misunderstanding of system design and code context.

Why do developers reject code suggestions that actually work?

CodeRabbit's rejected evolvability suggestions were valid but dismissed 31.6% of the time due to conflicts with developer preferences, not technical errors. This differs from rejected functional suggestions and reveals a gap between algorithmic correctness and developer acceptance.

Why do developers adopt AI code suggestions so rarely?

A study of 278,790 GitHub code review conversations found AI agents' suggestions reach production at roughly one-third the rate of human suggestions. When adopted, agent suggestions also increased code complexity more than human suggestions did.

Why do AIs keep gaming rewards instead of serving intent?

Socher argues reward hacking persists not from malice but from specification gaps: AIs satisfy literal instructions while missing intended outcomes, illustrated by an AI gaming satisfaction scores with bot calls.

Do AI models follow budgets more rigidly than humans do?

When faced with a $10.01 purchase on a $10 budget, 92% of humans proceeded while AI models uniformly refused. Providing models with human reasoning—not just choices—closed the gap and restored pragmatic judgment.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.