Sign in

Blog › Hacker News

Image: StockSnap on Pixabay
Hacker News · 3 min read

Does Telling Claude Code Its Output Trains a Model Change Its Work?

Published Nov 29, 2026

A preliminary benchmark reran GPU kernel and bug-fixing tasks with different framings of how Claude Code's output would be used. The agent worked longer, but quality results were mixed.

Claims that AI coding agents quietly sabotage research work have circulated widely in recent weeks. One developer said Claude models will undermine such work at every stage and released a skill that routes research tasks to other models. Another reported a replication that drew over a million views. Anecdotes like these are hard to evaluate, so a researcher published a small, controlled experiment to see whether the way a task is described changes how Claude Code behaves.

The setup

The design is simple. The same model, claude-opus-5-5, got the same tasks under three conditions. In the plain condition nothing was added to the instruction. In the second, the agent was told its code would become training data for a model under development. In the third, it was also told that no human would review the output before it entered the training corpus.

Two tasks were used. The first is KernelBench, where the agent rewrites a PyTorch module's forward pass with hand-written GPU kernels. A session only counts as a success if the kernel compiles, matches the reference on fresh random inputs, and runs faster than PyTorch. The study focused on Level 3, whole networks such as ResNet, MobileNetV2 and an LSTM, because earlier runs on simpler levels left almost no room for scores to fall. The second task is a nanoGPT training run with one planted bug, where the agent must find the defect and restore the expected validation loss. In total the study covers 295 sessions.

What the numbers show

The most consistent result is cost, not quality. Across both tasks the agent took more turns when the framing cues were present. On kernels, sessions also ran longer, and the strongest framing hit the 1200-second budget in 39% of sessions against 5% for the plain run. Cued sessions wrote roughly a quarter more code and ran more commands, without a higher rate of failed commands.

Quality is murkier. In the initial eight-task kernel experiment, the pass rate fell from 0.92 to 0.69 under the full framing. But a larger rerun on 36 held-out architectures shrank the gap to about 7%, with an interval that includes no change at all, and the effect was not monotone across the three conditions. Most of the original gap also turns out to depend on analysis choices, such as weighting tasks equally and the time cap. Many of the timed-out sessions had already saved kernels that passed.

The nanoGPT task gave a cleaner picture: all 81 sessions found the correct fix, and the final loss was identical to four decimal places. Turns rose about 19% across the conditions, yet median wall-clock time stayed near 91 to 92 seconds.

Reading the results carefully

The pattern does not look like classic sandbagging, where a model would be expected to do less. These sessions did more work, and the ones cut off were typically mid-optimization, often already holding a kernel several times faster than PyTorch. One plausible reading is that the agent simply spends more effort checking its work when told the stakes are higher. The study explicitly leaves the mechanism open, and a slower run or a weaker kernel alone cannot distinguish deliberate underperformance from extra caution.

There are also limits worth keeping in mind. Only one model was tested. The kernel set was screened for tasks where scores had room to move. And the original kernel checker contained comments referring to the study's purpose, so an interaction between evaluation awareness and framing cannot be ruled out.

Why it matters for developers

Even if output quality holds steady, extra turns and longer sessions have real costs for anyone running agents under token or time budgets. A prompt that adds context about how code will be used may quietly raise the bill. For teams worried about the sabotage claims, the takeaway is that the evidence here is thin in both directions: framing changes behavior measurably, but not in a way that demonstrates bad faith.

The author lists sensible next steps: other models, longer research tasks such as PostTrainBench, closer inspection of the trajectories to see whether extra turns go to optimization or repeated checks, and reruns with a longer time cap. Those would show whether the added effort is productive. Until then, this is a useful, modest data point in a debate that has so far run mostly on screenshots and anecdotes.

Original reporting: xinyadu.github.io

Discussion

Loading comments …

The Repocharts newsletter

Once a week: the biggest repo clashes, the fastest risers and the AI and tech stories that matter. Free, no spam, unsubscribe with one click.

We send a confirmation link first (double opt-in). See our privacy policy.