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. :download:`Download the current JSON <../_static/leaderboard.json>`. Release state ------------- The shipped payload deliberately contains no scores: .. code-block:: json { "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 string ``id`` and human-readable ``label``. The release IDs are ``taxi``, ``taobao``, ``amazon``, ``retweet``, and ``stackoverflow``. * ``metrics``: objects with unique ``id``, ``label``, ``description``, and ``direction`` (``higher`` or ``lower``). The IDs are ``loglike``, ``rmse``, and ``acc``. Descriptions supply the accessible metric explanation and the score-column tooltip. Accuracy is a fraction, not a percentage. * ``models``: objects with unique ``id``, display ``name``, and ``doc``. The latter is a site-root-relative HTML path, for example ``technical/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: .. code-block:: text { "dataset": , "model": , "metric": , "mean": , "std": , "n_seeds": , "epochs": , "easy_tpp_version": , "config_hash": } 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 :doc:`likelihood_integration` for the scoring details.