Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

Snapshot lookup: find ranking/variances for a given epoch from the cache.

Scores (v3 BT output) are the single source of truth for v3. From scores we derive both the ranking (sorted by mu descending) and variances (commitId × sigma2 pairs). For v2, we fall back to ranking.json.

Structs§

Snapshot
A snapshot contains the ranking and optionally variances (for v3).

Functions§

find
Find the snapshot for a given epoch, checking scores.json first (v3), then falling back to ranking.json (v2).