Skip to content

refactor(api): the benchmark routes go with the page they served - #1286

Merged
frapercan merged 1 commit into
integration/three-familiesfrom
refactor/the-benchmark-api-goes-with-its-page
Nov 22, 2026
Merged

frapercan merged 1 commit into
integration/three-familiesfrom
refactor/the-benchmark-api-goes-with-its-page

Conversation

@frapercan

Copy link
Copy Markdown
Owner

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.

Checks

  • Every remaining reference was looked for by identifier (the router, the grid, the configuration and its loader, the prewarms, the cache keys, the route, the badge, the web types) across the platform, scripts, tests, web and reference documentation; only the records of decisions keep the name.
  • docs/openapi.json regenerated: the two routes go, nothing else moves.
  • mypy 1.19.1 on the touched platform modules: clean. Lint gates pass. tsc and eslint on the touched web files report only what the base tree reports.
  • Whole suite against Postgres: 7802 passed, 78 skipped, 11 xfailed, 2 xpassed; the one failure, the cache test that pins the number of caching prewarms, now counts six (the benchmark's embeddings prewarm went with its route) and passes.

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
frapercan marked this pull request as ready for review November 22, 2026 00:36
@frapercan
frapercan merged commit 1739fdb into integration/three-families Nov 22, 2026
20 checks passed
@frapercan
frapercan deleted the refactor/the-benchmark-api-goes-with-its-page branch November 22, 2026 00:36
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