betting_combat.rounds.live.cito_link
The Cito bout of one of our fights: the key of its live round lines (round_feed).
card_events Cito's cards on the card date (New York's date, or the venue's; none that day: a day after, else a day before), from ``/ufc/events/upcoming``, else ``/ufc/events/recent``card_bouts their bouts (``/ufc/events/{slug}/bouts``), cancelled ones left outlink_bout the one bout whose two fighters each share a name word (over two letters, ``common.name_tokens``) with ours, in either order; when none does, ``names.pair_fallback`` (one name on exactly one bout, the other spelt alike: 'Alateng Heili' / 'Alatengheili'). Our fighter A's corner from the words (when both orders share one, the words the two fighters do not share decide) or the fallback's verdict. No bout, two bouts, or an order the names cannot tell: None, never a guessNames only, never a result. Research: data/ufc/cito/build/s02_link.py (every bout of the
live cards linked to its UFCStats fight, both corners).
On our ids (link_bout_ids): the one name rule (identity.Matcher) puts each Cito bout’s
two corners on OUR card’s fighters (CardIds: the card’s bouts and every spelling of their
fighters); our bout’s Cito bout is the one whose corners are its two fighters, and the corner
of our fighter A is whichever corner IS him. No word order, no source order.
Classes
BoutLink
Our fight’s Cito bout: bout_id (the listing’s id), every id the live endpoints may
know it by (live_ids), and the corner of our fighter A.
CardIds
Our card on our ids: its bouts (bout_uid, fighter_1, fighter_2) and every spelling of each fighter (the registry’s, the card’s, Kalshi’s).
matcher
matcher() -> MatcherCardSource
Bases: Protocol
The card listings (consumers.cito.CitoRest).
event_bouts
event_bouts(slug: str) -> list[CitoBout]events_recent
events_recent() -> list[CitoEvent]events_upcoming
events_upcoming() -> list[CitoEvent]Functions
card_bouts
card_bouts(source: CardSource, card_date: dt.date) -> tuple[list[CitoBout], int]Every bout of the card on card_date, cancelled ones left out ([] when Cito lists no
card that day), and the calls it took.
card_events
card_events(events: Iterable[CitoEvent], card_date: dt.date) -> list[CitoEvent]The events held on card_date (Cito’s New York date or the venue’s); when none is,
those a day after, else a day before: the card run is dated by Kalshi’s ticker codes,
which are not always the card’s date (UFC Fight Night Cortes-Acosta vs Walker, Saturday
2026-11-07: thirteen of its fourteen fights coded 26NOV06), and Cito dates it right.
link_bout
link_bout(bouts: Sequence[CitoBout], fighter_a: str, fighter_b: str) -> BoutLink | NoneThe bout of bouts that is fighter_a v fighter_b (see the module doc).
link_bout_ids
link_bout_ids(bouts: Sequence[CitoBout], card: CardIds, bout_uid: str, fighter_a: str) -> BoutLink | NoneThe Cito bout of our bout bout_uid (see the module doc), our fighter A
fighter_a’s corner from the fighters the corners are; None when not exactly one Cito
bout is it, or two Cito bouts claim it.