Skip to content

core: share one model/provider/effort matrix runner across eval harnesses #1606

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 #1605
Blocked by #1607

Scope

Consume scenario discovery and normalized results to provide one explicit model, effort, repetitions and concurrency interface plus an opt-in matrix runner. Record effective configuration and unknown provider defaults honestly. Preserve scenario-specific product paths, isolation and scoring; non-default current-arm comparisons reuse stored Jev/floor/baseline evidence unless a separately authorized measurement expressly includes those arms. Support validated resume/idempotence without treating partial execution as completion. Provide keyless fake-provider tests and an explicit live invocation; ordinary CI never starts live calls.

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

A configured matrix expands deterministically into scenario/model/effort cells; omitted effort is visibly default/unknown rather than an invented level. Default execution excludes max effort unless explicitly selected. Concurrency is bounded and each run isolated; cancellation/provider limits/invalid responses yield explicit partial status. Resume executes only missing work of the identical full parameter identity, retaining prior immutable complete runs. Accumulated usage accounting and stops enforce actual remaining #838 per-issue and combined caps across reruns/reviews, with subscription limits and no unapproved overage; no new issue resets authorization. Offline tests prove expansion, isolation, resume and stop behavior. No provider/network calls run in tests.

Provider-target requirements transferred from #919

  • Target identity includes provider, endpoint, credential environment variable and model ID; support a given eval across jev-1.13.0, clef and clef-flash, repeated N times through the same matrix interface.
  • Per target and repetition record requested and answered model/version, fixture identity/SHA, physical request counts, input/output tokens where available, p50/p95 latency, retries and explicit failure outcomes including timeout, rate limiting and bad responses. Retain core: share one model/provider/effort matrix runner across eval harnesses #1606's full compatible evaluation identity and immutable results.
  • Accept runtime-supplied pricing, never hard-coded prices; report cost per 1,000 calls for consumers requiring it, with unknown price/usage remaining explicit.
  • Check Workers AI choice and noul wire compatibility for both Clef models through both existing clients (packages/core/src/lib/jev.ts, packages/ui-server/src/classification/jev-client.ts). Record actual authorized receipts and divergences, or an explicit unavailable/not-run result and reason. Flat-response stub success is not live Workers AI evidence.
  • Missing credentials skip that target while other targets may run; no credentials exits cleanly with an explicit unavailable/incomplete comparison result. Skipped required cells prevent a claim of complete comparison.
  • Keyless stubbed-fetch tests cover target selection, per-target/repetition recording and each failure outcome. A stubbed dry run writes a report consumed unchanged by the measurements. Use bun run test with repository offline guards; tests never require credentials or network.

The transfer is script/evaluation tooling only: no package source change, new package config key or generic provider abstraction is authorized by #919. Evals and live measurement remain separately scoped consumers. Existing bounded concurrency, cancellation/resume, default exclusion of max effort, cumulative spending caps and offline CI rules remain binding. Retired #838 admission/packet machinery remains retired.

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-10-12: transferred all unique #919 provider-target, wire compatibility, pricing, skipped-cell and keyless-test requirements into the shared runner; retained all original #1606 criteria and exclusions.

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.
    agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.
    on Oct 11, 2026
  3. changed the title [-]core: share one model and effort interface and a matrix runner across eval harnesses[/-] [+]core: share one model/provider/effort matrix runner across eval harnesses[/+] on Oct 12, 2026
  4. added
    area: ui-serverHono app factory: turn coordinator, auth, session catalog, routes, cron.
    on Oct 12, 2026
  5. schlessera commented on Oct 12, 2026

    @schlessera
    OwnerAuthor

    2026-10-12 runner consolidation: #919’s complete provider-target requirements are now in this body, including both-client Workers AI choice/noul compatibility, runtime pricing, per-target/repetition records, credential skips and keyless failure tests. #918 and #923–#925 consume this shared runner under #1603. Original identity, immutable results, concurrency/resume/cancellation, max-effort exclusion and cumulative-spend rules remain. This is tracker consolidation; no runner delivery or live comparison is claimed.

  6. 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.area: ui-serverHono app factory: turn coordinator, auth, session catalog, routes, cron.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