Skip to content
IFAI

Research

Anthropic finds AI coding assistance drops skill retention by 17%

Published Reach 36

Anthropic just published a study showing that junior developers using AI assistants scored 17% lower on coding mastery tests than those coding by hand. While AI only shaved about two minutes off task completion, it created a steep drop in debugging ability—unless users actively prompted the AI for conceptual explanations rather than pure code generation. Why it matters: Relying blindly on AI tools risks creating a generation of engineers unable to catch and fix AI-generated errors.

Anthropic finds AI coding assistance drops skill retention by 17%
Image: anthropic.com

Coding with AI feels like a superpower until the training wheels come off and someone asks you how the engine actually works.

Anthropic ran a randomized controlled trial with 52 software engineers to see what happens to human learning when AI writes the code. The findings should give engineering managers pause: developers using AI scored 17% lower on comprehension tests compared to those who wrote code by hand. That drop is roughly equivalent to two full letter grades.

While the AI group finished the coding task about two minutes faster on average, the speed advantage was not even statistically significant. The biggest performance collapse showed up in debugging questions, which test whether you can spot errors and understand why a program broke.

The illusion of competence

The participants were mostly junior developers who code in Python regularly but were unfamiliar with Trio, an asynchronous programming library. Anthropic asked them to complete two coding features using this new tool and then immediately tested their grasp of the material.

The hand-coding control group struggled through syntax blunders and conceptual pitfalls during the exercise. Yet that painful trial-and-error paid off. They scored an average of 67% on the post-task quiz, while the AI-assisted group averaged just 50%.

By taking the shortcut to the finish line, engineers using AI skipped the messy friction where learning actually happens.

It is not whether you use AI, but how

The study revealed that using AI does not automatically ruin your skills. It all depends on your prompt behavior.

Anthropic analyzed screen recordings and identified distinct patterns. Developers who scored below 40% fell into cognitive offloading traps. Some simply delegated everything to the model, encountered zero errors, finished fast, and learned almost nothing. Others relied on AI as an iterative debugger, pasting error logs without trying to understand what caused them.

By contrast, developers who scored 65% or higher treated the assistant like a sounding board. The most effective approach was conceptual inquiry, where developers only asked AI to explain high-level concepts and then wrote the code themselves. This group fixed their own bugs, aced the test, and ended up being the second-fastest cohort overall.

Why it matters

Companies everywhere are pushing engineers to adopt AI coding tools to boost sprint velocity. But Anthropic's data highlights a hidden tax: trading deep mastery for marginal speed.

If you are a developer learning a new stack, copy-pasting solutions from Claude or Copilot might help you clear your ticket, but you are shortchanging your career. The real skill ceiling in software engineering is not writing boilerplate; it is debugging weird edge cases when production catches fire. If AI robs you of those diagnostic reps, you become helpless the moment the model hallucinates.

We think this paper points out a massive design flaw in current developer tooling. AI assistants are currently optimized to hand over completed answers as fast as possible. If vendors care about sustainable software engineering, they will need to build modes that act more like Socratic tutors, deliberately forcing engineers to think instead of doing the homework for them.

Sources (1)

  1. [1]
    anthropic.com(opens in a new tab)Originalanthropic.com

Best of AI, daily