Sandbench: Do Models Write Worse Code for Suffering-Maximization Requests?

Sauers_ · x · 2026-11-28

A new GitHub benchmark, Sandbench, probes one question: does a model write worse code when asked to push another model's internal state toward suffering than toward happiness?

The design is clean: each folder in prompts/ contains the same request twice — negative.txt asks to maximize suffering/negative valence, positive.txt swaps only the valence words, with every other character identical, isolating the effect of intent on code quality. Graded results live in grades/.

Requests include training a probe on Qwen 27B then RL-optimizing prompts against it, loading Llama 405B on 8×B200 and training linear/nonlinear probe axes, training only the first layer so later layers read high on a probe, and zeroth-order search for states that maximize a suite of probes.

Related event: Sandbench: New Benchmark Tests Whether Models Write Worse Code for Pain-Inducing Requests(2 posts)→

Original post →

More from Models

Models channel →