Repository navigation
Description
Outcome
brain-kit has one eval lab. Each measured scenario has one home under evals/, containing:
- its authored cases
- its harness
- its offline scoring tests
- every recorded result, labelled with model, effort level, commit and date
A single runner can measure a scenario across a matrix of models and effort levels. Results normalize into one schema, from which charts are generated. An internal local website, consulted by the coding agent during development, documents each scenario: what it measures, its arms, its recorded results across models and efforts, and its decision record. It supports #1609's dynamic X/Y comparisons and Summary / Individual runs (default Summary). It is not part of the public Astro website; local operation is documented in the eval developer docs.
Why now
The #838 lean spikes left eleven harnesses under evals/. Each has its own CLI, results shape and conventions.
On 2026-10-11 the Sonnet 5.5 current-path arms were rerun on Haiku 5.5 to see whether a cheaper model holds up. Two scenarios were then swept across effort levels. Doing that took eleven ad hoc model overrides, one per harness, plus hand-built comparison tables.
The comparison adds conditional alternate-model observations without changing the recorded shipped-path adoption decisions:
- Haiku holds up on extraction and classification, but not on agentic write flows.
- With Haiku as the current path, three of the go/no-go outcomes would flip or strengthen.
- Higher effort made Haiku worse on the briefing scenario.
Answers like these should be routine and comparable, not a one-off reconstruction.
Shared context
- Epic: use classification and deterministic code where generic prompting is wasteful #838 (the lean evaluation protocol and its recorded results table) and the decision records it produced under
docs/decisions/. - Epic: choose the decision model per use case — Jev, Clef or Clef-flash — on evals that can tell them apart #918, choosing the decision model per use case, is a consumer of this lab, not part of it.
evals/README.md,evals/cases/, andexperiments/(the offline experiment test tier,docs/decisions/experiment-tier.md).docs/decisions/measurement-archive.mdwith docs: record eval result retention and current-selection policy #1604’s settled amendment: all compatible immutable result sets stay beside their scenario on main; superseded configurations/revisions are archived at exact commits before removal, and raw transcripts stay outside Git. Latest complete validated run selection uses completion time with stable run-ID tie breaking. Observed variation defaults to median/min–max whiskers with run count; compatibility uses full evaluation identity.- The public website and its publication remain separate. evals: provide a local internal website for development comparisons #1610 owns the local internal development viewer; its outputs are excluded from public builds/publication.
- Delivered core: record the Haiku 5.5 current-path eval reruns #1611/test(eval): rerun every Sonnet-measured current path on Haiku 5.5 #1612 records the first multi-model data and per-harness overrides in
docs/investigations/haiku-5-5-current-path-investigation.md. Its content-loss and summary judgments remain provisional under core: make the cross-family eval judge a runnable step and clear pending judgments #1608; the shared interface replaces the overrides without recalibrating stored Jev/floor/baseline evidence.
Constraints and non-goals
- Odysseus only. Every case, page and chart uses fictional Odysseus data; the leakage gate applies to generated pages too.
- Offline CI. Ordinary tests stay offline and keyless. Live runs are opt-in, use keys from the environment, stop on a usage limit or active overage, and respect Epic: use classification and deterministic code where generic prompting is wasteful #838's standing spend authorization and per-run caps.
- Frozen goldens. A rerun on another model or effort never recalibrates frozen floors or relabels goldens. A new calibration is a new, separately labelled measurement.
- No new product seam. The lab is repository tooling, not a shipped package surface. Nothing here changes CLI, MCP or frontmatter contracts.
- Local internal viewer only. The agent consults eval pages during development via an explicitly launched loopback viewer. No public Astro integration, new production deployment or product seam. Reading results is offline/keyless and never starts paid runs.
- Max effort is optional. A matrix excludes
maxby default and can include it explicitly. - Decisions stay human. The lab reports results; adoption decisions remain on their candidate issues and in decision records.
Breakdown
Tasks are attached as sub-issues:
- docs: record eval result retention and current-selection policy #1604 Decide where results live and how they are versioned, reconciling the measurement-archive ruling. The maintainer policy is settled; only its durable documentation addendum remains, and it no longer blocks layout preparation.
- core: give every eval scenario one home with a manifest #1605 Give every scenario one home with a manifest, covering cases, harness, tests, results and decision record, plus a generated index.
- core: share one model/provider/effort matrix runner across eval harnesses #1606 Define a shared model, effort and concurrency interface, and a matrix runner with resume, caps and stop conditions.
- core: normalize eval results into one versioned schema #1607 Define a normalized results schema, with a per-scenario adapter that produces headline metrics and provenance.
- core: make the cross-family eval judge a runnable step and clear pending judgments #1608 Make the cross-family judge a reusable, runnable step, so pending semantic or summary judgments do not stay manual.
- core: generate charts from normalized eval results #1609 Provide dynamic metric comparisons and exportable charts from normalized results.
- evals: provide a local internal website for development comparisons #1610 Provide the local internal scenario website for development comparisons, documented in eval developer instructions and excluded from public publication.
- core: record the Haiku 5.5 current-path eval reruns #1611 Record the Haiku 5.5 current-path reruns, the first multi-model data.
Definition of done
- Every active scenario under
evals/has a manifest and an adapter. - One command sweeps any scenario across a declared model × effort matrix.
- Every result file validates against the schema and records model, effort, commit and date.
- Charts and scenario pages regenerate from results deterministically, and are reviewed at phone and desktop widths.
- The eval developer docs explain local viewer operation; the public site build/publication excludes eval-viewer pages/assets/navigation.
- No result of a manual judgment is left pending without an issue.
2026-10-11 triage: folded settled #1604 policy and delivered #1611/#1612 source/limitations into the coordination specification; preserved native breakdown and no epic readiness. Priority p2 reflects wanted unscheduled lab work.
2026-10-13 maintainer scope correction: local internal eval website only, consulted by the coding agent during development; supersedes the public Astro/README-link output. Chart, retention, evidence and execution-authorization policies remain unchanged.
2026-11-10 triage at main 3aadc8df5: merged #3458 (2026-11-09, closing #3445 and #3452) added two scenario directories, evals/3445-propagation-triage/ (cases, harness, scorer and recorded 2026-11-03 results) and evals/3452-propagation-policy/ (harness and recorded results, no cases file of its own). Main now holds thirteen scenario directories beside evals/cases/, not the eleven counted in Why now (historical) and in the child briefs #1605–#1610. The definition of done already covers every active scenario, so both are in scope for a manifest (#1605) and an adapter (#1607). Breakdown, membership, priority and epic readiness are unchanged; no eval was run.
2026-11-17 source inventory at main 9e7429a914a8: merged #4071 added evals/3434-extraction-classifier/ (cases, harness, scorer and recorded results), bringing the active scenario-directory count to fourteen. It is included in the existing all-active-scenarios manifest/adapter scope of #1605/#1607. The dated eleven/thirteen counts retain their original source context; no eval was run in triage.
Activity
schlessera commentedon Nov 10, 2026
2026-11-10 triage at main
3aadc8df5: #3458 landed two new scenario directories (evals/3445-propagation-triage/,evals/3452-propagation-policy/), so the lab's scope is thirteen scenarios, not eleven. Recorded that in the body; the definition of done already covers them. The child briefs #1605–#1610 still say "eleven retained scenario directories" and need their inventories refreshed when next touched. Breakdown, membership, priority and readiness unchanged.