betting_combat.live.replay
replay.py — a recorded card through the card session in simulated time: the proof that the live run does on a card what it should, before it runs one.
CardReplay ``run()``: the session loads the card from the tables (no vendor call), then every Cito reading (seen ``cito_lag_s`` after its capture) and every Kalshi print (seen ``print_lag_s`` after it) goes through the session's own handlers in time order, the clock ticking each second; the bell stats read the Cito snapshots captured by then. Nothing is written (``write=False``). An execution set on the session (``on_break``, ``on_tick``, the recorder's ``on_trade``) runs on it as on a live card (paper: data/ufc/cito/assess/final_v1/m23_card_dry_run.py)ReplayRound one round as the session had it: its start and bell (and tellers), the market bell's fire, the lines at the bell and how many of them match the official round lines (the rounds before the bell's, exactly)Only what the tables hold is replayed: Cito’s snapshot archive keeps the 200 newest per bout (a card’s early fights lose their first rounds), Kalshi’s prints are complete.
Classes
CardReplay
One recorded card through the session (see the module doc).
run
run() -> list[ReplayRound]