betting_combat.services.rounds_ids
Our own ids (rounds.identity) in the rounds data layer: the stored registry kept up with
the stored inputs, before anything is built on them.
refresh_identity the stored registry extended with the stored history (every new UFCStats page, bout side, bout and event: ``identity.extend``; the Kalshi competitor ids and winner events its confirmed results bind: ``identity.kalshi_keys`` / ``kalshi_bout_keys``), checked, and its new rows stored (the tables only grow)identity_digest the registry's digest: part of the datasets' basis, so datasets built on another registry are never trained onRun by the datasets job before every build (a card’s results land, its bouts get their ids) and read by the card loader, which adds the card’s live fighters and bouts.
Functions
identity_digest
identity_digest(identity: Identity) -> strSHA-256 of the registry’s four tables (rows sorted: the store’s order is not the registry’s).
refresh_identity
refresh_identity(store: RoundsStore, tables: UfcTables | None = None) -> tuple[Identity, pd.DataFrame]The stored registry brought up to the stored history (see the module doc), stored,
and every finding (a side left unresolved needs a pin: rounds/identity/pins.csv).