Skip to content

core: generate charts from normalized eval results #1609

Open

Description

@schlessera

Context

Source inspected at main d167ac7679bb66cddc90c2734fb4be3199d848f7: evals/README.md:1-22 records cases and per-harness model/effort overrides. The retained scenarios are every scenario directory under evals/ (everything except evals/cases/ and evals/README.md); scope follows that set, not a fixed count. Current list at main d79eeed0a (2026-11-10), thirteen: 839, 842, 843, 844, 845, 846, 847, 849, 850, 1416 and 1593, plus evals/3445-propagation-triage/ and evals/3452-propagation-policy/ added by #3458. Neither new scenario has a file under evals/cases/: 3445 reads its own cases.json, and 3452 has no cases file and reuses the #3445 corpus from the product test fixture packages/core/tests/fixtures/propagation-cases.json. docs/investigations/haiku-5-5-current-path-investigation.md records #1611/#1612's delivered current-arm-only comparison and its pending reviews. docs/decisions/experiment-tier.md governs offline scoring-test discovery; docs/decisions/measurement-archive.md is amended by #1604's current ruling. Read native parent #1603 and #1604's settled maintainer policy before implementation. Preserve all compatible immutable runs on main; archive superseded configurations at exact immutable commits before removal; raw transcripts remain outside Git. Current means latest complete validated run by completion time with stable run-ID tie breaking. Compare only full compatible evaluation identities (scenario/cases/rubric/protocol/model version/effort/other parameters, with material source/runtime differences distinguishable). Missing legacy identity stays unknown. Preserve frozen tuning floors, goldens, original result bytes and historical decision citations. No default-model change, product adoption, paid rerun or restored #1542 machinery is implied.

Blocked by #1607

Scope

Provide interactive chart exploration over #1607's normalized recorded results, with selectable X/Y metrics and deterministic exportable charts of the selected view. #1604 already selected observed variation: median with min–max whiskers by default, run count and units; one run is a point without an interval, and within-run repetitions are not separate runs. Preserve complete parameter grouping, provisional/pending status, vetoes and unknown legacy identity. The chart design is accepted (rev 3 plus rev 4, below); implement it rather than redesigning.

Out of scope

Product CLI/MCP/frontmatter contracts, provider migration, adoption rulings, recalibration, raw transcript publication, private data/deployments, live CI and replacement test infrastructure.

Acceptance criteria

The accepted implementation specification is rev 3 plus rev 4, under the recorded local-only, compatibility and statistical policies. Their controls/encoding/table/export design and proof criteria are the implementation baseline; acceptance does not imply existing runtime proof.

  • Implement authored headline/curated-secondary defaults, X/Y selectors, Swap/Reset and Summary / Individual runs, default Summary. Metric strips and tradeoff plots preserve definitions, units, denominators and clear view meaning; source data/authoritative current pointers remain read-only.
  • Summary coordinates and observed ranges use the same eligible paired independent-run set. Individual points retain run identity; within-run repetitions are not separate runs. Full evaluation identity, including cases/rubric/protocol/model/version/effort and other material parameters, governs grouping/comparability, not units/denominator alone. Unknown identity, missing pairs, partial/invalid runs and exclusions remain explicit and inspectable.
  • Preserve safety/veto/pending disclosures under every axis/view choice, with non-color-only status and no composite ranking/adoption inference. Missing/unknown values are not zero. One run has no interval; all larger summary sets retain observed min-max, no boxes/confidence claims.
  • Authored higher/lower indicators use clear correctly oriented wording; absent/neutral/unknown preference is unannotated. Log is linear-default and offered only for authored permission and strictly positive eligible values/range endpoints. Nonpositive evidence disables/refuses or returns the axis to linear with a reason; no silently dropped/clamped/offset values.
  • Synchronized accessible tables retain original values and provenance. URL state round-trips axes/view/scales; SVG/PNG/CSV/view-JSON exports reflect the same selected eligible evidence, status, scales, units and disclosure, deterministically for identical data/selection/theme. Page JSON remains evals: provide a local internal website for development comparisons #1610's separate responsibility.
  • Real local-browser proof covers axis/view/scale changes, swap/reset, positive/nonpositive and unsupported pairs, keyboard/focus, table-point synchronization, long labels, 320px/desktop, dark/paper, greyscale status and reduced motion. No provider requests, evidence mutation or public-site integration occurs.
  • Complete rev 3 acceptance plus rev 4 additions and meaningful restored mutations for pairing, missing-as-zero, compatibility, invalid/repetition inclusion, pending status, direction inference and log eligibility/clamping. Required local/selected hosted proof and reviewed artifacts remain mandatory.

Verification

Use keyless Odysseus fixtures (pinned date 2026-07-12), existing offline guards and the appropriate experiment/product test partition. Run focused tests/typecheck/lint and required PR proof. A meaningful mutation must fail the relevant validation, identity, metric or disclosure assertion before restoration. Live execution, when separately authorized and available, is recorded distinctly from offline implementation proof.

Contract impact

Repository-internal tooling/data only; no supported package/CLI/MCP/frontmatter change is authorized. Document the internal schema/interface as applicable.

Binding rulings

All recorded as maintainer comments on this issue; the accepted specification folds them in.

2026-10-24: removed the superseded proposal/handoff sections ("Current proposal awaiting review", "Revised local design proposal awaiting review", "Consolidated specification awaiting acceptance" and the interim instructions to keep needs: design/needs: decision without agent-ready), which the 2026-10-13 acceptance resolved; replaced them with the binding-ruling list above. The removed text is preserved in a comment. Specification, criteria and the #1607 dependency are unchanged.

Updated 2026-11-10: the scenario set is every retained scenario directory under evals/; the two #3458 scenarios (3445, 3452) are in scope beside the original eleven.

Activity

  1. added
    type: featA new capability or a change in user-visible behaviour.
    area: corepackages/core: the brain CLI, indexer, hybrid search, config, taxonomy, skills.
    on Oct 11, 2026
  2. added
    priority: p2Wanted, not scheduled. Pulled in when a milestone has room.
    blockedWaiting on another issue or an upstream dependency. Say which in the body.
    needs: designBlocked on a design drop or a visual answer.
    on Oct 11, 2026
  3. schlessera commented on Oct 11, 2026

    @schlessera
    OwnerAuthor

    Needs design — local internal eval development tooling (scope corrected 2026-10-13).

    The maintainer requires a local website consulted by the coding agent during development. It is not part of the public Astro site. Earlier public-site proposals are superseded. Chart/data policies are settled; the chart controls, paired-evidence eligibility and encoding design remain pending. #1610 owns local index/detail hierarchy, launch/stop workflow and public-output isolation; this chart issue supplies the embedded comparison capability.

    Design the current local-only scope of https://github.com/schlessera/brain-kit/issues/1609 under #1603.
    
    Read first:
    - Full latest bodies and rulings of #1603, #1604, #1609 and #1610. #1605 owns scenario manifests; #1607 normalized data; #1608 pending review execution. Existing actual blockers remain.
    - evals/README.md:1-22; docs/investigations/haiku-5-5-current-path-investigation.md, including Method, Limits and pending judgments.
    - docs/decisions/measurement-archive.md with #1604's amendment; docs/decisions/experiment-tier.md; docs/decisions/example-corpus.md. Existing scenario decision records determine adopted behavior; chart comparisons do not.
    
    Settled requirements:
    - Internal local development viewer only, explicitly launched on loopback and stopped after use. No public Astro routes/build/navigation, README marketing links, GitHub Pages output, production host or daemon requirement. Document local operation in eval developer docs.
    - Dynamic X/Y metric selection, including reliability/cost and latency/accuracy; Summary / Individual runs switch default Summary. Headline plus curated secondary metrics are authored defaults. Always median/min-max metric summaries; no box threshold or invented confidence interval.
    - Summary X/Y medians use the same eligible paired independent-run set; summary need not be an actual run. Individual points retain exact paired-run identity. Within-run repetitions are not independent runs.
    - Missing/unknown pairs are disclosed, not zero. Separate incompatible identities; preserve units/denominators, provisional/pending safety and vetoes, run counts, provenance, immutable evidence and authoritative current selection. No scoring/calibration/adoption changes or paid calls from viewing/controls.
    - Raw transcripts stay outside Git; use only allowed structured evidence. Odysseus alone, pinned 2026-07-12, with leakage gates intact.
    
    - Direction indicators show explicit authored higher/lower preferences with clear wording and axis-consistent orientation; unknown/neutral/context-dependent preferences remain unannotated. Never infer a ranking from names/values or weaken safety disclosure.
    - Axes default to linear. An explicit log toggle requires authored metric permission and strictly positive eligible values, including Summary range endpoints. Nonpositive values disable/refuse log with a reason and preserve linear view/table; never drop/clamp/offset runs. Review/log-label base/ticks and ratio meaning; tables retain original values/units. Scale state, axis swaps, views, captions and deterministic exports remain consistent with the same paired-run statistics.
    
    Design:
    1. Chart hierarchy and authored headline/curated-secondary defaults for each scenario. Ground selections in its existing decision/scoring record and actually recorded normalized metrics; include rationale, units, denominators and exact group/run provenance. Coordinate the internal manifest/adapter metadata with #1605/#1607. #1610 owns the surrounding viewer pages.
    2. Axis/view/metadata-permitted scale controls, paired-run eligibility, readable tradeoff plots and per-metric summaries, synchronized accessible tables and deterministic selected-view exports. Cover authored higher/lower/absent direction, allowed/disallowed scales, zero/negative/range-endpoint cases, swap/view/state round-trip and export/table agreement without choosing new statistics or scaling policy.
    3. Honest no-valid-run, missing-pair, incompatible, unknown, pending and veto states; essential safety/provenance must remain available after selection.
    4. Desktop and 320px layouts, keyboard/focus, non-color distinctions, long labels and chosen theme behavior. Provide annotated mocks and real browser acceptance criteria; a mock alone is not baseline approval.
    5. Define the smallest concrete internal chart/table/export interface consumed by #1610, including selected axes/view/filters, supported metric pairs, exclusions and deterministic artifacts. Do not introduce a product seam or take over #1610's local server/page/public-exclusion deliverable. No provider call or live-run button is selected.
    
    Deliverable: complete proposed interactive-chart design with labels, axis/view controls, paired-run eligibility, per-metric summaries, synchronized accessible tables and deterministic selected-view exports; ASCII mocks at 320px and desktop in dark/paper, and verifiable offline/browser/mutation criteria. Specify the concrete input/output integration consumed by #1610 without claiming its local viewer is built. Preserve the approved policies and actual dependencies. Post review on the issue before implementation; no public-site integration or publication is authorized.
    

    2026-10-13 triage refresh: narrowed this prompt to #1609's chart deliverable while retaining the settled local audience, statistical/metric policies and actual #1607 blocker. #1610 retains surrounding viewer workflow and public-output isolation. No new approval is implied.

    2026-10-13 triage refresh: removed superseded choices from the active prompt and incorporated all later recorded rulings inside the self-contained design brief. All current policy choices are settled; retain needs: design for complete feasible specification review and actual dependencies/proof. Source remains inspected main 857ab01d1f9cb591f928755f5be516ab7f73338e; no new approval, implementation or baseline/publication result is claimed.

    Latest complete review input: #1609 (comment). Review/accept rev 3 plus rev 4 or identify bounded corrections to feasibility, state/copy/layout and proof. Existing choices stay settled; this full-spec acceptance remains needs: design. Do not treat the proposal's own completeness statement as approval.

    2026-10-13 explicit acceptance: the maintainer accepted rev 3 plus rev 4 as the implementation spec. Complete design/specification acceptance is resolved; implement against the current active body and these linked revisions, without reopening settled policies. Retain full identity/paired-run/safety/direction/log/local-output semantics and actual runtime/browser/export/mutation proof. needs: decision/design are cleared; agent-ready plus blocked by #1607 reflects a complete brief awaiting real normalized data. Acceptance is not proof or publication.

  4. schlessera commented on Oct 12, 2026

    @schlessera
    OwnerAuthor

    Design brief: eval result charts (#1609)

    Recommendation: one chart form only, the labelled dot-and-range strip. It has one row per compatible evaluation identity and one panel per headline metric, with each scenario's own denominator. There is no cross-scenario chart, no composite score and no ranking. Vetoes, destructive errors and pending reviews are separate count columns beside the strip, never points on the quality axis. Every chart ships with its data table, and at 320 px the table is the primary form. Shared with #1610, which places these figures on scenario pages.

    Read: #1609, #1604 rulings (median plus min–max observed range, run count, one run is a point), evals/README.md, the Haiku investigation's results and its "Limits and pending judgments" (shapes: type / target of 57, precision; false-report vetoes, exact of 303, pending content-loss cells), website/DESIGN.md (identity, dark/paper, teal focus, 75ch reading width, tables scroll intentionally).

    Encoding

    839 smart capture · type correct, held-out (of 57)                   current runs · 2026-10-11
                                        0        19        38        57   runs  reps/run  content-loss   no-writes
    claude-sonnet-5-5 · effort default  ┼─────────┼─────────┼────────●┤    1     3         0             0
    claude-haiku-5-5  · effort default  ┼─────────┼──────●──┼─────────┤    1     3         26 pending    1
    claude-haiku-5-5  · effort max      ┼─────────┼─────────┼─├─●─┤   │    3     3         pending       0
                                                                      ●  median   ├─┤ observed min–max (not a confidence interval)
    Hypothetical alternate models are comparisons, not adopted behaviour. Recorded decision: no-go (smart-capture.md).
    
    • x axis: the metric's own scale. For counts it is 0 … N with of N in the title, and the denominator is never normalised to a %. A precision metric uses 0–100 % with its denominator in the table. One panel per metric. Two metrics never share an axis.
    • Rows: the full identity label in words, model · effort + any other differing parameter (protocol v2, cases 2026-09). Rows sharing a scenario, cases, rubric and protocol sit in one panel. Incompatible identities get separate panels, each with its own heading (Protocol v1 (before 2026-09-14) · not comparable with the panel above).
    • Marks: a median dot. A whisker min–max only when runs ≥ 2. One run is a dot with no whisker, and the runs column reads 1. Within-run repetitions only appear in the reps/run column and are never plotted. A box (quartiles) is used only at ≥ 8 runs, labelled box = middle half of runs.
    • Status by shape and words, never colour alone:
      • ● complete validated (current)
      • ○ provisional: pending judgments could move it. This is shown with provisional in the row label.
      • Excluded rows (partial or invalid) are not plotted. They are listed under the panel: Not shown: 1 partial run (2026-10-09), 1 invalid run (scorer error).
    • Safety columns (vetoes, content-loss, destructive errors, no-writes): plain counts. pending reads as text in gold ink with ▲, and is never 0 and never blank. A row with any pending safety review carries provisional in its label, and the chart caption says Pending reviews count as possible content loss.
    • Unknown identity: effort unknown / model version unknown (legacy) in the row label. A row with unknown identity is never merged into a known row.
    • Colour: a single ink for marks. Model is not hue-coded: rows are labelled directly, so there is no legend to decode. Amber marks only the current run's dot. Gridlines use a 20 % ink mix (the website table rule). Dark and paper use the site's ink-dark/ink-paper and muted tokens. Text is ≥ 4.5:1. The dot is ≥ 3:1 against the ground.

    When it is a table, not a chart

    A strip is not drawn when:

    • the metric has no meaningful ordered scale, such as alias recall 30/30 for every row;
    • the rows' denominators differ;
    • there is only one row.

    Then the scenario shows only its table, with the line No chart: {reason}. (all rows score the same, denominators differ between rows, one configuration only).

    Exported artifact

    • SVG plus PNG (2×) per panel, deterministic: fixed font files, sorted rows, no timestamps except the run dates in data. Files: evals/<scenario>/charts/<metric>.svg|png.
    • A caption baked into the figure footer: scenario, metric, of N, median and observed min–max across independent runs, the run dates and source commit, and provisional when it applies. The figure is readable on its own (render: a link in a shared PDF shows its text, never its destination #558-style honest exports).
    • <metric>.csv beside it, with the same rows as the table.

    Accessible table (always rendered under the figure)

    Configuration Status Median Range Runs Reps/run Content-loss Source
    claude-sonnet-5-5 · effort default current 57 of 57 — (1 run) 1 3 0 results-2026-09-…json @Abc1234
    claude-haiku-5-5 · effort default provisional 42 of 56 — (1 run) 1 3 26 pending results-haiku-5-5-2026-10-11.json @…

    The figure is role="img" with an aria-label summarising the panel, aria-describedby → the table. The table is a real <table> with <th scope>, in a labelled horizontal scroll region (tabindex="0", named Data for 839 type correct).

    320 px vs desktop

    320 px ─────────────────────────────    desktop (75ch column) ───────────────────────────────
    │ Type correct, held-out (of 57)    │   │ label column 260px │ strip 0…57 │ runs reps loss │
    │ claude-sonnet-5-5 · default       │   ──────────────────────────────────────────────────────
    │ ┼────────────●┤  1 run · loss 0   │
    │ claude-haiku-5-5 · default        │
    │ provisional                       │
    │ ┼──────●─────┤ 1 run · ▲ 26 pend. │  ← "26 pending" in the table; chart row wraps, never truncates
    │ [ data table, scrolls → ]         │
    ──────────────────────────────────
    

    At ≤ 480 px each row stacks: the label line, then the strip plus its inline counts. Long model and metric labels wrap. No interactivity is required. There is no hover-only information.

    Acceptance (fixture renders)

    1. Identical inputs give byte-identical SVG, PNG and CSV.
    2. A 1-run row has no whisker; a 3-run row has min–max; the label says observed, never CI.
    3. A pending safety cell renders pending, never 0, and its row is labelled provisional.
    4. Incompatible protocol rows render in separate panels with a not-comparable heading.
    5. Partial and invalid runs are listed as not shown and never plotted.
    6. Unequal denominators produce the table only, with its reason line.
    7. 320 px and desktop, dark and paper: contrast, wrapping, and status distinguishable in greyscale.
    8. A mutation (dropping the denominator, or plotting a pending cell as 0) fails.

    Open questions

    1. Headline metric per scenario: take each decision record's reported headline (as in the investigation table, proposed), or chart every metric the result file has?
    2. Box at ≥ 8 runs: keep it, or always dot-and-range?
  5. added
    needs: decisionBlocked on a maintainer or designer ruling, not on code.
    needs: designBlocked on a design drop or a visual answer.
    and removed
    needs: designBlocked on a design drop or a visual answer.
    on Oct 12, 2026
  6. schlessera commented on Oct 12, 2026

    @schlessera
    OwnerAuthor

    2026-10-12 triage: folded the newly posted proposal and exact review questions into the current body. Its recommendation is not recorded approval; retained needs: decision and restored needs: design for the remaining judgments, with existing binding rulings, real blockers and evidence intact.

  7. schlessera commented on Oct 13, 2026

    @schlessera
    OwnerAuthor

    Design review rev 2: eval charts (#1609)

    This is a self-review of the first brief against #1604's rulings and #1610's page design. It fixes four contradictions and folds the result into checkable acceptance criteria. The direction is unchanged: labelled dot-and-range strips, one panel per metric, safety counts in separate columns, and the table always present.

    Corrections

    # Rev 1 said Problem Fix
    C1 One mock panel holds of 57 rows, while its table reads 42 of 56 for Haiku That breaks rev 1's own rule that "denominators differ → table only" A panel holds only rows with an equal denominator. In the illustration, the Haiku default row is moved to a table-only block: No chart: denominators differ between rows (57 vs 56). See Q3 for the general policy.
    C2 "Amber marks only the current run's dot" Every plotted row already is the current run for its identity, so amber would encode nothing. Earlier runs live in #1610's All runs table. Remove the amber. All marks use one ink. Status is shown by shape and words only (● complete validated, ○ provisional).
    C3 Shipped and alternate-model rows are mixed in one panel, but #1610 splits them into two sections on separate axes Separate axes defeat the comparison. Mixing the rows invites reading an alternate as adopted. One panel, two row groups, sharing the axis:
    • Shipped path (the model the recorded decision is for)
    • a ruled sub-heading Comparisons · not adopted, then the alternate rows
    #1610 consumes this panel unchanged (see its rev 2).
    C4 The themes of the exported figures were unspecified Inline SVG on the site and downloaded files have different needs On site, the inline SVG uses the site's CSS tokens, so it follows dark/paper. The downloaded SVG/PNG are paper theme only, so they are stable for README and GitHub embedding and stay byte-deterministic.

    Revised panel (desktop, 75ch column)

    839 smart capture · type correct, held-out (of 57)                                 runs reps  content-loss no-writes
                                             0        19        38        57
    Shipped path
    claude-sonnet-5-5 · effort default       ┼─────────┼─────────┼────────●┤          1    3     0            0
    ─ Comparisons · not adopted ──────────────────────────────────────────────
    claude-haiku-5-5 · effort max            ┼─────────┼─────────┼─├─○─┤   │          3    3     ▲ pending    0
      provisional
    ● median · ├─┤ observed min–max across independent runs (not a confidence interval) · ○ provisional
    Not shown: claude-haiku-5-5 · effort default (scored of 56; see table) · 1 partial run (2026-10-09)
    

    The numbers are illustrative only. Themes:

    • Dark: ink-dark marks, muted gridlines at a 20 % mix, ▲ pending in gold ink.
    • Paper: ink-paper, the same structure.

    Status reads in greyscale through ●/○, provisional and ▲.

    320 px: as in rev 1, each row stacks (label line, then strip plus inline counts), and the group sub-heading wraps. The table follows the figure and scrolls horizontally inside a labelled region.

    Folded acceptance criteria (replace rev 1's list)

    1. Identical inputs give byte-identical SVG/PNG/CSV.
    2. A one-run row has no whisker. A row with ≥ 2 runs has a min–max whisker. No text anywhere says CI or confidence.
    3. Within-run repetitions appear only in reps, and are never plotted or counted as runs.
    4. A panel only contains rows with identical scenario, cases, rubric, protocol and denominator. A fixture with mixed denominators produces the table only, with the reason line.
    5. Rows that differ in protocol or rubric go in separate panels with a not comparable heading. Unknown-identity rows are never merged into known rows.
    6. A pending safety cell renders ▲ pending, never 0 and never blank. The row is provisional and drawn as ○.
    7. Alternate-model rows render only under Comparisons · not adopted, below Shipped path.
    8. Partial and invalid runs are listed under Not shown, never plotted, and never current.
    9. Fixture renders at 320 px and desktop, in dark and paper: text ≥ 4.5:1, marks ≥ 3:1, long labels wrap without truncation, and the greyscale capture still distinguishes status.
    10. Each of these mutations fails a test: plotting pending as 0, dropping the denominator, merging an unknown-effort run, labelling the range CI, plotting a partial run, and putting an alternate row under Shipped path.

    Open questions (rev 1 Q1–Q2 still open, plus one)

    1. Headline metric: chart each decision record's headline metric (proposed), or every metric in the result file?
    2. Box at ≥ 8 runs: keep it, or always use dot-and-range?
    3. Unequal denominators (abstentions or invalid cases reduce N for one row): table only (proposed, strict), or plot a rate as a % of scored cases, with n shown per row?
  8. schlessera commented on Oct 13, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-10-13): C — headline metrics plus curated secondary metrics.

    Chart the established scenario headline metrics plus explicitly selected secondary metrics that explain relevant tradeoffs, using recorded normalized evidence. Record each scenario's selection, definition, units/denominator, order and rationale in its authored manifest/adapter metadata coordinated with #1605/#1607. Do not automatically chart every key, invent missing metrics, recalibrate goldens or make a universal ranking.

    Full metric tables remain inspectable. Safety vetoes, destructive errors and pending reviews stay prominent regardless of secondary selection; unknowns remain unknown and incompatible identities remain separate. Exact secondary selections are reviewed design work within this policy.

    Updated the body. The box-at-eight-runs question remains open; needs: decision stays alongside needs: design and the existing #1607 blocker. No generated-chart or adoption approval is claimed.

  9. 9 remaining items

  10. schlessera commented on Oct 13, 2026

    @schlessera
    OwnerAuthor

    2026-10-13 triage: folded the newly posted local rev 3 proposal and its two specific review questions into the active brief. Prior audience/statistical choices remain settled; these newly introduced choices are recommendations, not approvals. Preserved needs: decision and restored needs: design for complete-spec review, alongside real data blockers and offline/public-output boundaries.

  11. schlessera commented on Oct 13, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-10-13): A — direction indicators only for explicitly authored metric preferences.

    Show higher/lower wording with the indicator and orient it consistently with the chosen axis. Unknown, neutral or context-dependent directions remain unannotated; never guess from names or recorded values. The preference is metric-specific, not an overall ranking/adoption judgment, and does not replace safety/pending disclosures. Axis swap, view changes, accessible descriptions and exports retain the authored meaning.

    Updated the body and design handoff. Log-scale support remains open, so needs: decision stays alongside needs: design and the normalized-data dependency. Local-only/paired-run/summary rules remain settled.

  12. schlessera commented on Oct 13, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-10-13): B — authored log-scale permission, linear default.

    Offer a clearly labelled explicit log toggle only where authored metric metadata permits it. If selected eligible evidence contains zero/negative values or Summary range endpoints, disable/refuse log with a reason and keep the linear view; never drop/clamp/offset such values silently. Tables show original values. Axis/view state and exports retain selected scale labels, units, paired-run eligibility, observed min-max meaning, direction indicators and safety/provisional disclosure.

    Updated the body and design handoff. All current #1609 policy questions are settled; removed needs: decision. needs: design and the #1607 blocker remain, with no agent-ready until complete interaction/encoding and actual browser/export/mutation proof are reviewed. No public-site integration or live evaluation is authorized.

  13. removed
    needs: decisionBlocked on a maintainer or designer ruling, not on code.
    on Oct 13, 2026
  14. schlessera commented on Oct 13, 2026

    @schlessera
    OwnerAuthor

    Design brief rev 4: direction indicators and log scale folded in (#1609)

    This folds the two remaining 2026-10-13 rulings into rev 3:

    • A: direction indicators only where a preference is authored;
    • B: an authored log permission, with linear as the default.

    Everything else in rev 3 stands unchanged: the two chart forms, the controls, paired-run eligibility, encoding, the synchronized table, exports, 320 px, and the Summary / Individual runs switch defaulting to Summary.

    1. Metric metadata (authored in the scenario manifest/adapter, #1605/#1607)

    metric: cost_per_case
      label: "Cost per case"   unit: "USD"   denominator: null
      role: secondary           rationale: "cost side of the quality/cost tradeoff"
      preference: lower | higher | none      # absent ≡ none
      scale: linear | log-allowed            # absent ≡ linear
    

    preference and scale are never inferred from the metric's name or its values.

    2. Direction indicators

    • Shown only when preference is higher or lower.
    • Axis titles carry both words and an arrow that points along that axis:
      • Y axis: Type correct · of 57 — higher is better ↑
      • X axis: Cost per case · USD — lower is better ← (for X, the arrow points left when lower is better)
    • After Swap, the arrows re-orient to the new axes, so the meaning is unchanged.
    • Neutral or absent preference: no arrow and no words.
    • Accessible text and exports:
      • The chart's aria-label includes higher is better / lower is better per axis.
      • The table header cells carry the same text in a visually hidden span.
      • The export footer restates the preference for each axis.
    • No synthesis. No "better quadrant" shading, frontier, or combined ranking is ever drawn. The indicator is per metric, and safety disclosures are unaffected.

    3. Log scale

    X [ Latency p50 · ms ▾ ]   Scale ( Linear | Log )      ← only rendered when the X metric is log-allowed
    Y [ Type correct · of 57 ▾ ]                            ← no scale control: metric is linear-only
    
    • When the control appears. A per-axis Scale radio group (Linear | Log) is rendered only when that axis's metric is log-allowed. The default is Linear.
    • When Log is disabled. Log is disabled when the selected eligible evidence has any value ≤ 0, or any Summary range endpoint ≤ 0, on that axis. It stays visible with a reason line: Log scale unavailable: 2 runs record 0 ms (or … a range reaches 0). The view stays linear. Nothing is dropped, clamped or offset.
    • If the evidence changes later. Switching view or axes, or a data change, can make Log invalid while it's selected. The axis then falls back to Linear, with the same reason line and a polite status message: Scale set to linear: values at or below 0.
    • Labelling.
      • The axis title gets (log scale).
      • Ticks sit at powers of 10 with 2 and 5 subdivisions, labelled in original units.
      • Whiskers are drawn in log space with the same min–max meaning, and the legend still reads observed min–max across runs.
    • Table. The table always shows the original values and never log-transformed ones.
    • State and exports. The URL carries xs=log / ys=log. The export filename gains __xlog / __ylog. The footer states the scale per axis.
    • Targets. The Scale radio group follows rev 3's target and focus rules: 44 px at ≤ 480, ≥ 32 px with 8 px spacing on desktop, arrow-key operation.

    4. Acceptance additions (append to rev 3 §8)

    1. Direction.
      • An authored lower gives lower is better with an arrow oriented to its axis, and it stays correct after Swap.
      • A neutral or absent preference shows nothing.
      • The aria-label, table and export all carry the same wording.
      • Mutation: a name-inferred preference fails.
    2. Log.
      • The scale control appears only for log-allowed metrics.
      • Log is disabled with the reason when there are zero/negative values or range endpoints, and falls back with a status message if one appears later.
      • The table keeps original values.
      • URL state and exports record the scale.
      • Mutations: clamping or dropping values ≤ 0, or offering log for a linear-only metric, fail.
    3. Byte-identical exports for identical evidence + view + axes + scales.

    Follow-up for the maintainer

    All policy is ruled. Accept rev 3 + rev 4 as the implementation spec (still blocked by #1607 for real normalized data)? Or name the section that needs another pass.

  15. added
    needs: decisionBlocked on a maintainer or designer ruling, not on code.
    needs: designBlocked on a design drop or a visual answer.
    and removed
    needs: designBlocked on a design drop or a visual answer.
    needs: decisionBlocked on a maintainer or designer ruling, not on code.
    on Oct 13, 2026
  16. schlessera commented on Oct 13, 2026

    @schlessera
    OwnerAuthor

    2026-10-13 triage: consumed the newly posted rev 3 plus rev 4 consolidated specification and reconciled the prior settled choices. The remaining explicit request is full design acceptance or bounded corrections, so retained needs: design and removed the decision label that would reopen settled policy. Preserved actual dependencies and proof; proposal completion is not acceptance or runtime delivery.

  17. schlessera commented on Oct 13, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-10-13): A — accept chart-design rev 3 plus rev 4 as the implementation spec.

    The accepted design includes dynamic axes, both views (Summary default), eligible paired independent-run summaries, observed ranges, authored direction, metadata-gated log, synchronized accessible tables and deterministic selected-view exports. Retain all full evaluation-identity/compatibility, missing/unknown/pending-safety, local-only/read-only and no-provider-call policies. Active implementation criteria now fold in the accepted specification and actual browser/export/mutation proof.

    Removed needs: decision and needs: design; added agent-ready for the complete brief while preserving blocked by #1607. Data availability remains a prerequisite. This records specification acceptance, not implementation, passing proof, merge or publication.

  18. added
    agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.
    and removed
    needs: designBlocked on a design drop or a visual answer.
    on Oct 13, 2026
  19. schlessera commented on Oct 24, 2026

    @schlessera
    OwnerAuthor

    2026-10-24: the following sections were removed from the body because the 2026-10-13 acceptance of rev 3 plus rev 4 superseded them. They are preserved here verbatim as history; the active specification and a list of the binding rulings remain in the body.

    Removed body text

    2026-10-11 triage: completed the empty brief from #1603 and settled #1604 policy; priority p2 means wanted unscheduled work. Preserve native parent, assignments and milestones. Design remains unresolved; the prompt is a request, not approval.

    2026-10-11 source-pointer reconciliation at main 39e88664412c421285d491beaa58f9e2fa14b142: refreshed the existing design prompt’s website layout/navigation anchors after #1463. The prompt remains unapproved and all existing design/dependency prerequisites remain.

    Current proposal awaiting review — 2026-10-12

    The new design review supplies a proposal and precise remaining questions; it is not recorded maintainer approval of the revised interaction. Existing approved rulings, dependencies, exclusions and evidence remain binding. All current maintainer policy choices are settled by the later dated rulings below. Retain needs: design for the complete feasible interaction/packing specification and its required proof; no needs: decision remains for these resolved choices.

    Open questions

    1. Metric selection is resolved by the 2026-10-13 ruling below: established headline metrics plus an explicitly curated set of useful secondary metrics per scenario.
    2. Distribution encoding is resolved: always median dot plus observed min-max whiskers in the metric-summary view, with no box-plot threshold.
    3. Tradeoff granularity is resolved below: support Summary and Individual runs, defaulting to Summary.

    These illustrative panels/pages select no new metric, statistic, model, evaluation result or paid-run authorization. Preserve #1604’s recorded median/min–max, independent-run, denominator, immutable identity and honest pending/unknown rules; retain actual unbuilt manifest/schema/chart dependencies.

    Decision (maintainer, 2026-10-13): headline plus curated secondary metrics

    C — chart established headline metrics and a curated set of useful secondary metrics. Keep each scenario's established headline metrics grounded in its decision record and scoring definition. Add explicitly selected secondary metrics where they illuminate reliability, agreement, latency, token/cost consumption or another scenario-relevant tradeoff. Select only metrics actually present in validated normalized evidence; do not synthesize a universal score, infer unknown cost/effort or change scoring/calibration to supply a chart.

    Record per-scenario selections, metric definitions/units/denominators, presentation order and short rationale in the scenario-owned internal manifest/adapter or equivalent authored metadata coordinated with #1605/#1607. Do not automatically chart every result key or change an old adoption decision based on the display choice. Exact secondary selections remain part of the design/evidence review under this approved policy.

    Keep complete underlying metric tables available. Safety vetoes, destructive errors and pending reviews remain prominent independent disclosures rather than optional secondary charts or points on a quality axis. Compare compatible evaluation identities only, using the settled independent-run/observed-variation rules. Unsuitable scales or differing denominators yield honest tables under the reviewed presentation rules.

    The distribution question was subsequently resolved below. Dynamic tradeoff semantics were subsequently resolved below; all policy questions are settled. Retain needs: design and the #1607 blocker; no agent-ready until the approved design and data prerequisite are complete. No chart, metric value, paid run, baseline or adoption is approved by this selection.

    2026-10-13 correction: selected established headline metrics plus explicitly curated secondary metrics; updated the active metric-selection question. Distribution encoding and full design review remain outstanding.

    Decision (maintainer, 2026-10-13): dynamic metric comparisons

    Charts must support selecting a specific X metric against a specific Y metric, including reliability versus cost and latency versus accuracy. Preserve the selected headline-plus-curated-secondary policy as scenario defaults, and provide axis choices from supported recorded quantitative metrics with explicit definitions, units and denominators. Do not invent absent cost or quality metrics. Use #1610's internal local development website with client-side exploration of recorded structured evidence, with no public Astro integration, live measurement or provider call. #1610 consumes this capability.

    Selections affect the displayed comparison only; they never change the authoritative latest-complete-validated current pointer, stored evidence, scoring, adoption or calibration. Pair X and Y from compatible matching evidence; an axis selector must not silently join unrelated run sets or aggregate different denominators. Missing/unknown pairs remain disclosed and inspectable rather than becoming zero. Pending safety remains prominent regardless of selected axes. Exports include selected axes, units, provenance and provisional status; tables remain accessible and synchronized with the view.

    Point granularity is resolved by the later C ruling below: both configuration summaries and paired individual runs, with Summary as default. The full control/encoding design, supported-pair rules and responsive/accessibility proof require refreshed design review. Retain needs: design and the existing blocker; remove needs: decision once the later C ruling is folded in, and do not add agent-ready.

    Decision (maintainer, 2026-10-13): dot-and-range summaries at every run count

    B — always use a median dot with observed minimum-maximum whiskers for compatible metric summaries. One independent run is a point without an interval; within-run repetitions are not independent runs. No automatic switch to quartile boxes at eight runs. This summary-view ruling complements the later Summary / Individual runs selection and does not authorize invented confidence intervals. Full per-run data remains inspectable.

    2026-10-13 correction: added the requested dynamic X/Y exploration and resolved distribution encoding as B. Static-only/no-controls proposals are superseded where they conflict; point granularity and full interactive design remain open.

    Decision (maintainer, 2026-10-13): both tradeoff views, default Summary

    C — provide a Summary / Individual runs switch, defaulting to Summary. Summary shows one point per compatible model/configuration group, using the selected X and Y metric medians from the same eligible paired-run set. Identify it as a summary: its coordinates need not describe any single actual run. Show run count, metric units/denominators, group identity, missing-pair exclusions and observed ranges in accessible details/tables under the reviewed design; do not invent confidence regions or correlations.

    Individual runs plots one paired X/Y point per eligible independent recorded run with run identity and provenance. Within-run repetitions are not separate independent-run points. The switch and axis selectors operate on locally available recorded evidence only, preserve compatible grouping, provisional/unknown safety disclosures and authoritative current selection, and trigger no paid rerun or adoption change. Missing values are never zero; exclusions and raw eligible rows remain inspectable. Partial/invalid runs are not plotted as valid measurements. Exact supported pairing and visual encoding are reviewed design work within these constraints.

    Exports and accessible tables reflect the selected axes and view, with deterministic artifacts for identical data and selection. Headline/curated-secondary metrics remain authored defaults and the one-metric summary view retains median/min-max at every run count (no automatic boxes). This is repository-internal local viewer tooling, with no public site integration or new product seam.

    All maintainer policy questions are now resolved. Remove needs: decision; retain needs: design and the canonical #1607 dependency, with no agent-ready, for the complete revised interaction/encoding, metric-pair eligibility, actual 320px/desktop keyboard/theme/browser proof and reviewed artifacts. #1610 must consume this interactive capability inside the local development-only viewer; static-only/no-control proposals are superseded where they conflict.

    2026-10-13 correction: approved both paired-run and configuration-summary tradeoff views, default Summary. Removed needs: decision; full interactive design and normalized-data dependency remain open.

    Audience/scope correction — 2026-10-13

    The maintainer clarified on #1610 that the eval website is local internal development tooling consulted by the coding agent, not part of public website/. This supersedes earlier references to the public/generated Astro site. Preserve the selected dynamic axes, both views (default Summary), headline/curated secondary defaults and median/min-max summaries. Recorded-data exploration is offline/keyless; exports and chart controls do not publish evidence or run evaluations. #1610 owns local hosting/navigation and exclusion from public builds. All #1609 policy questions remain resolved; needs: design and the normalized-data blocker remain.

    2026-10-13 correction: reconciled chart audience/embedding with the local-only #1610 ruling, preserving all chart/statistical choices.

    2026-10-13 triage reconciliation: removed the superseded decision-label instruction from the active proposal handoff. The recorded choices and remaining design/data/runtime proof remain unchanged.

    Revised local design proposal awaiting review — 2026-10-13

    Rev 3 supplies a proposal under the approved local-only audience and prior statistical/interaction policies. Those existing choices remain settled. The revision introduces these new concrete review questions; no option is approved by the proposal:

    1. Direction indicators are resolved by the later A ruling below: show them only for explicitly authored higher/lower preferences, with unambiguous wording and no inferred ranking.
    2. Scale policy is resolved by the later B ruling below: linear by default, with a log toggle only where authored metric metadata permits it and eligible values support it.

    These choices are resolved by the later dated rulings below. Retain needs: design for acceptance of the complete revised controls/encoding or local-viewer hierarchy/state/output-isolation specification; no current needs: decision remains for those resolved choices. Preserve existing canonical data blockers, offline/keyless viewing, truthful identity/paired-run/safety/unknown provenance, no provider call or adoption change, and no public website integration. Review the complete proposal against current source and feasible runtime/browser/mutation proof before adding agent-ready. No implementation or baseline/publication result is claimed.

    Decision (maintainer, 2026-10-13): authored direction indicators only

    A — show better-direction indicators only when metric metadata explicitly supplies the preference. Include unambiguous higher/lower wording beside the indicator (for example lower latency is preferable or higher accuracy is preferable); orient any graphic consistently with the selected axis. Do not infer preference from the metric name, values, model, cost or scoring outcome. Missing, neutral, context-dependent or unknown direction stays unannotated.

    The indicator describes preference for that individual metric under its authored definition, not a composite score, best configuration, product adoption or permission to trade away a safety veto. Maintain the preference across axis swaps, view changes and deterministic exports, with metadata/units/denominators and accessible table descriptions preserved. Test authored higher/lower and absent direction, swapped axes and exported/accessible wording. Pending reviews and safety counts remain prominent independent disclosures.

    The linear-only versus authored-log-scale question remains open. Keep needs: decision and needs: design plus the canonical data blocker, with no agent-ready. The local-only audience and all prior metric/paired-run/view/statistical choices remain binding; this is not full design or baseline approval.

    2026-10-13 correction: recorded authored-only direction option A; log-scale support and complete interactive design review remain unresolved.

    Decision (maintainer, 2026-10-13): metadata-approved logarithmic scales

    B — default to linear axes and allow an explicit log toggle only for metrics whose authored metadata permits it. Permission is metric-specific, not inferred from cost/latency naming, observed span or positive values alone. Clearly label each selected scale, define its base/ticks consistently in the reviewed design, and explain that log spacing represents ratios. X and Y choices retain their own resolved eligibility and scale semantics across swap/view changes.

    Zero and negative values cannot be represented on an ordinary logarithmic axis. If the selected eligible evidence contains a nonpositive value (including an observed-range endpoint in Summary), disable/refuse that log choice with a clear reason and retain a valid linear view/table. Do not silently exclude such runs, clamp them, add an arbitrary offset or substitute a small positive number. Missing/unknown values retain the existing pairing/exclusion disclosure; scale choice cannot invent evidence. Authored permission is necessary, not sufficient to force log use on unsuitable data.

    Selected scales round-trip in the view state and appear in exports and accessible captions; tables retain original values/units, not logarithm-transformed numbers. Summary points and min-max whiskers still use the same paired-run set, independent-run counts and original statistical definitions. Keep authored direction indicators, provisional/safety disclosures and compatibility grouping. No automatic log selection, confidence interval or ranking is introduced.

    All current policy questions on #1609 are resolved. Remove needs: decision; retain needs: design and the canonical #1607 blocker, with no agent-ready, for the complete local interaction/encoding review and actual browser/export/mutation proof. Test allowed/disallowed metadata, positive and zero/negative data, range endpoints, axis swaps, view changes, state round-trip and export/table agreement. Earlier local-only, paired-run, both-view and metric-selection decisions remain binding.

    2026-10-13 correction: approved metadata-gated log option B, default linear, with explicit nonpositive handling; removed needs: decision and retained design/data prerequisites.

    2026-10-13 triage reconciliation: consumed all later recorded choices and removed superseded live-question/readiness instructions from the active handoff. Complete feasible design acceptance, actual data dependencies and runtime/browser/mutation proof remain; no new choice or delivered behavior is claimed.

    Consolidated specification awaiting acceptance — 2026-10-13

    The latest rev 3 plus rev 4 proposal folds the recorded choices into a proposed implementation specification and explicitly asks for acceptance or bounded corrections. Prior policy choices remain settled; that complete-spec review is needs: design, not a reopened policy choice. Retain needs: design and the existing canonical implementation dependencies. A specification proposal does not record its own acceptance, implementation proof or baseline approval. Fold recorded acceptance and any corrections into the active criteria before adding agent-ready.

    Decision (maintainer, 2026-10-13): accept consolidated chart specification

    A — accept rev 3 plus rev 4 as the implementation specification. This resolves the complete-design acceptance request; all earlier audience/statistical/metric/view/direction/scale choices remain binding. The active criteria above fold in the accepted controls, encoding, eligibility, synchronized tables/exports and runtime/browser/mutation requirements. Full identity compatibility remains mandatory even where a proposal summarizes it narrowly.

    Remove needs: decision and needs: design. The implementation brief is complete, so agent-ready applies alongside the actual #1607 blocker, which still withholds pickup until normalized evidence is available. Do not clear the blocker merely because design is accepted. No implementation, passing runtime/export/accessibility result, merge or publication is claimed by this ruling.

    2026-10-13 correction: recorded explicit rev-3-plus-rev-4 acceptance, replaced active criteria, cleared design/decision prerequisites and retained the real normalized-data blocker.

  20. schlessera commented on Nov 10, 2026

    @schlessera
    OwnerAuthor

    2026-11-10 triage at main d79eeed0a: merged #3458 added evals/3445-propagation-triage/ and evals/3452-propagation-policy/, so evals/ now holds thirteen retained scenario directories, not eleven. Context now defines the set as every scenario directory under evals/ and keeps a dated list of the thirteen for reference. Neither new scenario has a file under evals/cases/ (3445 has its own cases.json; 3452 reuses packages/core/tests/fixtures/propagation-cases.json). Labels and readiness unchanged; no eval was run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: corepackages/core: the brain CLI, indexer, hybrid search, config, taxonomy, skills.blockedWaiting on another issue or an upstream dependency. Say which in the body.priority: p2Wanted, not scheduled. Pulled in when a milestone has room.type: featA new capability or a change in user-visible behaviour.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions