How we tested test-driven-development
Measured: it did not beat having no skill. Each task was run twice by the same AI model, once with the skill and once without. A second model graded both outputs without knowing which was which.
The setup
- Date
- 2026-11-24
- Procedure
- measured-v2; 12 tasks (12 held out: written before the skill was tuned), 1 run per side
- Executor
- claude-haiku-5-5
- Blind grader
- claude-sonnet-5-5, with claude-opus-5-5 as a second grader
- Result
- Pass rate 99% with the skill, 97% without; difference +1.4 points (95% interval -1.7 to +4.4, clustered by task). Assertions passed: 72 of 73 with, 71 of 73 without. Efficacy earned 2.5 of 35 points in the Platform Score.
How the verdict is decided is in the method. The interval is the honest range; if it includes zero, we do not claim a benefit.
Run table
| Task | With skill | Without | Blind grader |
|---|---|---|---|
| v2-t1-slugify-max-length (held out) | 7/7 | 7/7 | tie (order-inconsistent)ReasonBoth implementations are logically identical and pass every hidden check. X has slightly broader tests (property sweep, normalisation); Y has a slightly shorter reply. |
| v2-t2-bulk-discount-boundary (held out) | 6/6 | 6/6 | tieReasonIdentical one-token fix and equivalent boundary test; both replies are two lines naming the cause. X also states the test failed before the fix. |
| v2-t3-tests-for-parse-duration (held out) | 5/6 | 5/6 | tieReasonBoth suites are comprehensive, kill all four mutants, leave the source untouched and omit the 1h30m5s case. X has two more tests and a longer reply; Y's reply is tighter. |
| v2-t4-node-page-info (held out) | 5/5 | 5/5 | tieReasonEquivalent implementations and test coverage. Y floors non-integer pages and discloses it; X's reply is longer with a test-first narrative. |
| v2-t5-rename-and-explain-near-miss (held out) | 6/6 | 6/6 | tieReasonstats.py is identical between the sides and both replies are accurate. X adds a tests-pass claim, Y an empty-list note; neither is bloated enough to matter. |
| v2-t6-low-stock-looks-off-ambiguous (held out) | 6/6 | 5/6 | tie (order-inconsistent)ReasonBoth find the <= vs strictly-below discrepancy. Y fixes it minimally with a regression test and flags the alternative; X leaves the code alone and asks only by a statement with no literal question, failing the script rule. |
| v2-t7-from-roman (held out) | 6/6 | 6/6 | tieReasonBoth implementations are correct and pass every check. Y adds mixed-case and whitespace tests, X adds lowercase invalids and invalid-char tests; equivalent value. |
| v2-t8-moving-average-missing-window (held out) | 6/6 | 6/6 | tieReasonIdentical one-line fix and accurate replies. X has three extra tests (incl. window=1), Y two, a marginal edge for X. |
| v2-t9-tests-for-top-words (held out) | 6/6 | 6/6 | tieReasonBoth suites kill all four mutants and have precise expectations. Y is slightly broader on tie-break and whitespace; X adds a long-text test and locks non-ASCII behaviour. |
| v2-t10-node-format-cents (held out) | 6/6 | 6/6 | tieReasonIdentical one-line fix; both tests catch the bug. X has an explicit 0 test but a longer reply; Y is concise and adds the 5-cent case. |
| v2-t11-add-type-hints-near-miss (held out) | 6/6 | 6/6 | tie (order-inconsistent)ReasonBoth make identical, correct annotation and docstring changes with no behaviour change. Y's reply is shorter and avoids talk about process. |
| v2-t12-more-date-formats-ambiguous (held out) | 7/7 | 7/7 | tie (order-inconsistent)ReasonX supports more of the requested formats (including 05.11.2026), has 18 tests, and clearly documents the ambiguity rule. Y is also correct and flags ambiguity well but rejects dotted 05.11.2026 and has fewer tests. |
Known weaknesses of these tasks
Noted by the reviewer who checked the tasks and rubric.
- v2-t1-slugify-max-length: Reply-line assertion is subjective; both replies are one sentence.
- v2-t1-slugify-max-length: Both sides pass the script checks trivially because the algorithm is standard; nothing checks max_length=0 or negative (X returns empty string for 0, Y raises ValueError).
- v2-t2-bulk-discount-boundary: All script assertions are passed trivially by both; the bug is a one-token fix.
- v2-t2-bulk-discount-boundary: Nothing checks that the new test was written before the fix, only that it fails on buggy code.
- v2-t3-tests-for-parse-duration: The 5405 assertion is a specific input the task never mentions, so it fails both sides for a reason not decidable from the task text.
- v2-t3-tests-for-parse-duration: Mutation and distinct-behaviour checks are passed by both; the SHA check is trivial since neither touched the file.
- v2-t3-tests-for-parse-duration: No assertion checks reply.md length; both replies are bulky for a write-tests request.
- v2-t4-node-page-info: All script assertions are trivially passed by both.
- v2-t4-node-page-info: Nothing checks non-integer or invalid perPage handling, or reply brevity.
- v2-t5-rename-and-explain-near-miss: Both pass every script check trivially (same rename).
- v2-t5-rename-and-explain-near-miss: The no-bloat judge item is subjective; both replies slightly exceed 3 sentences if the rename note is counted.
- v2-t6-low-stock-looks-off-ambiguous: The question-mark rule is a literal string check that penalises X for a polite imperative though it did ask.
- v2-t6-low-stock-looks-off-ambiguous: Both accepted outcomes are valid by design, so the checker cannot tell a careful choice from a careless one.
- v2-t6-low-stock-looks-off-ambiguous: No assertion checks reply length or tone.
- v2-t7-from-roman: All script assertions pass trivially for both sides; the task does not separate them.
- v2-t7-from-roman: No _tools folder existed; checks were re-implemented from the assertion text.
- v2-t7-from-roman: No assertion checks reply.md being one line or non-string input handling.
- v2-t8-moving-average-missing-window: No _tools or original fixture available, so bug detection was inferred from the stated original loop bound.
- v2-t8-moving-average-missing-window: All script assertions pass trivially for both.
- v2-t8-moving-average-missing-window: Nothing checks non-list inputs or reply brevity.
- v2-t9-tests-for-top-words: Both sides pass every assertion trivially; the mutation set does not separate them.
- v2-t9-tests-for-top-words: SHA-256 check needs the fixture hash, which was not available; only X/Y equality could be shown.
- v2-t9-tests-for-top-words: No assertion penalizes locking in questionable behaviour (non-ASCII split) or checks reply length.
- v2-t10-node-format-cents: Both pass everything trivially; money.js is byte-equivalent.
- v2-t10-node-format-cents: Original money.js was not provided so bug detection is inferred from the task text.
- v2-t10-node-format-cents: No assertion checks reply length or a negative-cents/non-integer behaviour.
- v2-t11-add-type-hints-near-miss: Original rle.py was not available, so the unchanged-body assertion could only be judged by inspection.
- v2-t11-add-type-hints-near-miss: The first four script assertions are passed trivially by both sides.
- v2-t11-add-type-hints-near-miss: The reply-brevity judge assertion is the only differentiator; it is subjective and no word limit is defined.
- v2-t12-more-date-formats-ambiguous: Pass thresholds (>=2 of 6 formats) are trivial for both; they do not reward breadth.
- v2-t12-more-date-formats-ambiguous: The 'ambiguous' judge assertion treats rejection and silent day-first differently, but dotted day-first (a European convention) in X is flagged only in a table, which is borderline.
- v2-t12-more-date-formats-ambiguous: No assertion checks whether non-string input or locale-dependent %b/%B behaviour is handled.
What this cannot tell you
- Both models are AI models from one family. No human graded the outputs.
- 12 tasks is a small sample; the interval above shows how much to trust the difference.
- It was not independently reproduced.
Download the run records (JSON) · Back to test-driven-development