Repository navigation
System leaderboard: compare within a query set, declared by the data; open local results - #287
Merged
Conversation
… open local results The leaderboard now compares systems only inside a query set: one-shot or periodic, then a set of queries (ClickBench hits, each use case, a PromQL spec), then its participants. What is compared with what comes from the data, not from rules in the page or the converter. - Each result directory carries leaderboard.json: display names, and per query set its queries, the truth, and each participant's mode (exact or approximate), the participant it is compared with, and any measurements awaiting a rerun. one-shot-workload.sh and run_use_case_on_systems.py write it; scripts/leaderboard_catalog.py writes it for saved results and marks pending measurements. - system-leaderboard-data.py takes each record's mode and reference from its query set, leaves pending measurements out, reads --spec summaries, per-query latency, the CPU split and per-query one-shot CPU, and writes catalog.json beside the records. - The page: query sets by kind; per query set the participants, exact participants on the queries all of them answered, each approximate participant against its reference, an error-against-time chart, any two participants on the queries both answered, and a per-query table. The cross-query-set pages are gone. - Open local results reads records and catalog files in the browser only, so results that must stay private can be shown without publishing them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 system leaderboard compared every row with every other, and what an approximate row was compared with was decided by rules in the converter. This PR makes the query set the unit of comparison and moves "what is compared with what" into the data.
What the page shows
One-shot or periodic → query set (ClickBench hits, each use case, a PromQL spec) → in each query set:
Nothing is ranked across query sets; the six cross-set pages (Systems, Switches, Accuracy vs Cost, Throughput, Visualization, Decision Support) are removed. Memory is shown in GiB / MiB.
Declared by the data
Each result directory carries
leaderboard.json: display names, andquery_setswith the queries, the truth, and per participant its mode, reference and measurements awaiting a rerun (with the reason).one-shot-workload.shandrun_use_case_on_systems.pywrite it;scripts/leaderboard_catalog.pywrites it for saved results (one-shot,use-cases,spec) and marks pending measurements (pending). External results bring their own.system-leaderboard-data.pytakes each record's mode and reference from its query set, leaves pending measurements out, reads--specsummaries, and writescatalog.jsonbeside the records.Open local results
Records and catalog files can be opened in the page; they stay in the browser and are gone after a reload, so results that must not be published can be shown beside the published ones.
After #286
The converter reads what #286 records: the engine-reported query time, the query / ingest CPU split, latency over the queries both systems asked, and the one-shot CPU of the engine process (DuckDB, PilotDB). The truth is read from a report's longer "Accuracy against …" line.
Checks
scripts/andscripts/use_cases/, eslint, prettier.--format jsonoutput; Grafana itself was not started.🤖 Generated with Claude Code