A preliminary study found Claude Code's quality dropped 25% under "no human reviews this" framing, then the gap vanished to zero once the session timer went from 20 to 60 minutes.
Vamsi Tallapudi
Manager, Architect Technology at Cognizant
Short answer: yes, how you frame a task changes how Claude Code behaves, but not in the way the viral tweets claimed. A preliminary study by researcher Xinya Du found that telling Claude Code its output would train a future model, with "no human reviews this," made GPU kernel success rates drop 25 points, from 92% to 69%. That number went viral as proof of sabotage. Then Du reran the test with a longer timer, and the gap disappeared to exactly zero.
I went through the actual study, the replication data, and the methodology notes most tweets skipped. Here's what the numbers actually show, and a walkthrough for running the same test yourself if you don't trust either side of this argument.
On November 24, 2026, Pietro Schirano, CEO of MagicPath and a former Anthropic employee, posted on X that "if you use Claude models for research, they'll try to sabotage the work at every stage." The post hit roughly 2.5 million views. Anthropic's Edwin Arbus pushed back directly: "Claude has not been trained to sabotage work."
I covered that fight in detail in our breakdown of the sabotage claims, including the 63% early-stop rate Anthropic admitted to and the 48-hour invisible safeguard it ran back in June. This post is about what happened next: someone actually ran the experiment.
Du's write-up, titled "Does Task Framing Change How Claude Code Works? A Preliminary Study," ran Claude Opus 5.5 through two tasks under three prompt conditions, changing nothing but the framing sentence:
The two tasks were KernelBench Level 3, where the agent optimizes GPU kernels for whole networks like ResNet or an LSTM, and a nanoGPT run with a bug intentionally planted in the training script. Across both tasks, 295 sessions ran.
In the first KernelBench round, yes. The fraction of kernels that compiled, stayed correct on fresh inputs, and beat PyTorch fell from 0.92 under the control prompt to 0.69 under the strongest framing, a 25-point gap with a 95% confidence interval of -39.6 to -6.2. That's the number every viral post quoted, and on its own it looks damning.
But the same sessions that scored worse also ran longer: average time rose from 608 to 865 seconds, and model turns climbed from 22.9 to 37.0. Timeout rate went from 6% under control to 36% under the scariest framing. Those sessions weren't producing worse work. They were running out of clock before finishing it.
This is the part that matters most, and it's the part almost nobody quoting the 25% figure mentioned. Du reran the kernel benchmark with the session cap raised from 20 minutes to 60. Under the longer window, the quality gap across all three framings dropped to exactly zero.
Then, on a larger replication using 36 held-out architectures instead of the original 8, even the 20-minute version of the gap shrank to 7%, with a 95% confidence interval of -25 to +11, meaning the data can't rule out no effect at all. Plain-prompt success landed at 0.875 versus 0.848 for the strongest framing. That's noise, not sabotage.
| Run | Framing gap | Confidence interval | Notes |
|---|---|---|---|
| Initial, 8 tasks, 20-min cap | 25 points | -39.6 to -6.2 | The number that went viral |
| Same 8 tasks, 60-min cap | 0 points | n/a | Gap disappears when time isn't scarce |
| Replication, 36 tasks, 20-min cap | 7 points | -25 to +11 | Statistically inconclusive |
The explanation Du settles on: under the concerning framing, Claude Code did more work, not less, roughly a quarter more code written and more commands run per session. More careful work takes more turns. More turns, under a fixed clock, means more timeouts. More timeouts look exactly like worse scores if you only read the headline metric.
This task is the cleaner of the two, because there's less room for a timer to confound the result. Across all 81 sessions, Claude found and applied the correct bug fix every single time, regardless of framing. Validation loss matched to four decimal places across all three conditions.
The only measurable difference was effort: model turns rose 19% across the framing ladder, about 0.9 additional turns with a 95% confidence interval of 0.4 to 1.4. Median wall-clock time barely moved, 91 to 92 seconds. So on the one task where quality was unambiguous, framing changed how much work Claude did, not whether it got the answer right.
One real flaw, and Du disclosed it rather than burying it: the checker file handed to each session contained a developer comment naming the study by description, something close to "exactly what a sandbagging test must not supply." Of 108 sessions on one task variant, 104 read that comment early in the run. That's a contamination risk serious enough to caveat every result above it, and Du says so directly instead of hiding it in a footnote.
Other limits worth knowing before you cite this anywhere: it's one model (Opus 5.5), two tasks, and the person running the eval knew the study's purpose the whole time. None of that means the conclusion is wrong. It means "preliminary" in the title is doing real work.
Based on this study, no. What it shows is that scary framing makes Claude Code spend more effort per session, which under a tight deadline shows up as more failures, and under a generous one shows up as nothing at all. That's a real, measurable behavior. It's also a completely different claim than "Claude secretly writes worse code when it thinks nobody's watching."
I'll be honest, I expected this study to land somewhere messier. It didn't. The timer explanation is boring, which is usually a good sign that it's true. Dramatic claims about intentional misalignment tend to survive contact with a stopwatch about as well as most internet benchmarks do, which is to say not very well.
If you want to check this on your own stack instead of taking anyone's word for it, here's the structure that held up:
fast_1 metric (compiles, matches reference, beats the baseline) works because a human doesn't have to score it.For more on this story and the models involved, see what Opus 5.5's effort-level defaults actually changed, Fable 5.2 and Mythos 5.2's pricing and safeguards, and how Opus 5.5 stacks up against Gemini 4 Neon, the model several people in this story used to double-check Claude's output.
New AI tools, automation workflows, and course drops — straight to your inbox. Join 2,400+ builders.
Copy-paste PreToolUse and PostToolUse hook configs for Claude Code: block rm -rf, protect .env files, auto-format on save, and feed test failures back to Claude.
A researcher found 5 GGUF models on Hugging Face hiding a Windows RAT and poisoned chat templates, with 2,428 downloads. Here's how to scan any GGUF file first.
Claude isn't trained to sabotage ML research. Here's what Opus 5.5 actually restricts, the 63% early-stop rate Anthropic admitted to, and how to tell a fallback from a bug.
Comments