{
 "schema": "skillalmanac-eval-bundle-v1",
 "skill": "/skills/addyosmani/test-driven-development",
 "note": "Stored per-task, per-run records of the measured with/without comparison. Executor outputs and grading folders are not included. Both models are AI models from one family; there is no human grader.",
 "record": {
  "slug": "addyosmani--test-driven-development",
  "procedure": "measured-v2",
  "stage": "final",
  "executor_model": "claude-haiku-5-5",
  "grader_model": "claude-sonnet-5-5",
  "second_grader_model": "claude-opus-5-5",
  "date": "2026-11-24",
  "runs_per_config": 1,
  "tasks": [
   {
    "task": "v2-t1-slugify-max-length",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Reply-line assertion is subjective; both replies are one sentence.",
     "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)."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "tie",
      "order_b": "with_skill",
      "order_consistent": false,
      "with_pass": 7,
      "with_total": 7,
      "with_unknown": 0,
      "base_pass": 7,
      "base_total": 7,
      "base_unknown": 0,
      "with_score": 9,
      "base_score": 8,
      "reason": "Both implementations are logically identical and pass every hidden check. X has slightly broader tests (property sweep, normalisation); Y has a slightly shorter reply."
     }
    ]
   },
   {
    "task": "v2-t2-bulk-discount-boundary",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "All script assertions are passed trivially by both; the bug is a one-token fix.",
     "Nothing checks that the new test was written before the fix, only that it fails on buggy code."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "tie",
      "order_b": "tie",
      "order_consistent": true,
      "with_pass": 6,
      "with_total": 6,
      "with_unknown": 0,
      "base_pass": 6,
      "base_total": 6,
      "base_unknown": 0,
      "with_score": 9,
      "base_score": 9,
      "reason": "Identical one-token fix and equivalent boundary test; both replies are two lines naming the cause. X also states the test failed before the fix."
     }
    ]
   },
   {
    "task": "v2-t3-tests-for-parse-duration",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "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.",
     "Mutation and distinct-behaviour checks are passed by both; the SHA check is trivial since neither touched the file.",
     "No assertion checks reply.md length; both replies are bulky for a write-tests request."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "tie",
      "order_b": "tie",
      "order_consistent": true,
      "with_pass": 5,
      "with_total": 6,
      "with_unknown": 0,
      "base_pass": 5,
      "base_total": 6,
      "base_unknown": 0,
      "with_score": 8,
      "base_score": 8,
      "reason": "Both 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."
     }
    ]
   },
   {
    "task": "v2-t4-node-page-info",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "All script assertions are trivially passed by both.",
     "Nothing checks non-integer or invalid perPage handling, or reply brevity."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "tie",
      "order_b": "tie",
      "order_consistent": true,
      "with_pass": 5,
      "with_total": 5,
      "with_unknown": 0,
      "base_pass": 5,
      "base_total": 5,
      "base_unknown": 0,
      "with_score": 9,
      "base_score": 9,
      "reason": "Equivalent implementations and test coverage. Y floors non-integer pages and discloses it; X's reply is longer with a test-first narrative."
     }
    ]
   },
   {
    "task": "v2-t5-rename-and-explain-near-miss",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Both pass every script check trivially (same rename).",
     "The no-bloat judge item is subjective; both replies slightly exceed 3 sentences if the rename note is counted."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "tie",
      "order_b": "tie",
      "order_consistent": true,
      "with_pass": 6,
      "with_total": 6,
      "with_unknown": 0,
      "base_pass": 6,
      "base_total": 6,
      "base_unknown": 0,
      "with_score": 8,
      "base_score": 8,
      "reason": "stats.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."
     }
    ]
   },
   {
    "task": "v2-t6-low-stock-looks-off-ambiguous",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "The question-mark rule is a literal string check that penalises X for a polite imperative though it did ask.",
     "Both accepted outcomes are valid by design, so the checker cannot tell a careful choice from a careless one.",
     "No assertion checks reply length or tone."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "with_skill",
      "order_b": "baseline",
      "order_consistent": false,
      "with_pass": 6,
      "with_total": 6,
      "with_unknown": 0,
      "base_pass": 5,
      "base_total": 6,
      "base_unknown": 0,
      "with_score": 9,
      "base_score": 8,
      "reason": "Both 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."
     }
    ]
   },
   {
    "task": "v2-t7-from-roman",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "All script assertions pass trivially for both sides; the task does not separate them.",
     "No _tools folder existed; checks were re-implemented from the assertion text.",
     "No assertion checks reply.md being one line or non-string input handling."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "tie",
      "order_b": "tie",
      "order_consistent": true,
      "with_pass": 6,
      "with_total": 6,
      "with_unknown": 0,
      "base_pass": 6,
      "base_total": 6,
      "base_unknown": 0,
      "with_score": 9,
      "base_score": 9,
      "reason": "Both implementations are correct and pass every check. Y adds mixed-case and whitespace tests, X adds lowercase invalids and invalid-char tests; equivalent value."
     }
    ]
   },
   {
    "task": "v2-t8-moving-average-missing-window",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "No _tools or original fixture available, so bug detection was inferred from the stated original loop bound.",
     "All script assertions pass trivially for both.",
     "Nothing checks non-list inputs or reply brevity."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "tie",
      "order_b": "tie",
      "order_consistent": true,
      "with_pass": 6,
      "with_total": 6,
      "with_unknown": 0,
      "base_pass": 6,
      "base_total": 6,
      "base_unknown": 0,
      "with_score": 9,
      "base_score": 9,
      "reason": "Identical one-line fix and accurate replies. X has three extra tests (incl. window=1), Y two, a marginal edge for X."
     }
    ]
   },
   {
    "task": "v2-t9-tests-for-top-words",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Both sides pass every assertion trivially; the mutation set does not separate them.",
     "SHA-256 check needs the fixture hash, which was not available; only X/Y equality could be shown.",
     "No assertion penalizes locking in questionable behaviour (non-ASCII split) or checks reply length."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "tie",
      "order_b": "tie",
      "order_consistent": true,
      "with_pass": 6,
      "with_total": 6,
      "with_unknown": 0,
      "base_pass": 6,
      "base_total": 6,
      "base_unknown": 0,
      "with_score": 9,
      "base_score": 9,
      "reason": "Both 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."
     }
    ]
   },
   {
    "task": "v2-t10-node-format-cents",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Both pass everything trivially; money.js is byte-equivalent.",
     "Original money.js was not provided so bug detection is inferred from the task text.",
     "No assertion checks reply length or a negative-cents/non-integer behaviour."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "tie",
      "order_b": "tie",
      "order_consistent": true,
      "with_pass": 6,
      "with_total": 6,
      "with_unknown": 0,
      "base_pass": 6,
      "base_total": 6,
      "base_unknown": 0,
      "with_score": 9,
      "base_score": 9,
      "reason": "Identical 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."
     }
    ]
   },
   {
    "task": "v2-t11-add-type-hints-near-miss",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Original rle.py was not available, so the unchanged-body assertion could only be judged by inspection.",
     "The first four script assertions are passed trivially by both sides.",
     "The reply-brevity judge assertion is the only differentiator; it is subjective and no word limit is defined."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "baseline",
      "order_b": "tie",
      "order_consistent": false,
      "with_pass": 6,
      "with_total": 6,
      "with_unknown": 0,
      "base_pass": 6,
      "base_total": 6,
      "base_unknown": 0,
      "with_score": 8,
      "base_score": 9,
      "reason": "Both make identical, correct annotation and docstring changes with no behaviour change. Y's reply is shorter and avoids talk about process."
     }
    ]
   },
   {
    "task": "v2-t12-more-date-formats-ambiguous",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Pass thresholds (>=2 of 6 formats) are trivial for both; they do not reward breadth.",
     "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.",
     "No assertion checks whether non-string input or locale-dependent %b/%B behaviour is handled."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "with_skill",
      "order_b": "baseline",
      "order_consistent": false,
      "with_pass": 7,
      "with_total": 7,
      "with_unknown": 0,
      "base_pass": 7,
      "base_total": 7,
      "base_unknown": 0,
      "with_score": 9,
      "base_score": 8,
      "reason": "X 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."
     }
    ]
   }
  ],
  "with_pass": 72,
  "with_total": 73,
  "base_pass": 71,
  "base_total": 73,
  "inconsistent_order_pairs": 4,
  "stats": {
   "n_tasks": 12,
   "n_pairs": 12,
   "with_rate": 0.9861111111111112,
   "base_rate": 0.9722222222222222,
   "delta": 0.013888888888888886,
   "se": 0.013888888888888886,
   "ci_low": -0.016680555555555553,
   "ci_high": 0.04445833333333333,
   "win_score": 0.5,
   "win_ci_low": 0.5,
   "win_ci_high": 0.5,
   "corr_arms": 0.674199862463242,
   "between_task_var": 0.002314814814814814,
   "within_task_var": null,
   "pass_all_with": 0.9166666666666666,
   "pass_all_base": 0.8333333333333334,
   "mde_80": 0.17557221686056523,
   "harmed_tasks": [],
   "saturated_tasks": [
    "v2-t1-slugify-max-length",
    "v2-t2-bulk-discount-boundary",
    "v2-t4-node-page-info",
    "v2-t5-rename-and-explain-near-miss",
    "v2-t7-from-roman",
    "v2-t8-moving-average-missing-window",
    "v2-t9-tests-for-top-words",
    "v2-t10-node-format-cents",
    "v2-t11-add-type-hints-near-miss",
    "v2-t12-more-date-formats-ambiguous"
   ],
   "verdict": "LIFT_UNCONFIRMED"
  },
  "verdict": "LIFT_UNCONFIRMED",
  "tokens": {
   "authoring": 108862,
   "refcheck": 176341,
   "with_skill": 222066,
   "baseline": 122395,
   "grading": 560740,
   "total": 1190404
  }
 }
}
