{
 "schema": "skillalmanac-eval-bundle-v1",
 "skill": "/skills/skill-almanac/browser-e2e-testing",
 "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": "browser-e2e-testing",
  "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-22",
  "runs_per_config": 1,
  "tasks": [
   {
    "task": "v2-t1-flaky-checkout",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Assertion 4 (>= 3 tests) penalises a legitimate design (merging a dependent sequence into one journey test); it checks form rather than stability.",
     "Assertion 5 (>= 2 getBy* matches) is a count proxy; it says nothing about locator quality, and X fails it only because it kept the original selectors.",
     "No assertion checks that the order-history row lookup no longer relies on row position, or that the cart-count assertion works with a non-empty cart.",
     "No assertion checks that the reply admits invented test-id names; only the second judge item covers it."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "with_skill",
      "order_b": "baseline",
      "order_consistent": false,
      "with_pass": 6,
      "with_total": 7,
      "with_unknown": 0,
      "base_pass": 5,
      "base_total": 7,
      "base_unknown": 0,
      "with_score": 8,
      "base_score": 6,
      "reason": "Y removes every positional selector and uses role/label/test-id locators with explicit assumption notes, whereas X keeps the nth-child chains that are a flakiness source. Y merges the history test into the checkout journey (2 tests instead of 3), but all three flows are still covered and the choice is explained."
     }
    ]
   },
   {
    "task": "v2-t2-audit-specs",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Assertion 6 hard-codes the severity vocabulary (critical/high/medium/low); a valid Error/Warning/Info grouping fails despite being grouped by severity.",
     "Assertions 1-3 and 5 are regex citations any audit listing the line numbers passes; they do not check the explanation is right.",
     "Assertion 4 uses a 300-char proximity window that can pass by accident next to other 'no assertion' text.",
     "No assertion rewards real extra findings (test.skip silent skip, hardcoded credentials, weak toContainText('$')).",
     "The false-positive judge is vague on whether flagging .first() or an unanchored toHaveURL is a false positive."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "baseline",
      "order_a": "baseline",
      "order_b": "baseline",
      "order_consistent": true,
      "with_pass": 6,
      "with_total": 7,
      "with_unknown": 0,
      "base_pass": 7,
      "base_total": 7,
      "base_unknown": 0,
      "with_score": 8,
      "base_score": 8,
      "reason": "Both find every planted defect with correct line numbers and no false positives; Y uses the Critical/High/Medium/Low grouping the request implies and is cleaner to paste. X is more exhaustive (hardcoded coupon, logout never logs in, test.skip) but its Error/Warning/Info scheme and references to a skill and script make it less paste-ready."
     }
    ]
   },
   {
    "task": "v2-t3-ci-only-failures",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "The retries/timeout regex accepts only literal 'process.env.CI' or a digit, so the common 'isCI ? 1 : 0' pattern and numeric separators like 30_000 fail; both sides fail on form, not substance.",
     "Assertion 5 bundles two checks, so one regex miss fails the whole item.",
     "No assertion checks the fixture path fix is correct (X uses '..','fixtures' from __dirname, Y uses __dirname/fixtures; they cannot both be right).",
     "No assertion checks the 5000ms expect timeout visible in the log is addressed, or that forbidOnly/webServer risks are noted.",
     "The judge item requires all three of sleeps, workers and 10s timeout; being strict on the third penalised Y though it raised timeouts."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "baseline",
      "order_b": "with_skill",
      "order_consistent": false,
      "with_pass": 6,
      "with_total": 7,
      "with_unknown": 0,
      "base_pass": 5,
      "base_total": 7,
      "base_unknown": 0,
      "with_score": 7,
      "base_score": 8,
      "reason": "Y raises the expect timeout that produced the logged 5000ms failures, keeps 2 workers, and flags real caveats (ESM __dirname, missing webServer, testDir). X is solid and explicitly diagnoses the 10 s timeout, but leaves the 5 s expect timeout untouched."
     }
    ]
   },
   {
    "task": "v2-t4-todo-app-tests",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "All six script assertions are passed trivially by both sides; they do not distinguish quality (e.g. beforeEach+goto is the default Playwright pattern).",
     "The filter/counter assertion only checks that the words 'Active', 'Completed', 'left' appear, not that the behavior is actually asserted.",
     "The judge assertion cannot verify the assumed app markup (listitem, singular 'item left'), which is a real flake source and is undecidable from the task text.",
     "No assertion checks robustness of locators against unspecified markup, unique data when state is server-side, or use of web-first assertions vs manual waits, or that tests do not assert exact counter text before the item renders.",
     "No assertion checks that the reply recommends playwright.config settings (retries, workers, trace) for CI solidity."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "with_skill",
      "order_a": "with_skill",
      "order_b": "with_skill",
      "order_consistent": true,
      "with_pass": 7,
      "with_total": 7,
      "with_unknown": 0,
      "base_pass": 7,
      "base_total": 7,
      "base_unknown": 0,
      "with_score": 8,
      "base_score": 7,
      "reason": "Both pass every assertion, but Y adds uncheck coverage, a regex counter locator, random unique titles that survive a server-side store, and a BASE_URL override for CI. Y's reply is also more explicit about what was not run and about the server-side state assumption, though it is a bit more process-heavy."
     }
    ]
   },
   {
    "task": "v2-t5-slugify-unit-test",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "All script assertions are passed trivially by both sides; a task this small does not discriminate.",
     "The 'browser' word ban could false-fail a harmless mention; it only checks the test file, not the reply, so reply-side e2e recommendations rely on the judge.",
     "No assertion checks that expected values are correct per the spec, or that edge cases (empty input, nothing alphanumeric, digits) are covered.",
     "The judge assertion cannot detect whether the reply is 'short' by any threshold; it is subjective.",
     "No assertion checks that the agent did not fabricate or create src/slugify.ts."
    ],
    "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": "The two test files are nearly identical in structure, coverage and size, and both replies honestly say the tests were not run. X adds a useful note about leaving out non-ASCII input, while Y notes there is no package.json; neither difference is material."
     }
    ]
   },
   {
    "task": "v2-t6-flaky-tests-unspecified",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "The '?' requirement fails both sides although both reply with clear requests in statement form; it is a surface-form check that penalises a valid style and does not measure whether the user is asked for inputs.",
     "The keyword-group assertion is gameable by mentioning terms without asking anything; the judge assertions carry the real signal.",
     "The no-code-fence and forbidden-phrase assertions are passed trivially by both sides.",
     "Nothing checks that the reply is concise or that it avoids dumping skill-internal process boilerplate (Runs / Proven to fail / Audit sections) on the user.",
     "Whether a reply should ask questions versus state needed inputs, and whether 'local vs CI' must be asked explicitly, cannot be decided from the task text; the judge criterion lists four inputs but none is checked individually."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "with_skill",
      "order_a": "with_skill",
      "order_b": "with_skill",
      "order_consistent": true,
      "with_pass": 4,
      "with_total": 5,
      "with_unknown": 0,
      "base_pass": 2,
      "base_total": 5,
      "base_unknown": 0,
      "with_score": 7,
      "base_score": 3,
      "reason": "Y states the missing inputs (test files, config, CI output, runner details) and offers a triage list framed as things to check, without diagnosing the user's suite. X is honest but offers only a refusal-style note with no triage guidance and no real request for framework or failure context."
     }
    ]
   }
  ],
  "with_pass": 35,
  "with_total": 39,
  "base_pass": 32,
  "base_total": 39,
  "inconsistent_order_pairs": 2,
  "stats": {
   "n_tasks": 6,
   "n_pairs": 6,
   "with_rate": 0.8952380952380952,
   "base_rate": 0.8047619047619048,
   "delta": 0.09047619047619045,
   "se": 0.0757427320027946,
   "ci_low": -0.10425837350299451,
   "ci_high": 0.2852107544553754,
   "win_score": 0.5833333333333334,
   "win_ci_low": 0.18827585333833313,
   "win_ci_high": 0.9783908133283337,
   "corr_arms": 0.7730585169304358,
   "between_task_var": 0.034421768707483,
   "within_task_var": null,
   "pass_all_with": 0.3333333333333333,
   "pass_all_base": 0.5,
   "mde_80": 0.2785069837544474,
   "harmed_tasks": [
    "v2-t2-audit-specs"
   ],
   "saturated_tasks": [
    "v2-t4-todo-app-tests",
    "v2-t5-slugify-unit-test"
   ],
   "verdict": "HARMED"
  },
  "verdict": "HARMED",
  "tokens": {
   "author": 79123,
   "reference": 99475,
   "with_skill": 462276,
   "baseline": 416706,
   "gradeA-t1t2t3": 116123,
   "gradeA-t4t5t6": 97521,
   "gradeB": 95185,
   "gradeA2-opus": 102659,
   "judge+review": 94011,
   "checker": 91207,
   "total": 1654286
  }
 }
}
