Repository navigation
Conversation
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
force-pushed
the
feat/the-window-says-which-arms-may-be-read
branch
from
November 21, 2026 17:44
ec545b8 to
0c4a277
Compare
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
marked this pull request as ready for review
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
pytestagainst 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.eslinton the panel: clean.tscreports only the error intests/useUrlParam.test.tsxthat the base tree reports too.Lint gates pass.
docs/openapi.jsonregenerated: 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.