Leaderboard data contract#
The home page fetches _static/leaderboard.json. Replace that file when
reviewed results are ready; no JavaScript changes or generated HTML edits
are needed. Sphinx copies the JSON into the built site’s static directory.
Release state#
The shipped payload deliberately contains no scores:
{
"schema_version": 1,
"status": "pending",
"message": "Benchmark results are coming with the next release.",
"datasets": [],
"metrics": [],
"models": [],
"results": []
}
The empty catalog arrays above are placeholders for this structural example;
the shipped file contains all five datasets, three metrics, and eleven
models. Keep those catalog entries when publishing results. status is
pending or ready. While status is pending or results is empty,
the component shows the message rather than a table. To publish results,
set status to ready and supply a nonempty results array. A dataset/metric
combination with no entries has its own empty state and disabled CSV button.
Catalogs#
datasets: objects with unique stringidand human-readablelabel. The release IDs aretaxi,taobao,amazon,retweet, andstackoverflow.metrics: objects with uniqueid,label,description, anddirection(higherorlower). The IDs areloglike,rmse, andacc. Descriptions supply the accessible metric explanation and the score-column tooltip. Accuracy is a fraction, not a percentage.models: objects with uniqueid, displayname, anddoc. The latter is a site-root-relative HTML path, for exampletechnical/models/nhp.html. The IDs match the packaged model presets.
Result entries#
Each object in results represents one aggregated dataset/model/metric
combination. There must be at most one entry for that triple. The following
is a field template, not a result or valid JSON payload:
{
"dataset": <dataset id>,
"model": <model id>,
"metric": <metric id>,
"mean": <finite number: mean of per-seed test metrics>,
"std": <finite nonnegative number: sample standard deviation>,
"n_seeds": <positive integer: number of independent seeds>,
"epochs": <positive integer: configured maximum training epochs>,
"easy_tpp_version": <nonempty string: package version>,
"config_hash": <nonempty string: SHA-256 digest of canonical config>
}
Use JSON numbers, never formatted strings, NaN, infinity, or null.
For a single seed use std: 0; for multiple seeds use the sample standard
deviation (denominator n_seeds - 1). Aggregate each metric across seeds,
not across pooled event arrays. The table displays mean ± standard deviation,
seed count, and epoch budget. Early stopping can end a seed before the
configured budget; preserve actual stopping epochs in the run artifacts.
config_hash identifies the shared experiment settings: hash the UTF-8
canonical JSON of the fully resolved configuration, with sorted keys,
compact separators, and per-seed/output fields removed. Exclude
trainer_config.seed, base_config.base_dir, base_config.exp_id,
and generated base_config.specs paths. Record the exact seeds and
full per-seed configs beside the released run artifacts. Keep dataset
revision/splits, preprocessing, architecture, optimizer, integration,
prediction settings, and epoch budget identical across the aggregate.
Use a single EasyTPP version per entry.
Rank and export behavior#
Rows sort numerically by the unrounded mean: descending for higher,
ascending for lower. Tied means share competition rank (the next rank
skips the tied places); model ID breaks display-order ties. Changing the
metric recalculates ranks and direction. Column headers retain this ordering
so ranks always refer to the selected metric.
CSV downloads include the selected dataset and metric, rank, model ID, unrounded mean and standard deviation, seed count, epoch budget, package version, and config hash. There is no CSV download for a pending or empty selection. Unknown references, duplicate triples, invalid counts, and non-finite values produce a visible data error instead of a misleading table.
Before publishing, check held-out test splits, training-only checkpoint selection, event-count conventions, original time units, and version/config provenance. See Likelihood integration for the scoring details.