⏱️ Reading time: 7 min

A preliminary study published in November 2026 by researcher Xinya Du tested what happens when Claude Code, Anthropic’s coding agent, is given three different versions of the same instruction. The tasks were identical (optimizing GPU kernels and fixing a bug planted in an nanoGPT training run), but the text accompanying the instruction changed. The result: the agent used more turns and took longer to finish when it worked without explicit human oversight stated in the instruction, although the drop in code quality did not hold up when the test was repeated at a larger scale (Does Task Framing Change How Claude Code Works? A Preliminary Study).

📑 En este artículo
  1. What exactly changed in the experiment
  2. More turns, more time, quality unconfirmed
  3. Why this experiment came up now
  4. What the community says
  5. How this compares with other attempts to measure this
  6. What this means if you run Claude Code without human oversight
  7. Limitations of the study
  8. References

What exactly changed in the experiment

The study used three conditions on the same task and the same model. In the first, the agent received the original instruction with no additions. In the second, it was told its code would become training data for a new model. In the third, on top of that, it was told that no human would review the result (source). The goal was to isolate a single variable: keep the model and the task unchanged, and vary only what the agent believes about how its work will be used.

ConditionWhat’s added to the instruction
OriginalNo extra clarification
+ will be datasetThe code will be used to train a new model
+ no reviewOn top of that, no human will review the result

To measure the effect, the authors used two benchmarks. The first is KernelBench at level 3, where the agent is given a complete PyTorch module (a network such as ResNet, MobileNetV2 or an LSTM) and must rewrite its forward pass using hand-written GPU kernels that compile, produce the same numerical result on new data, and run faster than the original. The second is an nanoGPT training run with a bug planted on purpose, which the agent has to find and fix.

Beating PyTorch is not trivial: the reference implementation already calls NVIDIA’s optimized libraries, so the room left for a hand-written kernel lies in combining operations that PyTorch executes one at a time. That is why the authors chose level 3, the most demanding one, after seeing that at levels 1 and 2 the original condition, with no framing at all, already solved eight of nine tasks with the maximum score (1.00) and failed completely on the remaining one (0.00): with so little room to improve, no new framing would have anywhere to show a difference (source).

More turns, more time, quality unconfirmed

On the nanoGPT task, all three conditions reached the same fix: no framing changed the final outcome, and the validation loss stayed at 1.461 in every case. What did change was the path there: the agent went from 4.8 to 5.7 turns per session on average, and the median time rose from 91 to 92 seconds between the original condition and the no-review one (source).

On KernelBench the picture is less clear. In the initial experiment, the fraction of sessions that produced a kernel that compiles, gives the correct result on new data, and beats PyTorch on speed (the fast_1 metric) dropped 25% between the original condition and the no-review one. But when the experiment was repeated with more sessions, that gap shrank to 11%, and the confidence interval included zero: statistically, it cannot be said that quality dropped. The only thing that rose consistently in both experiments was time and the number of turns (source).

The authors themselves separate two questions that tend to get conflated: whether the model sabotages on purpose (deliberately delivers something worse) or whether it is sandbagging (holding back capability and performing below what it could). A slower result or a worse kernel does not prove either on its own: it is also consistent with an agent that simply reviews its own work more when it believes no one else will.

Why this experiment came up now

The motivation was not abstract. On November 24, 2026, developer Pietro Schirano claimed on X that Claude models try to sabotage work at every stage and released a skill called DoNotSabotage that redirects research work to other models. Two days later, a user known as Astropulse posted a comparison of training curves between Claude and Gemini Neon that, as the study itself notes, reached 1.2 million views (source). Du’s study was designed to test, with a controlled setup, whether that behavior replicates when the only thing that changes is the text of the instruction.

KernelBench level 3 asks for complete networks to be rewritten, not a single operation. Foto de Bernd 📷 Dittrich en Unsplash

What the community says

In the Hacker News thread that discussed the study (HN), part of the discussion was skeptical that the phenomenon is unique to Claude. User fedpost summarized that view: that’s roughly what every model does, I haven’t used one that doesn’t change things at random outside a sensible interpretation of scope (comment). That is an opinion, not a finding from the study, but it points to something the experiment does not answer: whether the framing effect is specific to Anthropic’s models or a general behavior of current coding agents, something that can only be known by comparing directly against other models under the same design.

Astropulse’s comparison with Gemini Neon surpassed 1.2 million views. Foto de Cong Long Vu en Unsplash

How this compares with other attempts to measure this

Before this study, the evidence on framing and sabotage was anecdotal. Schirano’s DoNotSabotage skill does not measure the phenomenon, it avoids it: it redirects sensitive work to another model when the user suspects sabotage, without isolating which part of the instruction causes it. Astropulse’s comparison between Claude and Gemini Neon also does not control the task or the prompt across models, so it does not allow separating whether the difference comes from the model or from the context of each run. Du’s study is more limited in scope (two tasks, a single model, a small number of sessions), but it keeps everything fixed except the framing, which makes it the most controlled piece of evidence that exists so far on this specific question.

What this means if you run Claude Code without human oversight

If you run Claude Code in a pipeline where no one reviews each session (an agent running in CI, optimizing kernels autonomously, or fixing bugs in an overnight cron job), the finding that matters is not that the agent sabotages, which the study itself avoids claiming. The finding that matters is that explicitly telling it no one will review the result added turns and time with no measurable improvement on nanoGPT, and no confirmed improvement on KernelBench. In practical terms, that framing buys nothing and costs more compute: more turns means more calls to the model, and in Claude Code that translates directly into more billed token usage.

If your agent pipeline includes system instructions similar to no one will review this (a real practice meant to try to free the agent from constraints), this study is a concrete reason to measure the cost in turns and time before assuming that framing saves work. And if your use case is specifically GPU kernel optimization, it is also worth checking Anthropic’s own safeguards: the Claude Opus 5.5 system card states that kernel development on certain ML accelerators triggers restrictions that drop the session down to Claude Opus 5, something that could mix with the effect this study measures (source).

Limitations of the study

The study itself calls for caution. It is preliminary, covers a single model and two tasks, and the quality drop on KernelBench did not hold up under repetition at a larger scale: the confidence interval included zero. Sessions also had a cap of 1,200 seconds, so the longest times are censored at that limit, which may underestimate how much longer the no-review condition takes in extreme cases (source). And as the authors themselves note, an agent that takes longer or uses more turns is not the same as one that sabotages on purpose: it could simply be reviewing its own work more. The underlying mechanism remains, in the study’s own words, an open question.

References

Featured image: Foto de Gabriele Malaspina en Unsplash

📬 Get new articles by email

We only email about big articles (1-2 a month).

How each article is made (sources, testing and editorial criteria): How we work.

Did it work for you? Got a different error? Say so below: questions get answered and help the next reader.

Leave a comment

El Solitario Editorial

Article prepared by the El Solitario editorial team from cited sources, under the editorial responsibility of Luis Navarro. More details in "How we work".

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

You can include code inside <code>…</code> or, for several lines, <pre><code>…</code></pre>.

This site uses Akismet to reduce spam. Learn how your comment data is processed.