feat(04-01): run game canonicalization pipeline

Generate canonical games with team/stadium links for 5760 games across
NBA, MLB, NHL, NFL, and MLS.

Added missing team aliases:
- NFL WSH -> team_nfl_was (Washington Commanders)
- MLS NY -> team_mls_nyrb (NY Red Bulls)
- MLS ATX -> team_mls_aus (Austin FC)

Remaining 8 warnings are expected NFL playoff placeholders (TBD/AFC/NFC).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-01-10 09:55:53 -06:00
parent dbfaca206d
commit b6286119d7
3 changed files with 69167 additions and 1 deletions

View File

@@ -97,18 +97,21 @@ TEAM_ABBREV_ALIASES = {
('NFL', 'TAM'): 'team_nfl_tb', # Tampa Bay alternate
('NFL', 'SFO'): 'team_nfl_sf', # San Francisco alternate
('NFL', 'WAS'): 'team_nfl_was', # Washington (direct match but include for completeness)
('NFL', 'WSH'): 'team_nfl_was', # Washington Commanders alternate abbrev
# MLS
('MLS', 'LA'): 'team_mls_lag', # LA Galaxy
('MLS', 'NYC'): 'team_mls_nycfc', # NYC FC
('MLS', 'RBNY'): 'team_mls_nyrb', # NY Red Bulls
('MLS', 'NYR'): 'team_mls_nyrb', # NY Red Bulls alt
('MLS', 'NY'): 'team_mls_nyrb', # NY Red Bulls short
('MLS', 'SJE'): 'team_mls_sj', # San Jose Earthquakes
('MLS', 'KC'): 'team_mls_skc', # Sporting KC
('MLS', 'DCU'): 'team_mls_dc', # DC United
('MLS', 'FCD'): 'team_mls_dal', # FC Dallas
('MLS', 'MON'): 'team_mls_mtl', # Montreal
('MLS', 'LAF'): 'team_mls_lafc', # LAFC alt
('MLS', 'ATX'): 'team_mls_aus', # Austin FC alt abbrev
# WNBA
('WNBA', 'LV'): 'team_wnba_lva', # Las Vegas Aces