Skip to content

feat(evaluation): each arm of a window says whether it may be read on it - #1285

Merged
frapercan merged 2 commits into
integration/three-familiesfrom
feat/the-window-says-which-arms-may-be-read
Nov 22, 2026
Merged

frapercan merged 2 commits into
integration/three-familiesfrom
feat/the-window-says-which-arms-may-be-read

Conversation

@frapercan

@frapercan frapercan commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

The benchmark matrix was the only surface that said whether an arm may be
read on a window at all: whether the release it was fitted at falls after
the window's t0, by the rule the dispatch guard refuses on
(leakage_guard.training_cut_verdict). That page went with #1280, and the
window panel that replaced it showed every arm alike.

The window summary now gives each arm its verdict and the release behind
it, and the window its t0 and t1. A fitted encoder is read by the cut its
configuration declares, as the badge did. A native method is read by the
release its instance lives at, since it read the annotations of that
release: the own annotations at 211 on 211->227 are clean, and at 227
they would have read the answers. A pretrained backbone is not_fitted.
The verdict is a mark and not a filter: the panel's detail table gives
each arm its state, and a note above the tabs counts the arms on show
that may not be read.

The release parser the badge kept (digits only, so "2026_01" is not a
release) moves to the guard as release_ordinal, so the badge and the
summary read a release one way.

Checks

  • pytest against Postgres: the summary gives each arm its verdict (pretrained, a method at t0 and after it, a fitted encoder with and without a declared cut, a window whose ends are not releases), the window its releases, and the release parser reads digits only; the badge's own tests still pass on the shared parser. 35 passed in the touched files.

  • vitest: the panel rules and the five message catalogues, 19 passed. eslint on the panel: clean. tsc reports only the error in tests/useUrlParam.test.tsx that the base tree reports too.

  • Lint gates pass. docs/openapi.json regenerated: no change (the route returns a mapping).

  • In the browser (the PR's API and web against the dev store): on 211->227 the 127 PLM arms read "yes, pretrained", the re-run own annotations "yes, cut 211" in both readings, the window releases are [211, 227] and no note shows, since no arm was fitted after t0. No page errors.

The benchmark matrix was the only surface that said whether an arm may be
read on a window at all: whether the release it was fitted at falls after
the window's t0, by the rule the dispatch guard refuses on
(leakage_guard.training_cut_verdict). That page went with #1280, and the
window panel that replaced it showed every arm alike.

The window summary now gives each arm its verdict and the release behind
it, and the window its t0 and t1. A fitted encoder is read by the cut its
configuration declares, as the badge did. A native method is read by the
release its instance lives at, since it read the annotations of that
release: the own annotations at 211 on 211->227 are clean, and at 227
they would have read the answers. A pretrained backbone is not_fitted.
The verdict is a mark and not a filter: the panel's detail table gives
each arm its state, and a note above the tabs counts the arms on show
that may not be read.

The release parser the badge kept (digits only, so "2026_01" is not a
release) moves to the guard as release_ordinal, so the badge and the
summary read a release one way.
@frapercan
frapercan force-pushed the feat/the-window-says-which-arms-may-be-read branch from ec545b8 to 0c4a277 Compare November 21, 2026 17:44
The read verdict named both a method's release and a configuration's
declared cut "cut", one an int and the other int | None, and mypy refused
the second assignment. The declared one is "declared" now.
@frapercan
frapercan marked this pull request as ready for review November 22, 2026 00:08
@frapercan
frapercan merged commit df305cd into integration/three-families Nov 22, 2026
21 checks passed
@frapercan
frapercan deleted the feat/the-window-says-which-arms-may-be-read branch November 22, 2026 00:08
frapercan added a commit that referenced this pull request Nov 22, 2026
The benchmark page gave way to each window's panel (#1280), but its API
stayed: GET /benchmark/embeddings and /benchmark/matrix, their grid, the
configuration file and loader that drove them, a dependency, and two
cache prewarms the app ran at every start to keep a matrix nobody read
warm in Postgres. The one thing of value the matrix carried, whether an
arm may be read on a window, is on the window summary since #1285, for
native methods too.

Removed: the router and its grid, protea/config/benchmark.yaml with its
loader and dependency, the prewarms and the route tag; in the web, the
heatmap and metric selector no page imported any more and the matrix's
row types. The showcase links its evaluation count to the windows list,
the deploy smoke check reads the prediction sets listing instead of the
two routes, and the reference documentation drops their sections. The
tests of the matrix and its grid go with them; the two of its leak badge
that the summary's own tests did not already cover (one rule with the
dispatch guard, no verdict for an arm naming no producer) move there.
The records of decisions that cite /benchmark keep the name they used.
frapercan added a commit that referenced this pull request Nov 22, 2026
The benchmark page gave way to each window's panel (#1280), but its API
stayed: GET /benchmark/embeddings and /benchmark/matrix, their grid, the
configuration file and loader that drove them, a dependency, and two
cache prewarms the app ran at every start to keep a matrix nobody read
warm in Postgres. The one thing of value the matrix carried, whether an
arm may be read on a window, is on the window summary since #1285, for
native methods too.

Removed: the router and its grid, protea/config/benchmark.yaml with its
loader and dependency, the prewarms and the route tag; in the web, the
heatmap and metric selector no page imported any more and the matrix's
row types. The showcase links its evaluation count to the windows list,
the deploy smoke check reads the prediction sets listing instead of the
two routes, and the reference documentation drops their sections. The
tests of the matrix and its grid go with them; the two of its leak badge
that the summary's own tests did not already cover (one rule with the
dispatch guard, no verdict for an arm naming no producer) move there.
The records of decisions that cite /benchmark keep the name they used.
frapercan added a commit that referenced this pull request Nov 22, 2026
The benchmark page gave way to each window's panel (#1280), but its API
stayed: GET /benchmark/embeddings and /benchmark/matrix, their grid, the
configuration file and loader that drove them, a dependency, and two
cache prewarms the app ran at every start to keep a matrix nobody read
warm in Postgres. The one thing of value the matrix carried, whether an
arm may be read on a window, is on the window summary since #1285, for
native methods too.

Removed: the router and its grid, protea/config/benchmark.yaml with its
loader and dependency, the prewarms and the route tag; in the web, the
heatmap and metric selector no page imported any more and the matrix's
row types. The showcase links its evaluation count to the windows list,
the deploy smoke check reads the prediction sets listing instead of the
two routes, and the reference documentation drops their sections. The
tests of the matrix and its grid go with them; the two of its leak badge
that the summary's own tests did not already cover (one rule with the
dispatch guard, no verdict for an arm naming no producer) move there.
The records of decisions that cite /benchmark keep the name they used.
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.

1 participant