betting_combat.features.run
run — every feature table built or updated in order, from the base (ufc) to the main table
(features.final), through common-db: the job a card’s update calls after the base feeds.
fight -> outcomes -> fighter_stats -> profile -> career -> book -> market -> labels -> finalfight_ticks -> fight_blocks -> block_labels (the live readings, one row each; what happened in each 30-secondblock; what happened after) -> book_tops -> market_blocks (Kalshi's top of book at every change; what themarket did in each block): read by nothing above yetbuild_all writes every row; update_all(since) recomputes each table (a row only holds what
was known on its date, so the history is recomputed whole) and writes the rows dated since on.
Each table reads the ones before it as they were just written.
Functions
build_all
build_all(db: DBClient, only: tuple[str, ...] | None = None) -> dict[str, dict[str, int]]Every feature table (only: these of ORDER), every row, in ORDER.
update_all
update_all(db: DBClient, since: dt.date, only: tuple[str, ...] | None = None) -> dict[str, dict[str, int]]Every feature table’s (only: these of ORDER) rows dated since on, in ORDER.