{
 "schema": "skillalmanac-eval-bundle-v1",
 "skill": "/skills/skill-almanac/figma-to-code-handoff",
 "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": "figma-to-code-handoff",
  "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-variables-to-css",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Both sides pass all assertions; checks cannot separate CSS quality (aliases preserved vs flattened to literals).",
     "No assertion checks that the Dark-omitted variables are flagged as silently falling back to Light (X warns about it, Y's reply says it inherits the Light value without a warning).",
     "Alias handling is only tested indirectly via the var() resolver."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "with_skill",
      "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": 9,
      "base_score": 8,
      "reason": "Both pass every assertion with identical issues.json. Y keeps the alias structure with var() references, preserving token relationships in a theme file, while X flattens everything to literals."
     }
    ]
   },
   {
    "task": "v2-t2-plan-card-layout",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "The box-shadow literal '0 4px 12px' does not match '0px 4px 12px 0px' unless 0px is normalised; both sides depend on that leniency.",
     "Border-box border versus badge offset is arguable (X's -13px/15px is defensible if a border is used); the badge assertion presumes the inset-shadow approach.",
     "No assertion checks fill, border color, or that the stroke is rendered at all.",
     "Layout assertions (gap, direction, padding) are trivially passed by both."
    ],
    "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": 6,
      "base_score": 9,
      "reason": "Y matches the badge offsets from the export and handles the non-layout stroke with an inset shadow, the expected caveat. X shifts the badge by 1px and uses a real border, contradicting strokesIncludedInLayout false."
     }
    ]
   },
   {
    "task": "v2-t3-button-props",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "The map assertion contradicts itself: keys are stripped of '#...' for matching yet 'no key contains #' is required, so a map with verbatim export names fails although the task asked for every property name in the file.",
     "A null value for State fails the camelCase check although State may be absent.",
     "Requiring a boolean 'disabled' prop conflicts with allowing extension of native button attributes; Y's native-attribute approach fails the script yet is valid.",
     "The hover/pressed ban applies to comments too, penalising explanatory comments."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "with_skill",
      "order_a": "with_skill",
      "order_b": "with_skill",
      "order_consistent": true,
      "with_pass": 4,
      "with_total": 6,
      "with_unknown": 0,
      "base_pass": 3,
      "base_total": 6,
      "base_unknown": 0,
      "with_score": 7,
      "base_score": 5,
      "reason": "Y correctly drops Hover/Pressed as CSS states and ties Disabled to the native attribute, whereas X models State as a prop union. Both miss a typed disabled prop and extending ButtonHTMLAttributes, and both keep #id suffixes in map keys."
     }
    ]
   },
   {
    "task": "v2-t4-layer-filenames",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Both sides pass the four script assertions trivially since outputs are identical; they do not discriminate.",
     "The judge assertion is the only discriminator and rests on 'single short note' strictness.",
     "No assertion checks that the CSV is UTF-8 / no BOM or quoting of layer names with leading whitespace."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "baseline",
      "order_a": "baseline",
      "order_b": "baseline",
      "order_consistent": true,
      "with_pass": 5,
      "with_total": 5,
      "with_unknown": 0,
      "base_pass": 5,
      "base_total": 5,
      "base_unknown": 0,
      "with_score": 8,
      "base_score": 9,
      "reason": "CSVs are byte-identical; Y's reply.md is exactly the one short collision note requested, while X appends an unrelated sentence about conventions and a skill file."
     }
    ]
   },
   {
    "task": "v2-t5-handoff-checklist-near-miss",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "All four script assertions are passed trivially by both sides.",
     "'Exactly' three sections is ambiguous about an extra # title (Y has one); task text does not forbid it.",
     "Y's item about image names matching code and 'sizes agreed' edges toward asset procedures but stays generic; no assertion pins this threshold.",
     "No check that each item is a concrete action or that accessibility/ownership are covered; left to judge."
    ],
    "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": 8,
      "base_score": 8,
      "reason": "Both are compliant, plain-language, concrete checklists. X covers accessibility explicitly and ownership via response time; Y has a stronger shared-thread/ownership flavour but only touches accessibility in a note about keyboard use and names 'matches code' naming slightly toward asset naming."
     }
    ]
   },
   {
    "task": "v2-t6-dashboard-export",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Technology and broken-reference regexes are passed trivially by both.",
     "The 250-word cap fails both and may be too tight for a reply that must list assumptions and needs; it does not discriminate here.",
     "Assertion 4 only scans non-reply files; X's output folder includes a copy of dashboard_export.json and Y's reply is not checked for invented hex.",
     "No assertion checks the layout values (240px, 8px gap, 16px padding) were translated correctly or that empty child nodes were flagged."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "with_skill",
      "order_a": "with_skill",
      "order_b": "with_skill",
      "order_consistent": true,
      "with_pass": 5,
      "with_total": 6,
      "with_unknown": 0,
      "base_pass": 3,
      "base_total": 6,
      "base_unknown": 0,
      "with_score": 8,
      "base_score": 5,
      "reason": "X refuses to invent the accent colour and asks for it, whereas Y hard-codes #2563EB as a fallback, violating the core trap. X's reply is longer than ideal but both exceed the 250-word limit."
     }
    ]
   },
   {
    "task": "v2-t7-token-themes",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "The CSS assertions are passed trivially by both sides because the alias redeclaration pattern is the obvious fix.",
     "No assertion checks that --color-surface-raised is redeclared in dark; it is implied only by the 'resolved in dark' check, which depends on the checker following var() inside the dark block.",
     "The brief does not say whether the overlay token must also appear in :root or only in dark; the assertions are silent on it.",
     "No assertion checks for invented colours in dark block beyond the feedback tokens."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "tie",
      "order_b": "tie",
      "order_consistent": true,
      "with_pass": 7,
      "with_total": 7,
      "with_unknown": 0,
      "base_pass": 7,
      "base_total": 7,
      "base_unknown": 0,
      "with_score": 9,
      "base_score": 9,
      "reason": "The CSS and issues.json are functionally identical and both pass every check. Y's reply explains its decisions slightly more fully, but X's is also accurate, so it is a tie."
     }
    ]
   },
   {
    "task": "v2-t8-three-modes",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Output files are identical so assertions 1-4 do not discriminate between the sides.",
     "The brief ('don't guess') and the assertion allowing inheritance from :root leave open whether omitting vs. falling back is acceptable; the assertion tolerates both.",
     "No assertion checks that the reply states the fallback consequence (hc silently inherits Light values), which is the most useful information.",
     "The palette variable color/palette/red-600 is shipped; not checked either way."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "with_skill",
      "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": 9,
      "base_score": 8,
      "reason": "theme.css and gaps.json are byte-for-byte equivalent in substance. Y's reply additionally spells out the practical consequence (hc falls back to Light for the two gaps), which makes the incompleteness clearer."
     }
    ]
   },
   {
    "task": "v2-t9-nav-bar-flex",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Nearly all assertions are passed trivially by any competent conversion.",
     "Whether #FFFFFF background-color counts as 'not specified' is not decidable from the task text; it is in the export so was accepted.",
     "display:block on logo/avatar (X) and align-items:flex-start on tags (both) are not checked by any assertion.",
     "No assertion checks that the nav's FILL width is not turned into an overflowing width:100%."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "with_skill",
      "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": 9,
      "base_score": 8,
      "reason": "Both are faithful, minimal and pass every check. Y uses flex: 1 1 0px for the Fill child and gives a clear mapping table; X adds a few harmless resets (display:block, align-items on tags) but is otherwise equal."
     }
    ]
   },
   {
    "task": "v2-t10-export-manifest",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Assertions 1-4 are passed trivially by both sides; they only catch outright failures.",
     "Whether the format field stays uppercase (SVG/JPG/PNG) is not stated in the task text; assertion 2 implies it, but the task is ambiguous.",
     "No assertion checks output order or that the duplicate 'Icons/Arrow Right' layer yields two separate entries (only implicit in the count of 10).",
     "The judge clause 'without inventing others' is vague; both replies add extra notes (format casing, duplicate layer)."
    ],
    "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": 8,
      "base_score": 8,
      "reason": "The two manifests are identical in content and both replies name the real interpretation points. Y's reply is marginally tighter while X adds a digits note and a skill-naming aside that are noise, so the gap is negligible."
     }
    ]
   },
   {
    "task": "v2-t11-figma-api-script-near-miss",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Assertion 2 requires the literal 'sys.argv[1]'; both use argv[1] via main(sys.argv), so a strict substring check fails both though intent is met.",
     "Assertions 1-3 pass trivially for both; they do not separate quality.",
     "No assertion checks that depth is actually sent in the final URL (Y builds it via urlencode, so the 'depth=1' substring appears only in its docstring), nor exit codes or stderr behaviour.",
     "'Two-line note' is not checked; the word limit permits more lines."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "tie",
      "order_a": "with_skill",
      "order_b": "tie",
      "order_consistent": false,
      "with_pass": 5,
      "with_total": 5,
      "with_unknown": 0,
      "base_pass": 5,
      "base_total": 5,
      "base_unknown": 0,
      "with_score": 9,
      "base_score": 8,
      "reason": "Both scripts are correct, stdlib-only and equally well error-handled. Y is slightly tidier (helper functions, stripped token) and its reply is a cleaner run note for both shells, while X's reply runs to three lines rather than the two requested."
     }
    ]
   },
   {
    "task": "v2-t12-profile-card",
    "authored": true,
    "held_out": true,
    "has_reference": true,
    "assertions_authored": false,
    "critique": [
     "Assertion 3 forbids any hex besides the two literals, so a deliberately visible placeholder colour (Y's magenta) fails it, penalising the behaviour the last judge assertion rewards; an unset var() would pass.",
     "Assertion 1's 250-word cap fails both; it sits awkwardly with 'put whatever you needed or assumed in reply.md'.",
     "Assertion 2 is a loose keyword match that any reply mentioning 'token' passes.",
     "No assertion checks for invented extras (dark mode, hover styles) or rendering correctness such as border-box avatar sizing and text centering."
    ],
    "runs": [
     {
      "run": 1,
      "status": "ok",
      "preference": "with_skill",
      "order_a": "with_skill",
      "order_b": "with_skill",
      "order_consistent": true,
      "with_pass": 4,
      "with_total": 6,
      "with_unknown": 0,
      "base_pass": 3,
      "base_total": 6,
      "base_unknown": 0,
      "with_score": 7,
      "base_score": 5,
      "reason": "Y refuses to guess the bound-variable colours, marks them as obvious magenta placeholders and asks for the variables export, which is the key point of this task. X invented plausible colours and a dark theme, and both replies are far too long, Y's the longer."
     }
    ]
   }
  ],
  "with_pass": 64,
  "with_total": 70,
  "base_pass": 61,
  "base_total": 70,
  "inconsistent_order_pairs": 4,
  "stats": {
   "n_tasks": 12,
   "n_pairs": 12,
   "with_rate": 0.9186507936507936,
   "base_rate": 0.875,
   "delta": 0.04365079365079364,
   "se": 0.035270612767125356,
   "ci_low": -0.03397982504964927,
   "ci_high": 0.12128141235123654,
   "win_score": 0.5416666666666666,
   "win_ci_low": 0.32927451526145257,
   "win_ci_high": 0.7540588180718807,
   "corr_arms": 0.8989234223877687,
   "between_task_var": 0.014928193499622072,
   "within_task_var": null,
   "pass_all_with": 0.6666666666666666,
   "pass_all_base": 0.75,
   "mde_80": 0.17557221686056523,
   "harmed_tasks": [
    "v2-t2-plan-card-layout"
   ],
   "saturated_tasks": [
    "v2-t1-variables-to-css",
    "v2-t4-layer-filenames",
    "v2-t5-handoff-checklist-near-miss",
    "v2-t7-token-themes",
    "v2-t8-three-modes",
    "v2-t9-nav-bar-flex",
    "v2-t10-export-manifest",
    "v2-t11-figma-api-script-near-miss"
   ],
   "verdict": "HARMED"
  },
  "verdict": "HARMED",
  "tokens": {
   "authoring": 128602,
   "refcheck": 203862,
   "baseline": 830660,
   "with_skill": 912298,
   "grading": 617467,
   "total": 2692889
  }
 }
}
