feat(03-02): add NWSL to canonicalization pipeline

- Import NWSL_TEAMS from nwsl module
- Add NWSL_DIVISIONS dict (single league structure, no divisions)
- Add NWSL to sport_mappings for team canonicalization
- Add NWSL team abbreviation aliases (ANG, GOTHAM, NCC, BAY, etc.)
- Add NWSL stadium aliases (CPKC Stadium, SeatGeek Stadium, WakeMed, etc.)

Total teams: 180 (13 NWSL teams added)
Final breakdown: NBA(30) + MLB(30) + NHL(32) + NFL(32) + MLS(30) + WNBA(13) + NWSL(13)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-01-10 09:43:18 -06:00
parent 285bc075d7
commit 81f620defe
3 changed files with 42 additions and 0 deletions

View File

@@ -117,6 +117,16 @@ TEAM_ABBREV_ALIASES = {
('WNBA', 'PHX'): 'team_wnba_pho', # Phoenix Mercury
('WNBA', 'CONN'): 'team_wnba_con', # Connecticut Sun
('WNBA', 'WSH'): 'team_wnba_was', # Washington Mystics
# NWSL
('NWSL', 'ANG'): 'team_nwsl_la', # Angel City FC (uses LA abbrev)
('NWSL', 'ACFC'): 'team_nwsl_la', # Angel City FC alt
('NWSL', 'NCC'): 'team_nwsl_nc', # North Carolina Courage
('NWSL', 'GOTHAM'): 'team_nwsl_nj', # NJ/NY Gotham FC
('NWSL', 'NY'): 'team_nwsl_nj', # NJ/NY Gotham FC alt
('NWSL', 'BAY'): 'team_nwsl_sj', # Bay FC (San Jose)
('NWSL', 'RLC'): 'team_nwsl_uta', # Racing Louisville -> Utah Royals (rebrand)
('NWSL', 'LOU'): 'team_nwsl_uta', # Louisville -> Utah alt
}