Skip to content

betting_combat.live.bell_stats

bell_stats.py — the rounds’ stat lines at a round’s bell, from Cito’s live snapshots, on our ids: what a break decides on (the research’s live line: rounds.live.round_feed).

BreakLines rounds 1..k at round k's bell, per fighter (our ids), and how they were had
BellStats ``at_bell(bout, k)``: one look at the bout's newest snapshots within
``timeout_s``; None when they cannot be had (the break prices on no stats,
``findings`` counts why)

A round’s line is the last snapshot carrying it captured before the first snapshot past the round (one in a later round, or the first calling the bout completed); each round is fixed at its own break and kept, so a later bell reads only its own round from the newest snapshot (on Pro the feed is live: that is the round’s line at the bell). A round before k missing from the page is read from the bout’s whole history (one more call, 200 snapshots).

Only Cito’s live id answers (Bout.cito_live_id; 11-07 every break went without stats because the id was never asked): a bout without one has no stats, and the card check says so first.

Classes

BellStats

Each break’s lines for the card’s bouts (one per card run: it keeps the fixed rounds).

at_bell

at_bell(bout: Bout, k: int) -> BreakLines | None

Rounds 1..k at round k’s bell; None when they cannot be had in time.

BreakLines