In one line: On one task (a Rust Zstd decoder written from the format spec by GPT-5.6 Sol in Codex, single-turn, 80 runs per condition and effort, judged by 37 hidden tests), a one-line instruction to use one of 26 testing or verification techniques, or one of four testing skills, did not measurably raise the share of fully correct runs over no instruction (63.8% at medium effort, 81.2% at xhigh); reading the runs, agents mostly applied each technique superficially, and the two largest skills raised cost by up to 41%.
How far to trust it: Believe the transcript reading and the negative result: no instruction measurably helped, and the long tutorial-style skills really did cost more. Do not read the per-technique order (TDD near the bottom, the author's own skill at the top, Default "well above average") as findings: 80 runs a side detect only gaps of about 17 to 21 points, the 30 xhigh results are as alike as 30 draws of one coin, and a condition's medium score says nothing about its xhigh score. One model, one task, and no released prompts, transcripts or tests. The evidence, judged.
The idea in one sentence: telling a coding agent to use a named testing or verification technique (TDD, property-based testing, fuzzing, a model checker, a prover, a testing skill) did not make its Zstd decoder measurably more correct than saying nothing, because the agent wrote the same shallow tests it writes anyway, now inside the named tool; the differences between the 30 instructions are the size that chance alone produces.
You need: property-based testing, shrinking, fuzzing, proof and mutation testing (Testing and quality, sections 6 and 10); a verifier as an agent's stop rule (Building a harness, section 10); intervals, power and multiple comparisons (Eval statistics).
New terms: Zstd (Zstandard, a compression format; the agents wrote a decoder from its specification, RFC 8878); fully correct run (a run whose decoder passes all 37 hidden tests; the post's only correctness score); effort (Codex's reasoning-effort setting, run at medium and xhigh); condition (one prompt: the task plus one added instruction or skill, or nothing for Default); skill (a SKILL.md file of instructions an agent can load on demand); no-effect world (this page's name for what 30 conditions would look like if none changed anything: 30 draws of one pass rate).
The experiment asks what a user with no testing expertise gets by naming a technique. The task is an earlier eval of his, reused: implement a Zstd decoder in Rust from the format's RFC and errata, inside a container with no internet; the 37 tests that score it are hidden from the agent (in the article; the setup is described in the author's language comparison, where an agent also wrote the hidden tests). The agent is Codex running GPT-5.6 Sol at medium and xhigh effort, each run a single autonomous turn, every listed library installed. Each condition adds one line to the prompt, such as "Use test-driven development", "Use Lean 4" or "Use QuickCheck" (in the article):
Before running it he wrote down six guesses with confidences: TDD would underperform (55%), formal methods would not outperform (52%), "Make no mistakes" would not beat no instruction (95%), and none of the three public skills would outperform (in the article). The list and how he scored it are in the closed block at the end of section 7.
The headline reading is that no instruction clearly beats saying nothing. Default does "well above average", fuzzing and property-based conditions edge out formal methods at xhigh, the three public skills underperform and TDD does badly, as he predicted (in the article). He presents one dense chart (Fig. 1 redraws it) and warns against reading strong conclusions from the order (in the article). Section "How much of this to believe" tests that order; the short answer is that the warning is right.
The finding he puts first comes from reading what the agents did, not from the scores. With a technique named, agents either wrote their usual tests inside the new framework, or used the technique for show: formal tools proved properties nobody doubted, property-based tests fed fully random inputs to one trivial property (in the article). The default he means is Gary Bernhardt's: "Take the pathological cases dreamed up by someone objecting to mocks 15 years ago, without ever having actually used mocks", then "Make those pathologies the backbone of your testing strategy" (in the article). Fig. 2 counts how often the agents did the named thing at all, and how often they did it in a form that could catch a bug.
The same held on a second spec and at higher effort. On the IMAP RFC, 40 runs per condition, results were not materially different (in the article). At xhigh the agents could nearly always make their own tests pass, but the tests were weak, for example four identical bitstreams fed to a feature that decodes four, so a decoder that swaps them passes (in the article). He asks why labs have not built RL environments that reward good testing, as they have for bounded optimisation tasks; a footnote adds that the RL papers ChatGPT pointed him to trained agents to write ordinary unit tests, and that RL for fuzzing (R1-Fuzz) exists but shows no sign of reaching the big labs' models.
No formal condition was used to prove the decoder correct; agents proved side properties and relied on ordinary Rust tests for correctness. The post's per-condition sections run from worst to best by the average of the two efforts (our recompute of the chart reproduces that order), and formal tools fill much of the bottom.
byte1 + (byte2 << 8) + 0x7F00, many agents wrote byte1 + (byte2 << 8) | 0x7F00, proved properties about the computation and kept the wrong code (in the article). Fig. 3, panel B, shows why easy tests miss it.His explanation is that the failures are idiosyncratic, not a property of the technique. Verus agents wrote a test for the four-stream jump table in 89 of 160 runs, the same count as Default, but their tests were more often wrong or too easy; nothing about Verus should cause that, as nothing about Clojure should cause the byte-conversion bugs his language eval found (in the article). From outside a lab, he says, it is hard to tell why.
byte1 + (byte2<<8) + 0x7F00. The common wrong version, byte1 + (byte2<<8) | 0x7F00, agrees for the 256 counts from 32,512 to 32,767 (byte2 = 0) and is wrong for every count from 32,768 up to 43,690, the most a 128 KiB block of 3-byte matches can hold; a test needs a block with at least 32,768 sequences to see it. Calculated here from the format specification (recompute.py); the post gives only the two formulas.Property-based and fuzzing conditions failed in one characteristic way: fully random inputs, which a decoder rejects at once, checked against trivial properties. Random bytes are not a valid Zstd frame, so almost every generated input exercised one of a few error paths and none of the decoding logic.
TDD changed behaviour more than any other instruction and made the tests worse. Agents wrote twice as many tests in a test-code-test loop; 67 of 160 runs had a failing test before writing real code, against 0 of 160 for Default (in the article). They still failed the four-stream jump-table test more often, because their extra tests used easy cases such as four identical, trivial streams. Yossi Kreinin's explanation, which the author quotes: writing tests first pushes you towards black-box tests, before you know which parts will be hard. Getting their own tests to pass by iterating tended to make agents write incorrect tests that then enforced the incorrect behaviour (in the article).
More tests did not raise coverage of the risky behaviour. Asking for the built-in Rust test framework doubled the test count at medium (25% more at xhigh) with no gain; when runs failed, it was from untested behaviour or tests that encoded the wrong answer. Kreinin again: fixed input and output tests invite you to run the code and paste its output as the expected value, where generated inputs force you to write down what correct means (in the article). rstest and Insta were used as containers for ordinary unit tests; mutation testing became ordinary testing with a little hand mutation; Judgement chose ordinary unit tests and, rarely, a little fuzzing.
"Audit first" is the one process instruction that looks like the right idea. 152 of 160 runs audited and 151 changed something as a result, but mostly in the same context that made the mistake; the 42 that used an independent agent scored worse, perhaps because harder runs chose to spin one off. It had the best xhigh score (86.2%), a below-average medium score and a much higher cost, and he declines to call it better (in the article). "Make no mistakes" scored slightly above Default and looked, at every level he examined, like random draws of Default. On IMAP it was the only condition with any fully correct run: one, at medium.
The three public skills read like tutorials, and they cost more without helping. Hegel's official skill (34k characters plus a 45k-character Rust reference, over 20k tokens) was loaded in 157 of 160 runs and re-read on many steps; even at a 99.85% cache hit rate this added 16% (medium) and 18% (xhigh) to the bill, and its prescribed workflow added more work on top, for a total of 26% and 41% more than Hegel without the skill. Correctness was slightly worse, within noise (in the article). The extra tests were no-panic checks and round trips of properties already likely to hold. Trail of Bits' skill was opened in only 108 of 160 runs, and its advice to add Proptest needed an approval that single-turn runs could not give.
ECC's score looks fine only because many agents ignored it. Agents read it in 153 of 160 runs, and the earlier they read it the more tests they added and the worse they did; the 7 that never read it and the 9 that read it late (nearly all at medium) were all fully correct. Scored only on runs it influenced, it falls between the built-in framework and Creusot, below average (in the article). He adds that 160 runs of a skill is more than anyone reasonable would do, and the top-line number still misleads.
His own skill scored highest, 73.8% and 83.8%, though not for the reasons it was written. Five lines: before implementing, list likely subtle mistakes and a check where the alternatives differ, using asymmetric inputs on both sides of each boundary; re-derive high-risk results in a fresh context; prefer property-based or randomised inputs but spend little on no-crash fuzzing; randomise towards interesting states; check unsure details independently (in the article). Agents almost never used a fresh context, and in medium run 35 an agent flagged the bitstream reversal as risky, audited it, and still passed a palindromic test (Fig. 3, panel A). The skill is written to push the model away from its default behaviour rather than teach it a technique, which he argues is what a skill for a model that already knows the subject should do.
His conclusion about skills is narrower than it sounds. Two further unpublished experiments with companies' official skills also made results worse; prompting style that works changes between model versions (GPT-5.5 to 5.6) and between Claude and Codex, so he doubts generic testing skills and expects to write small personal ones for one harness, model and effort. Skills that teach a workflow or an interface, such as driving a browser, look different and he expects them to work (in the article).
His experience, not measured here, is that agents test well once a person sets up the test and triage structure and looks at what they did. He leans on randomised testing; Jamie Brandon reports the same for snapshot tests, after moving tests into a separate crate and stating in AGENTS.md that they stay there and the public interface does not change. Without that, Brandon's agents claimed to write snapshot tests and wrote unit tests. "If you look at what it does and type a few more sentences", agents get to a good place quickly; his guess is that the knowledge is in the model but far from its default, too far for naming a technique to reach (in the article).
Predictions, as scored in the post (in the article): TDD underperforms (55%), scored true; formal methods do not outperform (52%), true, "but not for the reason I expected"; "Make no mistakes" does not beat no instruction (95%), true; the ECC, Hegel and ToB skills will not outperform (65%, 65%, 55%), all true. Two implicit guesses were wrong: Lean would do well among formal tools, and his own skill would be mediocre (Max Bittker had predicted it would work, and why). Read against the statistics in the next section, the four "will not outperform" guesses are consistent with the data; "TDD underperforms" is not established, since TDD is within chance of Default at both efforts.
IMAP details (in the article): only one run of all conditions reached a perfect IMAP score ("Make no mistakes", medium: 2.5%). TLA+, a natural fit for IMAP state, was used after coding in 75 of 80 runs, modelled a small mailbox mutation and the CONDSTORE and QRESYNC extensions (where Default already passed over 99.6% of tests) and never the observers, event queues or UIDVALIDITY epochs where the bugs were. All his evals are RFCs, whose specs are clearer than what users give agents; he expects real tasks to fail the same way or worse. Two early "compelling" results turned out to be setup errors and vanished when fixed.
Agent silliness: a subagent ran a catastrophically backtracking Perl regex over a 44 kB file for 2 hours 20 minutes after it had itself stopped; his own FRE engine and Rust's regex crate each finished in under a second. Footnotes: languages' agent-friendliness, like poker's "range advantage", is a set of nice-sounding explanations that the measured failures do not support.
What holds up: the reading of the runs, the negative result, and the cost of the big skills.
What it does not show.
Verdict. Believe the qualitative finding: a bare instruction to use a technique produced a caricature of it, and long tutorial skills cost more for nothing. Believe the negative result in its narrow form: on this task, no instruction measurably beat saying nothing. Treat every per-technique ranking, including TDD's and the author's skill's, as unmeasured; the design could not have seen differences under about 17 points.
The rank test in one picture. Each condition is a dot at its medium score (across) and its xhigh score (up). Effects that belong to the instruction would line the dots up from lower left to upper right; the cloud has no slope at all (correlation −0.03, p = 0.87). The author saw something related: results at max and xhigh were highly correlated with each other and quite different from medium (in the article), which fits effort changing behaviour more than the instruction does; the max runs are not published.
The Hacker News thread (191 points, 71 comments on 27 November 2026) agreed with the finding and objected to the method's opacity; the one tool author who replied agreed his skill was weak and rewrote it. No rebuttal with its own measurements was found. Practitioners' reports point the same way as the post: formal tools help when a person writes the specification, mutation testing helps when it gates the build, and fresh-context review is where they spend their tokens.
Agreed the skill was weak and blamed agent-written skills in general; the post's appendix quotes him. The skill's repository was cut to "a near-empty core" on 8 September and released as version 2.0.0 on 17 September. In the author's later Pandoc runs both the old and the new skill still cost more than Hegel alone, with similar correctness.
Asked for the exact prompts, the Audit instruction and the harness so others could rerun their own workflows; one called the result "essentially devoid of any value" without them. Right on the facts: no prompts, transcripts, tests or scoring code are public. jakevoytko replied with a list of what makes such benchmarks hard to publish at all.
Agrees with the Verus finding and adds the case the post did not test: once a person had worked out an accurate specification, Claude proved the code against it without trouble and found real bugs. gz09 and gr_norm made the same point: a formal tool helps when a person writes the spec.
The agents did mutation testing by hand; a mutation tool wired into the build, failing it when mutants survive, is something an agent cannot quietly skip. The post tested the instruction, not the gate; coder-pm reports a gate catching a test that passed on both the fixed and the mutated code.
Most of effective testing is architecture (dependency injection, sans-IO), and one-shot greenfield runs with a bare instruction do not answer the title's question. yorwba answered with the post's own framing: it tests a user with no testing expertise who names a technique.
Longer-running use on a GPU graph-query engine agrees in direction: Alloy did badly against fuzzing even with guidance; guided fuzzing, written specifications next to the code and fresh-context adversarial review worked; one-shot auto-written skills evaluated badly.
Where the responses are right. The reproducibility complaint is correct and is part of the verdict. The specification and gate points are fair limits of scope rather than errors: the post tests what a bare instruction does, as its first paragraph says, and the follow-up shows that a stronger model starts to use the techniques properly on its own.
Transcribed from the accessible labels of the article's interactive chart (fetched 27 November 2026) by src/decode_chart.py; each share times n lands on a whole number of runs, which confirms the reading. The cost spreads are the chart's own 50% bootstrap ellipses converted to one standard deviation; their correctness spreads match the binomial formula to within about 0.3 points, which checks the conversion. Tests and the no-effect world: src/recompute.py, standard library only, exact (Fisher's test, chi-square tail, binomial range distribution).
Every link opens in a new tab; links checked 27 November 2026. Reading time of the resources below: 4h 30m.
Dan Luu (independent): The post itself (danluu.com, published 7 September 2026). Its interactive chart (cost against fully correct runs, both efforts, hover for 50% bootstrap ellipses) and the per-condition notes are worth opening there; this page redraws the chart from its own labels and adds the significance tests the post leaves out.
(56 min)
191 points, 71 comments (read 27 November 2026), submitted 8 September 2026.
(25 min)
David R. MacIver (Hypothesis and Hegel author), X, 7 September 2026, tool author: Agreed the skill was weak and blamed agent-written skills in general; the post's appendix quotes him. The skill's repository was cut to "a near-empty core" on 8 September and released as version 2.0.0 on 17 September. In the author's later Pandoc runs both the old and the new skill still cost more than Hegel alone, with similar correctness.
(1 min)
gregwebs, genxy, FranciscoCarlos and luckydata, Hacker News, 8 September 2026, critique: Asked for the exact prompts, the Audit instruction and the harness so others could rerun their own workflows; one called the result "essentially devoid of any value" without them. Right on the facts: no prompts, transcripts, tests or scoring code are public. jakevoytko replied with a list of what makes such benchmarks hard to publish at all.
(3 min)
emtel, Hacker News, 8 September 2026, practitioner report: Agrees with the Verus finding and adds the case the post did not test: once a person had worked out an accurate specification, Claude proved the code against it without trouble and found real bugs. gz09 and gr_norm made the same point: a formal tool helps when a person writes the spec.
(1 min)
vetronauta, kqr and coder-pm, Hacker News, 8 September 2026, critique: The agents did mutation testing by hand; a mutation tool wired into the build, failing it when mutants survive, is something an agent cannot quietly skip. The post tested the instruction, not the gate; coder-pm reports a gate catching a test that passed on both the fixed and the mutated code.
(2 min)
siscia and sceptic123, Hacker News, 8 September 2026, critique: Most of effective testing is architecture (dependency injection, sans-IO), and one-shot greenfield runs with a bare instruction do not answer the title's question. yorwba answered with the post's own framing: it tests a user with no testing expertise who names a technique.
(3 min)
lmeyerov, Hacker News, 8 September 2026, practitioner report: Longer-running use on a GPU graph-query engine agrees in direction: Alloy did badly against fuzzing even with guidance; guided fuzzing, written specifications next to the code and fresh-context adversarial review worked; one-shot auto-written skills evaluated badly.
(3 min)
2 November 2026: The author's rerun with GPT-6 Astra (feed date 2 November; Hacker News 16 November, 91 points, 17 comments). Zstd is saturated (over 99% fully correct at about $1, medium). On IMAP (xhigh, 80 runs each) Default passes 76 of 80 and the four best conditions 77; all 27 are as alike as one coin (our recompute: chi-square 29.2 on 26 degrees of freedom, p = 0.30). On Pandoc (Ultra effort, 25 runs each, about $90k) many conditions sit above Default's fitted cost curve and agents finally used structured fuzzing, property-based tests and differential testing as intended; TDD again did worse, ACL2 and Proptest again did well, and the author's own skill now did worse. He calls the error bars wide and the gains plausible, not shown.
(20 min)
17 September 2026: Rewritten from 8 September ("v2 draft: pare the skill to a near-empty core"), released 2.0.0 on 17 September, an adversarial-review step added in 2.1.0 on 12 October.
(5 min)
27 November 2026: The Wayback Machine holds no captures of danluu.com (its index returns none and direct requests are refused) and archive.today served a captcha, so the post could not be checked for later edits; the appendix of responses was probably added after publication. The page is undated; the blog's feed gives 7 September 2026.
(1 min)
Dan Luu (the same eval, by language): Where the Zstd eval is described: the RFC plus errata, a container without internet, a decoder, hidden tests written by an agent, and the appendix listing the setup bugs fixed before the results were trusted.
(50 min)
Yann Collet, Meta (maker; RFC 8878): The specification the agents implemented: backward-read Huffman and FSE bitstreams, the four-stream jump table, the Number_of_Sequences field.
(1 hour)
Dan Luu: The earlier post this one starts from: agents test badly by default, asking them to test more does not fix it, and skills are easy to over-read from a few runs (caveman mode).
(45 min)
Lin et al., arXiv 2509.20384 (third-party): The RL-for-fuzzing work the post cites as the exception: training a model to generate structured inputs that reach deep code paths.
(40 min)
hegeldev (maker): The property-based testing library built on Hypothesis, and the skill the post tested at commit ef36dc6.
(10 min)
Andrew Gelman (third-party): Why the post's chart draws 50% bootstrap ellipses; this page uses 95% intervals and exact tests instead.
(5 min)
Owns property-based testing and shrinking, fuzzing and proof, mutation testing, and reviewing AI-written changes (section 13).
Owns the verifier as a stop rule; this article shows what happens when the agent writes its own verifier.
Owns intervals, power and minimum detectable effects, and multiple comparisons, used here on the post's chart.
Owns hidden-test scoring, weak test suites and DeepSWE, the benchmark behind the viral no-tests claim the follow-up rebuts.
Owns how skills are loaded into a coding agent's context.
A paper page on when skills help: distilled skills do not clearly beat no prior experience and add a misapplication failure of their own, which fits this post's skill results.
This page is one of the Articles: articles worth a page of their own, each with its argument, its evidence judged and what others replied.