Skip to content

betting_combat.rounds.identity

Our own ids for fighters and bouts (strategy 4 and everything built on its datasets).

Every source names a fighter, a bout and a card its own way: UFCStats’ mirror by name only (its bouts carry no fighter id), Kalshi by a competitor id and a name, Cito by its own id, the sportsbook lines, Wikipedia and MMADecisions by name. Until 2026-10 each join re-derived the fighters from names, four different ways, at every build (the 2026-10-29 audit). Here each source’s fighter and bout is resolved ONCE, at the edge, to our ids, the resolution is stored with how it was made, and every join downstream is on our ids:

fighter_uid 'F' + 5 digits, minted once and never re-used or re-derived
event_uid 'E' + 5 digits, minted once per card
bout_uid 'B' + 6 digits, minted once per bout with its facts (scheduled rounds,
division, women, title); fighter A is fixed with it
registry ``Identity``: the four stored tables and their lookups
build ``extend``: the UFCStats history into the registry (fighters, bout sides,
bouts), append-only, anything unresolved reported and never guessed
match ``Matcher``: the one rule for a source that names a bout's fighters by name
keys ``kalshi_keys`` / ``bind``: a source's ids bound to our fighters from confirmed
matches only, never re-bound
live ``live_fighter`` / ``live_bout``: the card run's ids before the card, which
the history keeps once UFCStats lists the bout
checks ``check``: the registry's invariants, each a hard failure