Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript
32.0 KB
Raw Blame
/**
 * Held-out cases for the Tier 3 fence-repair eval (#6188 T4, round 2).
 *
 * Written after round 1 and before any result from the round 2 code, which
 * was designed from the round 1 fixtures (cases.ts). Same format and the same
 * class mix as cases.ts, new pages and placeholder names, plus split-claim
 * adversarials (a claim cut in two by an unescaped pipe; the only correct
 * outcome is to stay held). Built into heldout.jsonl by generate-fixtures.ts.
 */
import type { Case } from './cases.ts';

const ERIN = '| 3 | Erin-example joined omega-example in 2025 | event | 1.0 | private | medium | 2025-05-12 |  | offer letter |  |';

export const HELDOUT_CASES: Case[] = [
  // ── short rows, trailing cells missing ─────────────────────────────────
  { id: 'h-f-st-01', set: 'repairable', cls: 'short_row_trailing', kind: 'facts', tags: [], note: 'valid_until, source and context dropped',
    body: ['{FB}', '{FH}', '|---|---|---|---|---|---|---|---|---|---|', ERIN, '| 4 | Erin-example manages the data team | fact | 0.85 | private | medium | 2026-02-03 |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', ERIN, '| 4 | Erin-example manages the data team | fact | 0.85 | private | medium | 2026-02-03 |  |  |  |', '{FE}'] },
  { id: 'h-f-st-02', set: 'repairable', cls: 'short_row_trailing', kind: 'facts', tags: [], note: 'only the required cells',
    body: ['{FB}', '{FH}', '{FS}', "| 1 | Omega-example's runway is 18 months | belief | 0.6 | private | high |", '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', "| 1 | Omega-example's runway is 18 months | belief | 0.6 | private | high |  |  |  |  |", '{FE}'] },
  { id: 'h-f-st-03', set: 'repairable', cls: 'short_row_trailing', kind: 'facts', vis: 'world', tags: ['world', 'link'], note: 'world page, link in the claim, source and context dropped',
    body: ['{FB}', '{FH}', '{FS}', '| 2 | Sigma-example published [its security report](https://example.com/sec-2026) | event | 0.95 | world | medium | 2026-03-30 |  |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 2 | Sigma-example published [its security report](https://example.com/sec-2026) | event | 0.95 | world | medium | 2026-03-30 |  |  |  |', '{FE}'] },
  { id: 'h-f-st-04', set: 'repairable', cls: 'short_row_trailing', kind: 'facts', tags: ['strike', 'number'], note: 'struck row with both dates; counts with a k suffix',
    body: ['{FB}', '{FH}', '{FS}', '| 6 | ~~Kappa-example has 2.1k paying teams~~ | fact | 0.8 | private | medium | 2025-12-01 | 2026-04-01 |',
      '| 7 | Kappa-example has 3.4k paying teams | fact | 0.85 | private | medium | 2026-04-01 |  | billing export | replaces #6 |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 6 | ~~Kappa-example has 2.1k paying teams~~ | fact | 0.8 | private | medium | 2025-12-01 | 2026-04-01 |  |  |',
      '| 7 | Kappa-example has 3.4k paying teams | fact | 0.85 | private | medium | 2026-04-01 |  | billing export | replaces #6 |', '{FE}'] },
  { id: 'h-f-st-05', set: 'repairable', cls: 'short_row_trailing', kind: 'facts', section: 'timeline', tags: ['pipe', 'timeline'], note: 'timeline fence, escaped pipe in the claim',
    body: ['{FB}', '{FH}', '{FS}', "| 2 | Frank-example's stack is Go \\| Postgres | fact | 0.9 | private | low | 2026-01-11 |", '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', "| 2 | Frank-example's stack is Go \\| Postgres | fact | 0.9 | private | low | 2026-01-11 |  |  |  |", '{FE}'] },
  { id: 'h-f-st-06', set: 'repairable', cls: 'short_row_trailing', kind: 'facts', tags: ['tier1_after'], note: 'percent confidence: copied as written, then Tier 1 writes 0.7',
    body: ['{FB}', '{FH}', '{FS}', '| 5 | Grace-example will present at the summit | commitment | 70% | private | medium | 2026-09-15 |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 5 | Grace-example will present at the summit | commitment | 0.7 | private | medium | 2026-09-15 |  |  |  |', '{FE}'] },
  { id: 'h-t-st-01', set: 'repairable', cls: 'short_row_trailing', kind: 'takes', tags: [], note: 'since and source dropped',
    body: ['{TB}', '{TH}', '|---|---|---|---|---|---|---|', '| 1 | Observability tools consolidate | take | people/erin-example | 0.7 | 2026-02-02 | conference notes |',
      '| 2 | Usage-based pricing wins in observability | take | people/erin-example | 0.65 |', '{TE}'],
    expected: ['{TB}', '{TH}', '{TS}', '| 1 | Observability tools consolidate | take | people/erin-example | 0.7 | 2026-02-02 | conference notes |',
      '| 2 | Usage-based pricing wins in observability | take | people/erin-example | 0.65 |  |  |', '{TE}'] },
  { id: 'h-t-st-02', set: 'repairable', cls: 'short_row_trailing', kind: 'takes', tags: ['strike'], note: 'struck claim, fund holder',
    body: ['{TB}', '{TH}', '{TS}', '| 3 | ~~Omega-example raises in Q2~~ | bet | companies/fund-b | 0.35 |', '{TE}'],
    expected: ['{TB}', '{TH}', '{TS}', '| 3 | ~~Omega-example raises in Q2~~ | bet | companies/fund-b | 0.35 |  |  |', '{TE}'] },
  { id: 'h-t-st-03', set: 'repairable', cls: 'short_row_trailing', kind: 'takes', tags: ['number'], note: 'money in the claim, brain holder',
    body: ['{TB}', '{TH}', '{TS}', '| 1 | Lambda-example passes $50M ARR by 2027 | bet | brain | 0.45 |', '{TE}'],
    expected: ['{TB}', '{TH}', '{TS}', '| 1 | Lambda-example passes $50M ARR by 2027 | bet | brain | 0.45 |  |  |', '{TE}'] },

  // ── short rows, a cell missing in the middle ───────────────────────────
  { id: 'h-f-sg-01', set: 'repairable', cls: 'short_row_gap', kind: 'facts', tags: [], note: 'valid_until dropped: the last cell is the source',
    body: ['{FB}', '{FH}', '{FS}', '| 3 | Henry-example started as head of design | event | 0.9 | private | medium | 2026-01-19 | onboarding email |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 3 | Henry-example started as head of design | event | 0.9 | private | medium | 2026-01-19 |  | onboarding email |  |', '{FE}'] },
  { id: 'h-f-sg-02', set: 'repairable', cls: 'short_row_gap', kind: 'facts', tags: ['link'], note: 'both dates dropped: a link source and a context note follow',
    body: ['{FB}', '{FH}', '{FS}', '| 4 | Grace-example prefers chat over email | preference | 0.75 | private | low | [thread](https://example.com/t/88) | said in two standups |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 4 | Grace-example prefers chat over email | preference | 0.75 | private | low |  |  | [thread](https://example.com/t/88) | said in two standups |', '{FE}'] },
  { id: 'h-f-sg-03', set: 'repairable', cls: 'short_row_gap', kind: 'facts', vis: 'world', tags: ['world', 'date_meaning'], note: 'the claim says the free tier ends on the date, so it is valid_until',
    body: ['{FB}', '{FH}', '{FS}', "| 5 | Sigma-example's free tier ends on 2026-12-31 | commitment | 0.8 | world | medium | 2026-12-31 | pricing FAQ |", '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', "| 5 | Sigma-example's free tier ends on 2026-12-31 | commitment | 0.8 | world | medium |  | 2026-12-31 | pricing FAQ |  |", '{FE}'] },
  { id: 'h-f-sg-04', set: 'repairable', cls: 'short_row_gap', kind: 'facts', tags: [], note: 'no dates: the only optional cell is the source',
    body: ['{FB}', '{FH}', '{FS}', "| 6 | Kappa-example's support runs around the clock | fact | 0.9 | private | low | support page |", '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', "| 6 | Kappa-example's support runs around the clock | fact | 0.9 | private | low |  |  | support page |  |", '{FE}'] },

  // ── no header ──────────────────────────────────────────────────────────
  { id: 'h-f-nh-01', set: 'repairable', cls: 'no_header', kind: 'facts', tags: [], note: 'two complete rows, no header or separator',
    body: ['{FB}', '| 1 | Henry-example lives in Toronto | fact | 0.9 | private | low | 2024-09-01 |  | intro call |  |',
      '| 2 | Henry-example runs marathons | fact | 0.8 | private | low |  |  | coffee chat |  |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 1 | Henry-example lives in Toronto | fact | 0.9 | private | low | 2024-09-01 |  | intro call |  |',
      '| 2 | Henry-example runs marathons | fact | 0.8 | private | low |  |  | coffee chat |  |', '{FE}'] },
  { id: 'h-f-nh-02', set: 'repairable', cls: 'no_header', kind: 'facts', tags: [], note: 'separator but no header; rows without the context cell',
    body: ['{FB}', '|---|---|---|---|---|---|---|---|---|---|', '| 1 | Widget-co sells through distributors | fact | 0.85 | private | medium | 2025-11-01 |  | partner deck |',
      '| 2 | Widget-co wants a direct channel | belief | 0.55 | private | medium |  |  | strategy call |',
      '| 3 | Widget-co will open a web store | commitment | 0.6 | private | low | 2026-10-01 |  | roadmap |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 1 | Widget-co sells through distributors | fact | 0.85 | private | medium | 2025-11-01 |  | partner deck |  |',
      '| 2 | Widget-co wants a direct channel | belief | 0.55 | private | medium |  |  | strategy call |  |',
      '| 3 | Widget-co will open a web store | commitment | 0.6 | private | low | 2026-10-01 |  | roadmap |  |', '{FE}'] },
  { id: 'h-f-nh-03', set: 'repairable', cls: 'no_header', kind: 'facts', tags: ['wide', 'number'], note: 'typed rows (14 cells) with 450k and $8.1M values: the wide header',
    body: ['{FB}', '| 1 | Omega-example burn | fact | 0.8 | private | high | 2026-06-01 |  | finance review |  | burn | 450k | USD | monthly |',
      '| 2 | Omega-example cash | fact | 0.9 | private | high | 2026-06-01 |  | bank statement |  | cash | $8.1M | USD | point in time |', '{FE}'],
    expected: ['{FB}', '{FW}', '{FWS}', '| 1 | Omega-example burn | fact | 0.8 | private | high | 2026-06-01 |  | finance review |  | burn | 450k | USD | monthly |',
      '| 2 | Omega-example cash | fact | 0.9 | private | high | 2026-06-01 |  | bank statement |  | cash | $8.1M | USD | point in time |', '{FE}'] },
  { id: 'h-f-nh-04', set: 'repairable', cls: 'no_header', kind: 'facts', vis: 'world', tags: ['world', 'strike', 'link'], note: 'world page, struck row superseded by a row with a link',
    body: ['{FB}', '| 1 | Lambda-example ships from Rotterdam | fact | 0.85 | world | low | 2026-03-01 |  | [shipping page](https://example.com/ship) |  |',
      '| 2 | ~~Lambda-example ships from Hamburg~~ | fact | 0.9 | world | low | 2024-01-01 | 2026-03-01 | shipping page | superseded by #1 |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 1 | Lambda-example ships from Rotterdam | fact | 0.85 | world | low | 2026-03-01 |  | [shipping page](https://example.com/ship) |  |',
      '| 2 | ~~Lambda-example ships from Hamburg~~ | fact | 0.9 | world | low | 2024-01-01 | 2026-03-01 | shipping page | superseded by #1 |', '{FE}'] },
  { id: 'h-t-nh-01', set: 'repairable', cls: 'no_header', kind: 'takes', tags: [], note: 'two complete rows',
    body: ['{TB}', '| 1 | Widget-co should exit retail | take | people/frank-example | 0.6 | 2026-02-14 | ops review |',
      '| 2 | Widget-co margins improve next year | bet | people/frank-example | 0.5 | 2026-02-14 | ops review |', '{TE}'],
    expected: ['{TB}', '{TH}', '{TS}', '| 1 | Widget-co should exit retail | take | people/frank-example | 0.6 | 2026-02-14 | ops review |',
      '| 2 | Widget-co margins improve next year | bet | people/frank-example | 0.5 | 2026-02-14 | ops review |', '{TE}'] },
  { id: 'h-t-nh-02', set: 'repairable', cls: 'no_header', kind: 'takes', tags: ['pipe', 'strike'], note: 'separator but no header; escaped pipe in a source, a struck row',
    body: ['{TB}', '|---|---|---|---|---|---|---|', '| 4 | ~~Fund-c passes on omega-example~~ | hunch | companies/fund-c | 0.3 | 2026-01-05 | partner meeting |',
      '| 5 | Fund-c leads omega-example\'s round | bet | companies/fund-c | 0.55 | 2026-03-05 | IC notes \\| v3 |', '{TE}'],
    expected: ['{TB}', '{TH}', '{TS}', '| 4 | ~~Fund-c passes on omega-example~~ | hunch | companies/fund-c | 0.3 | 2026-01-05 | partner meeting |',
      '| 5 | Fund-c leads omega-example\'s round | bet | companies/fund-c | 0.55 | 2026-03-05 | IC notes \\| v3 |', '{TE}'] },

  // ── a row before the header ────────────────────────────────────────────
  { id: 'h-f-rb-01', set: 'repairable', cls: 'row_before_header', kind: 'facts', tags: [], note: 'one complete row above the header',
    body: ['{FB}', '| 2 | Omega-example moved to a four-day week | event | 0.8 | private | medium | 2026-02-02 |  | all-hands notes |  |', '{FH}', '{FS}',
      '| 3 | Omega-example kept Friday on-call | fact | 0.7 | private | low | 2026-02-02 |  | all-hands notes |  |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 2 | Omega-example moved to a four-day week | event | 0.8 | private | medium | 2026-02-02 |  | all-hands notes |  |',
      '| 3 | Omega-example kept Friday on-call | fact | 0.7 | private | low | 2026-02-02 |  | all-hands notes |  |', '{FE}'] },
  { id: 'h-f-rb-02', set: 'repairable', cls: 'row_before_header', kind: 'facts', tags: [], note: 'a short row above the header',
    body: ['{FB}', '| 4 | Grace-example finished her MBA | event | 0.9 | private | low | 2026-05-20 |', '{FH}', '{FS}',
      '| 5 | Grace-example studied part time | fact | 0.8 | private | low |  |  | coffee chat |  |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 4 | Grace-example finished her MBA | event | 0.9 | private | low | 2026-05-20 |  |  |  |',
      '| 5 | Grace-example studied part time | fact | 0.8 | private | low |  |  | coffee chat |  |', '{FE}'] },
  { id: 'h-f-rb-03', set: 'repairable', cls: 'row_before_header', kind: 'facts', section: 'timeline', tags: ['timeline', 'link'], note: 'timeline fence, two rows above the header, one with a link',
    body: ['{FB}', '| 1 | Sigma-example launched in Canada | event | 0.9 | private | high | 2026-04-01 |  | [launch post](https://example.com/ca) |  |',
      '| 2 | Sigma-example hired a country lead | event | 0.8 | private | medium | 2026-04-20 |  | team page |  |', '{FH}', '{FS}',
      '| 3 | Sigma-example plans Mexico next | idea | 0.5 | private | medium |  |  | board notes |  |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 1 | Sigma-example launched in Canada | event | 0.9 | private | high | 2026-04-01 |  | [launch post](https://example.com/ca) |  |',
      '| 2 | Sigma-example hired a country lead | event | 0.8 | private | medium | 2026-04-20 |  | team page |  |',
      '| 3 | Sigma-example plans Mexico next | idea | 0.5 | private | medium |  |  | board notes |  |', '{FE}'] },
  { id: 'h-t-rb-01', set: 'repairable', cls: 'row_before_header', kind: 'takes', tags: [], note: 'one row above the header',
    body: ['{TB}', '| 1 | Kappa-example should hire a CFO | take | people/grace-example | 0.7 | 2026-03-12 | board prep |', '{TH}', '{TS}',
      '| 2 | Kappa-example hires a CFO by Q4 | bet | people/grace-example | 0.6 | 2026-03-12 | board prep |', '{TE}'],
    expected: ['{TB}', '{TH}', '{TS}', '| 1 | Kappa-example should hire a CFO | take | people/grace-example | 0.7 | 2026-03-12 | board prep |',
      '| 2 | Kappa-example hires a CFO by Q4 | bet | people/grace-example | 0.6 | 2026-03-12 | board prep |', '{TE}'] },
  { id: 'h-t-rb-02', set: 'repairable', cls: 'row_before_header', kind: 'takes', tags: [], note: 'a short row above the header',
    body: ['{TB}', '| 3 | Hardware startups need longer runways | take | world | 0.8 |', '{TH}', '{TS}',
      '| 4 | Lambda-example raises a bridge round | bet | world | 0.4 | 2026-04-04 | rumor |', '{TE}'],
    expected: ['{TB}', '{TH}', '{TS}', '| 3 | Hardware startups need longer runways | take | world | 0.8 |  |  |',
      '| 4 | Lambda-example raises a bridge round | bet | world | 0.4 | 2026-04-04 | rumor |', '{TE}'] },

  // ── extra cells ────────────────────────────────────────────────────────
  { id: 'h-f-ex-01', set: 'repairable', cls: 'extra_cells', kind: 'facts', tags: [], note: 'an empty cell after the claim',
    body: ['{FB}', '{FH}', '{FS}', ERIN, '| 4 | Erin-example moved to the Lisbon office |  | event | 0.85 | private | low | 2026-03-03 |  | relocation email |  |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', ERIN, '| 4 | Erin-example moved to the Lisbon office | event | 0.85 | private | low | 2026-03-03 |  | relocation email |  |', '{FE}'] },
  { id: 'h-f-ex-02', set: 'repairable', cls: 'extra_cells', kind: 'facts', tags: [], note: 'an empty cell after the confidence',
    body: ['{FB}', '{FH}', '{FS}', '| 2 | Frank-example will mentor the new PMs | commitment | 0.8 |  | private | medium | 2026-02-10 |  | 1:1 notes |  |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 2 | Frank-example will mentor the new PMs | commitment | 0.8 | private | medium | 2026-02-10 |  | 1:1 notes |  |', '{FE}'] },
  { id: 'h-f-ex-03', set: 'repairable', cls: 'extra_cells', kind: 'facts', tags: ['link'], note: 'an empty cell after the kind; a link source',
    body: ['{FB}', '{FH}', '{FS}', '| 7 | Kappa-example added SAML login | event |  | 0.9 | private | low | 2026-01-28 |  | [changelog](https://example.com/cl/12) |  |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 7 | Kappa-example added SAML login | event | 0.9 | private | low | 2026-01-28 |  | [changelog](https://example.com/cl/12) |  |', '{FE}'] },
  { id: 'h-f-ex-04', set: 'repairable', cls: 'extra_cells', kind: 'facts', tags: ['wide', 'number'], note: 'typed row with an empty cell after the kind',
    body: ['{FB}', '{FW}', '{FWS}', '| 5 | Widget-co net revenue retention | fact |  | 0.85 | private | high | 2026-06-30 |  | QBR deck |  | nrr | 1.12 | ratio | annual |', '{FE}'],
    expected: ['{FB}', '{FW}', '{FWS}', '| 5 | Widget-co net revenue retention | fact | 0.85 | private | high | 2026-06-30 |  | QBR deck |  | nrr | 1.12 | ratio | annual |', '{FE}'] },
  { id: 'h-f-ex-05', set: 'repairable', cls: 'extra_cells', kind: 'facts', tags: [], note: 'a parenthetical note after the claim belongs in context',
    body: ['{FB}', '{FH}', '{FS}', '| 8 | Henry-example took over the design system | (interim) | event | 0.75 | private | medium | 2026-02-20 |  | team update |  |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 8 | Henry-example took over the design system | event | 0.75 | private | medium | 2026-02-20 |  | team update | (interim) |', '{FE}'] },
  { id: 'h-t-ex-01', set: 'repairable', cls: 'extra_cells', kind: 'takes', tags: [], note: 'an empty cell after the claim',
    body: ['{TB}', '{TH}', '{TS}', '| 2 | Open banking APIs commoditize |  | take | brain | 0.6 | 2026-03-09 | fintech panel |', '{TE}'],
    expected: ['{TB}', '{TH}', '{TS}', '| 2 | Open banking APIs commoditize | take | brain | 0.6 | 2026-03-09 | fintech panel |', '{TE}'] },
  { id: 'h-t-ex-02', set: 'repairable', cls: 'extra_cells', kind: 'takes', tags: ['strike'], note: 'struck claim, empty cell after the kind',
    body: ['{TB}', '{TH}', '{TS}', '| 6 | ~~Sigma-example stays independent~~ | bet |  | people/henry-example | 0.35 | 2026-01-15 | dinner |', '{TE}'],
    expected: ['{TB}', '{TH}', '{TS}', '| 6 | ~~Sigma-example stays independent~~ | bet | people/henry-example | 0.35 | 2026-01-15 | dinner |', '{TE}'] },

  // ── header with an unknown column ──────────────────────────────────────
  { id: 'h-f-hu-01', set: 'repairable', cls: 'header_unmapped', kind: 'facts', tags: [], note: '`trust` is the confidence, written after the notability',
    body: ['{FB}', '| # | claim | kind | notability | trust | visibility | valid_from | valid_until | source | context |', '|---|---|---|---|---|---|---|---|---|---|',
      "| 1 | Omega-example's CTO is frank-example | fact | high | 0.95 | private | 2025-08-01 |  | team page |  |",
      '| 2 | Omega-example is rewriting its billing | idea | medium | 0.5 | private |  |  | standup |  |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', "| 1 | Omega-example's CTO is frank-example | fact | 0.95 | private | high | 2025-08-01 |  | team page |  |",
      '| 2 | Omega-example is rewriting its billing | idea | 0.5 | private | medium |  |  | standup |  |', '{FE}'] },
  { id: 'h-f-hu-02', set: 'repairable', cls: 'header_unmapped', kind: 'facts', tags: [], note: '`begins`, `expires` and `reference` are the dates and the source, written first',
    body: ['{FB}', '| # | claim | kind | begins | expires | reference | confidence | visibility | notability |', '|---|---|---|---|---|---|---|---|---|',
      '| 1 | Grace-example sits on the pricing council | fact | 2026-01-01 | 2026-12-31 | council charter | 0.9 | private | medium |',
      '| 2 | Grace-example covers the EMEA queue | fact | 2026-03-01 | 2026-03-31 | rota | 1.0 | private | low |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 1 | Grace-example sits on the pricing council | fact | 0.9 | private | medium | 2026-01-01 | 2026-12-31 | council charter |  |',
      '| 2 | Grace-example covers the EMEA queue | fact | 1.0 | private | low | 2026-03-01 | 2026-03-31 | rota |  |', '{FE}'] },
  { id: 'h-f-hu-03', set: 'repairable', cls: 'header_unmapped', kind: 'facts', tags: ['no_row_numbers'], note: 'no # column and a `learned from` column (the source); Tier 1 numbers the rows',
    body: ['{FB}', '| claim | kind | confidence | visibility | notability | learned from |', '|---|---|---|---|---|---|',
      '| Henry-example plays cello | fact | 0.8 | private | low | dinner |',
      '| Henry-example wants to teach a course | preference | 0.6 | private | medium | coffee chat |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 1 | Henry-example plays cello | fact | 0.8 | private | low |  |  | dinner |  |',
      '| 2 | Henry-example wants to teach a course | preference | 0.6 | private | medium |  |  | coffee chat |  |', '{FE}'] },
  { id: 'h-f-hu-04', set: 'repairable', cls: 'header_unmapped', kind: 'facts', tags: [], note: 'kind before claim and a `sharing` column (the visibility)',
    body: ['{FB}', '| # | kind | claim | confidence | sharing | notability | valid_from |', '|---|---|---|---|---|---|---|',
      '| 1 | event | Lambda-example signed widget-co | 0.9 | private | high | 2026-05-05 |',
      '| 2 | fact | Lambda-example bills quarterly | 0.8 | private | low |  |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 1 | Lambda-example signed widget-co | event | 0.9 | private | high | 2026-05-05 |  |  |  |',
      '| 2 | Lambda-example bills quarterly | fact | 0.8 | private | low |  |  |  |  |', '{FE}'] },
  { id: 'h-t-hu-01', set: 'repairable', cls: 'header_unmapped', kind: 'takes', tags: [], note: '`believer` is the holder and `strength` the weight',
    body: ['{TB}', '| # | claim | believer | kind | strength | since | source |', '|---|---|---|---|---|---|---|',
      '| 1 | Kappa-example wins mid-market | people/erin-example | take | 0.7 | 2026-02-20 | pipeline review |',
      '| 2 | Kappa-example doubles headcount | people/erin-example | bet | 0.4 | 2026-02-20 | pipeline review |', '{TE}'],
    expected: ['{TB}', '{TH}', '{TS}', '| 1 | Kappa-example wins mid-market | take | people/erin-example | 0.7 | 2026-02-20 | pipeline review |',
      '| 2 | Kappa-example doubles headcount | bet | people/erin-example | 0.4 | 2026-02-20 | pipeline review |', '{TE}'] },
  { id: 'h-t-hu-02', set: 'repairable', cls: 'header_unmapped', kind: 'takes', tags: ['no_row_numbers'], note: 'no # column; `likelihood` is the weight and `noted` the since date',
    body: ['{TB}', '| claim | kind | who | likelihood | noted |', '|---|---|---|---|---|',
      '| Robotics funding recovers in 2027 | bet | brain | 0.5 | 2026-04-02 |',
      '| Sigma-example enters robotics | hunch | brain | 0.25 | 2026-04-02 |', '{TE}'],
    expected: ['{TB}', '{TH}', '{TS}', '| 1 | Robotics funding recovers in 2027 | bet | brain | 0.5 | 2026-04-02 |  |',
      '| 2 | Sigma-example enters robotics | hunch | brain | 0.25 | 2026-04-02 |  |', '{TE}'] },

  // ── several problems in one fence ──────────────────────────────────────
  { id: 'h-f-mix-01', set: 'repairable', cls: 'mixed', kind: 'facts', tags: [], note: 'a short row and a row with an extra empty cell',
    body: ['{FB}', '{FH}', '{FS}', '| 1 | Frank-example founded widget-co | fact | 1.0 | private | high | 2019-03-01 |',
      '| 2 | Frank-example is hiring a COO |  | event | 0.7 | private | medium | 2026-06-01 |  | recruiter call |  |', '{FE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 1 | Frank-example founded widget-co | fact | 1.0 | private | high | 2019-03-01 |  |  |  |',
      '| 2 | Frank-example is hiring a COO | event | 0.7 | private | medium | 2026-06-01 |  | recruiter call |  |', '{FE}'] },
  { id: 'h-t-mix-01', set: 'repairable', cls: 'mixed', kind: 'takes', tags: [], note: 'a row above the header and a short row below it',
    body: ['{TB}', '| 1 | Lambda-example is overvalued | take | people/henry-example | 0.55 | 2026-05-01 | lunch |', '{TH}', '{TS}',
      '| 2 | Lambda-example cuts prices this year | bet | people/henry-example | 0.45 |', '{TE}'],
    expected: ['{TB}', '{TH}', '{TS}', '| 1 | Lambda-example is overvalued | take | people/henry-example | 0.55 | 2026-05-01 | lunch |',
      '| 2 | Lambda-example cuts prices this year | bet | people/henry-example | 0.45 |  |  |', '{TE}'] },
  { id: 'h-b-mix-01', set: 'repairable', cls: 'mixed', kind: 'both', tags: ['two_fences'], note: 'a facts fence without a header and a takes fence with a short row on one page (two model calls)',
    body: ['{FB}', '| 1 | Widget-co moved its warehouse to Reno | event | 0.9 | private | medium | 2026-02-01 |  | ops email |  |', '{FE}', '',
      '{TB}', '{TH}', '{TS}', '| 2 | Widget-co regrets the Reno move | hunch | brain | 0.3 |', '{TE}'],
    expected: ['{FB}', '{FH}', '{FS}', '| 1 | Widget-co moved its warehouse to Reno | event | 0.9 | private | medium | 2026-02-01 |  | ops email |  |', '{FE}', '',
      '{TB}', '{TH}', '{TS}', '| 2 | Widget-co regrets the Reno move | hunch | brain | 0.3 |  |  |', '{TE}'] },

  // ── adversarial: two readings the gates cannot tell apart ──────────────
  { id: 'h-adv-01', set: 'adversarial', adversarial: 'ambiguous', cls: 'extra_cells', kind: 'facts', tags: [], note: 'two confidence values',
    body: ['{FB}', '{FH}', '{FS}', '| 3 | Omega-example hits its Q3 target | belief | 0.4 | 0.8 | private | medium | 2026-07-01 |  | forecast sheet |  |', '{FE}'],
    expected: null,
    probe: ['{FH}', '{FS}', '| 3 | Omega-example hits its Q3 target | belief | 0.4 | private | medium | 2026-07-01 |  | forecast sheet | 0.8 |'] },
  { id: 'h-adv-02', set: 'adversarial', adversarial: 'ambiguous', cls: 'extra_cells', kind: 'takes', tags: [], note: 'two kinds (bet, hunch)',
    body: ['{TB}', '{TH}', '{TS}', '| 4 | Kappa-example gets acquired | bet | hunch | people/frank-example | 0.3 | 2026-03-03 | hallway chat |', '{TE}'],
    expected: null,
    probe: ['{TW}', '{TWS}', '| 4 | Kappa-example gets acquired | bet | people/frank-example | 0.3 | 2026-03-03 | hallway chat |  |  | hunch |  |  |  |'] },
  { id: 'h-adv-03', set: 'adversarial', adversarial: 'ambiguous', cls: 'header_unmapped', kind: 'facts', tags: [], note: 'a `team` column has no home in a facts table; the only free column is valid_until',
    body: ['{FB}', '| # | claim | kind | team | confidence | visibility | notability | valid_from | source | context |', '|---|---|---|---|---|---|---|---|---|---|',
      '| 1 | The hiring plan is frozen | event | platform | 0.85 | private | high | 2026-08-01 | leadership sync |  |', '{FE}'],
    expected: null,
    probe: ['{FH}', '{FS}', '| 1 | The hiring plan is frozen | event | 0.85 | private | high | 2026-08-01 | platform | leadership sync |  |'] },
  { id: 'h-adv-04', set: 'adversarial', adversarial: 'ambiguous', cls: 'header_unmapped', kind: 'takes', tags: [], note: 'a `rationale` column is neither a date nor a source, but the gates accept it in either free column',
    body: ['{TB}', '| # | claim | rationale | kind | who | weight |', '|---|---|---|---|---|---|',
      '| 1 | Widget-co raises prices in 2027 | pricing power | bet | people/grace-example | 0.6 |', '{TE}'],
    expected: null,
    probe: ['{TH}', '{TS}', '| 1 | Widget-co raises prices in 2027 | bet | people/grace-example | 0.6 |  | pricing power |'] },
  { id: 'h-adv-05', set: 'adversarial', adversarial: 'ambiguous', cls: 'short_row_gap', kind: 'facts', tags: ['date_meaning'], note: 'a notice-period date could be its start or its end',
    body: ['{FB}', '{FH}', '{FS}', "| 5 | Frank-example's notice period at kappa-example | fact | 0.8 | private | medium | 2026-03-31 | HR call |", '{FE}'],
    expected: null,
    probe: ['{FH}', '{FS}', "| 5 | Frank-example's notice period at kappa-example | fact | 0.8 | private | medium | 2026-03-31 |  | HR call |  |"] },
  { id: 'h-adv-06', set: 'adversarial', adversarial: 'ambiguous', cls: 'short_row_gap', kind: 'facts', tags: [], note: 'two free-text notes; neither reads clearly as the source or the context',
    body: ['{FB}', '{FH}', '{FS}', '| 6 | Grace-example is moving to the platform team | event | 0.7 | private | medium | Q3 offsite | budget review |', '{FE}'],
    expected: null,
    probe: ['{FH}', '{FS}', '| 6 | Grace-example is moving to the platform team | event | 0.7 | private | medium |  |  | Q3 offsite | budget review |'] },

  // ── adversarial: a claim cut in two by an unescaped pipe ───────────────
  { id: 'h-spl-01', set: 'adversarial', adversarial: 'split_claim', cls: 'extra_cells', kind: 'facts', tags: ['pipe'], note: 'the claim continues in the cell after it',
    body: ['{FB}', '{FH}', '{FS}', '| 7 | Churn fell to 2% | after the pricing change | fact | 0.8 | private | high | 2026-05-31 |  | metrics review |  |', '{FE}'],
    expected: null,
    probe: ['{FH}', '{FS}', '| 7 | Churn fell to 2% | fact | 0.8 | private | high | 2026-05-31 |  | metrics review | after the pricing change |'] },
  { id: 'h-spl-02', set: 'adversarial', adversarial: 'split_claim', cls: 'extra_cells', kind: 'takes', tags: ['pipe'], note: 'a takes claim cut in two',
    body: ['{TB}', '{TH}', '{TS}', '| 3 | Rates fall in 2026 | then rise in 2027 | bet | world | 0.4 | 2026-02-01 | macro notes |', '{TE}'],
    expected: null,
    probe: ['{TW}', '{TWS}', '| 3 | Rates fall in 2026 | bet | world | 0.4 | 2026-02-01 | macro notes |  |  | then rise in 2027 |  |  |  |'] },
  { id: 'h-spl-03', set: 'adversarial', adversarial: 'split_claim', cls: 'short_row_gap', kind: 'facts', tags: ['pipe'], note: 'the claim is cut and the kind cell is missing, so the row has the canonical width and the second half sits in the kind column',
    body: ['{FB}', '{FH}', '{FS}', '| 8 | Revenue doubled | led by the EU | 0.9 | private | high | 2026-06-30 |  | board deck |  |', '{FE}'],
    expected: null },
  { id: 'h-spl-04', set: 'adversarial', adversarial: 'split_claim', cls: 'no_header', kind: 'facts', tags: ['pipe'], note: 'no header, and the claim continues in the next cell',
    body: ['{FB}', '| 2 | Omega-example hired a CRO | from widget-co | event | 0.9 | private | high | 2026-03-01 |  | press release |  |', '{FE}'],
    expected: null,
    probe: ['{FH}', '{FS}', '| 2 | Omega-example hired a CRO | event | 0.9 | private | high | 2026-03-01 |  | press release | from widget-co |'] },

  // ── adversarial: a required value is missing ───────────────────────────
  { id: 'h-unr-01', set: 'adversarial', adversarial: 'unrecoverable', cls: 'short_row_gap', kind: 'takes', tags: [], note: 'the weight is missing',
    body: ['{TB}', '{TH}', '{TS}', '| 4 | Edge inference beats cloud for robots | take | people/henry-example | robotics panel |', '{TE}'],
    expected: null,
    probe: ['{TH}', '{TS}', '| 4 | Edge inference beats cloud for robots | take | people/henry-example | 0.5 |  | robotics panel |'] },
  { id: 'h-unr-02', set: 'adversarial', adversarial: 'unrecoverable', cls: 'short_row_gap', kind: 'facts', tags: [], note: 'the notability is missing',
    body: ['{FB}', '{FH}', '{FS}', '| 9 | Sigma-example rotated its API keys | event | 0.95 | private | 2026-02-14 |  | security log |', '{FE}'],
    expected: null,
    probe: ['{FH}', '{FS}', '| 9 | Sigma-example rotated its API keys | event | 0.95 | private | medium | 2026-02-14 |  | security log |  |'] },
];