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:
@@ -97,18 +97,21 @@ TEAM_ABBREV_ALIASES = {
|
|||||||
('NFL', 'TAM'): 'team_nfl_tb', # Tampa Bay alternate
|
('NFL', 'TAM'): 'team_nfl_tb', # Tampa Bay alternate
|
||||||
('NFL', 'SFO'): 'team_nfl_sf', # San Francisco alternate
|
('NFL', 'SFO'): 'team_nfl_sf', # San Francisco alternate
|
||||||
('NFL', 'WAS'): 'team_nfl_was', # Washington (direct match but include for completeness)
|
('NFL', 'WAS'): 'team_nfl_was', # Washington (direct match but include for completeness)
|
||||||
|
('NFL', 'WSH'): 'team_nfl_was', # Washington Commanders alternate abbrev
|
||||||
|
|
||||||
# MLS
|
# MLS
|
||||||
('MLS', 'LA'): 'team_mls_lag', # LA Galaxy
|
('MLS', 'LA'): 'team_mls_lag', # LA Galaxy
|
||||||
('MLS', 'NYC'): 'team_mls_nycfc', # NYC FC
|
('MLS', 'NYC'): 'team_mls_nycfc', # NYC FC
|
||||||
('MLS', 'RBNY'): 'team_mls_nyrb', # NY Red Bulls
|
('MLS', 'RBNY'): 'team_mls_nyrb', # NY Red Bulls
|
||||||
('MLS', 'NYR'): 'team_mls_nyrb', # NY Red Bulls alt
|
('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', 'SJE'): 'team_mls_sj', # San Jose Earthquakes
|
||||||
('MLS', 'KC'): 'team_mls_skc', # Sporting KC
|
('MLS', 'KC'): 'team_mls_skc', # Sporting KC
|
||||||
('MLS', 'DCU'): 'team_mls_dc', # DC United
|
('MLS', 'DCU'): 'team_mls_dc', # DC United
|
||||||
('MLS', 'FCD'): 'team_mls_dal', # FC Dallas
|
('MLS', 'FCD'): 'team_mls_dal', # FC Dallas
|
||||||
('MLS', 'MON'): 'team_mls_mtl', # Montreal
|
('MLS', 'MON'): 'team_mls_mtl', # Montreal
|
||||||
('MLS', 'LAF'): 'team_mls_lafc', # LAFC alt
|
('MLS', 'LAF'): 'team_mls_lafc', # LAFC alt
|
||||||
|
('MLS', 'ATX'): 'team_mls_aus', # Austin FC alt abbrev
|
||||||
|
|
||||||
# WNBA
|
# WNBA
|
||||||
('WNBA', 'LV'): 'team_wnba_lva', # Las Vegas Aces
|
('WNBA', 'LV'): 'team_wnba_lva', # Las Vegas Aces
|
||||||
|
|||||||
42
Scripts/data/game_resolution_warnings.json
Normal file
42
Scripts/data/game_resolution_warnings.json
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"game_key": "2026-01-17_TBD_TBD",
|
||||||
|
"issue": "Unknown home team",
|
||||||
|
"details": "Could not resolve home team 'TBD' for sport NFL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"game_key": "2026-01-17_TBD_TBD",
|
||||||
|
"issue": "Unknown home team",
|
||||||
|
"details": "Could not resolve home team 'TBD' for sport NFL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"game_key": "2026-01-18_TBD_TBD",
|
||||||
|
"issue": "Unknown home team",
|
||||||
|
"details": "Could not resolve home team 'TBD' for sport NFL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"game_key": "2026-01-18_TBD_TBD",
|
||||||
|
"issue": "Unknown home team",
|
||||||
|
"details": "Could not resolve home team 'TBD' for sport NFL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"game_key": "2026-01-25_TBD_TBD",
|
||||||
|
"issue": "Unknown home team",
|
||||||
|
"details": "Could not resolve home team 'TBD' for sport NFL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"game_key": "2026-01-25_TBD_TBD",
|
||||||
|
"issue": "Unknown home team",
|
||||||
|
"details": "Could not resolve home team 'TBD' for sport NFL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"game_key": "2026-02-04_NFC_AFC",
|
||||||
|
"issue": "Unknown home team",
|
||||||
|
"details": "Could not resolve home team 'AFC' for sport NFL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"game_key": "2026-02-08_TBD_TBD",
|
||||||
|
"issue": "Unknown home team",
|
||||||
|
"details": "Could not resolve home team 'TBD' for sport NFL"
|
||||||
|
}
|
||||||
|
]
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user