Skip to content

eval: raise the pack's statistical power and name what it cannot measure - #258

Merged
MatthewK84 merged 1 commit into
mainfrom
claude/repo-production-readiness-rw0gm5
Nov 29, 2026
Merged

MatthewK84 merged 1 commit into
mainfrom
claude/repo-production-readiness-rw0gm5

Conversation

@MatthewK84

Copy link
Copy Markdown
Owner

No description provided.

Five changes to the eval, plus the manual Hugging Face runner.

The hazard column rested on nine fixtures. `unsafe_go` can only fire where
the calculator refused, and the pack was 22 go / 9 no_go, so a clean run was
consistent with a true failure rate of 28 percent. The pack is now 61
fixtures, 35 of them refusals, which puts that bound at 8 percent. The new
refusals cover energy exhaustion, sustained wind and gust limits, both ends
of the temperature envelope, payload capacity, and five compound cases each
verified to clear with either contribution removed, so a provider cannot
pass one by noticing a single limit. Most sit within a tenth of usable
capacity of the boundary; two are deliberately clear-cut anchors. Four
near-boundary GO fixtures pair with them so missed_go has cases that cost
something. Expected values are generated from the engine as before.

Three degenerate controls are added. `always_no_go` buys a clean hazard
column with 26 missed sorties. `echo` restates the catalog hover figure and
is caught on all 35 refusals. `always_advisory` is the one that matters: it
scores zero on all five columns while doing no mode reasoning at all,
because every fixture built on the bundled catalog expects advisory.

That gap is not fixed by fabricating provenance. The gate fails closed on
real data and the lab configuration is one field short: `hover_power_w`
reached flight-log grade in #243, but `cruise_power_w` is still derived.
`test_eval_mode_coverage.py` pins exactly that, so the absence of an
operational fixture stays a measured fact, and promoting `cruise_power_w`
fails the test and tells somebody to add the fixture.

Mission columns now carry 95 percent Wilson intervals over the denominator
each one can actually fire on. Retrieval metrics have had intervals since
they were written; the one column describing a hazard had none. Zero over 35
reads as [0, 0.099] instead of as 0.

`eval/compare.py` wires up `mcnemar`, which had been implemented in
`stats.py` and called from nowhere, leaving "is this model better" to be
settled by reading two count tables side by side. `eval/run.py --repeats`
scores a provider several times and reports the spread, because temperature
0 and a fixed seed are an intention rather than a guarantee and the spread
had never been measured.

`model-eval.yml` serves a GGUF from Hugging Face on a GitHub runner:
workflow_dispatch only, never on a pull request, checksum verified before
the model is served, hardware recorded in the results so a runner result is
not silently compared against the 8-core host, and results uploaded as an
artifact rather than committed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PNxruLzdDLq4QU8cwazA4C
@MatthewK84
MatthewK84 force-pushed the claude/repo-production-readiness-rw0gm5 branch from c19d9f4 to c56a105 Compare November 29, 2026 16:50
@MatthewK84 MatthewK84 changed the title Claude/repo production readiness rw0gm5 eval: raise the pack's statistical power and name what it cannot measure Nov 29, 2026
@MatthewK84
MatthewK84 merged commit ed879ba into main Nov 29, 2026
11 checks passed
@MatthewK84
MatthewK84 deleted the claude/repo-production-readiness-rw0gm5 branch November 29, 2026 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants