Skip to content

core: normalize eval results into one versioned schema #1607

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.

Scope

Define and document a repository-internal versioned structured-results schema and adapters for every retained scenario under evals/ (thirteen at 2026-11-10, listed in Context). Include immutable run ID, source/date/completion identity, cases/split/rubric/protocol identity, model/version, requested and observed/default/unknown effort, other evaluation parameters, runtime provenance, arm/repetition/case observations, metrics with units and denominators, invalid/abstention/fallback/write/destructive outcomes, pending judgment status and stop/partial status. Keep task-specific metric semantics instead of forcing scores into a universal quality number. Validate results before current-run selection. Adapt existing records without pretending inferred or missing legacy metadata was observed.

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

Each existing structured record (Sonnet, Haiku and Jev, including #3458's 2026-11-03 3445 results, 3445 with-diff results and 3452 results) imports without changing original files, denominators, frozen floors, vetoes or pending status. Offline parity tests demonstrate scenario metrics equal their existing scorers. Partial/invalid runs cannot become current or valid chart observations; pending judgments remain explicitly provisional and cannot certify destructive safety. Incompatible/unknown identities cannot be silently pooled. Deterministic schema validation and current selection honor #1604's completion-time/run-ID policy; repeated import is stable and does not overwrite immutable runs.

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.

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. Dependency-blocked readiness does not authorize bypassing prerequisites or executing paid calls.

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.
    agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.
    on Oct 11, 2026
  3. 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). Scope now names adapters for every retained scenario; the import criterion names #3458's Jev/Sonnet/Haiku 2026-11-03 records. 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.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