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

- Import WNBA_TEAMS from wnba module
- Add WNBA_DIVISIONS dict (single league structure, no divisions)
- Add WNBA to sport_mappings for team canonicalization
- Update arena_key to use 'arena' for WNBA (like NBA/NHL)
- Add WNBA team abbreviation aliases (LV, LAS, NYL, PHX, etc.)
- Add WNBA stadium aliases (Michelob Ultra Arena, Gateway Center, etc.)

Total teams: 167 (13 WNBA teams added)

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

View File

@@ -233,6 +233,20 @@ HISTORICAL_STADIUM_ALIASES = {
{'alias_name': 'lower.com field', 'valid_from': '2021-07-01'}, # Current name with period
{'alias_name': 'new crew stadium', 'valid_from': '2021-07-01', 'valid_until': '2021-07-01'},
],
# WNBA (most share NBA/NHL arenas with existing aliases; these are WNBA-specific arenas)
'stadium_wnba_michelob_ultra_arena': [
{'alias_name': 'mandalay bay events center', 'valid_from': '1999-03-01', 'valid_until': '2021-01-01'},
],
'stadium_wnba_gateway_center_arena': [
# Gateway Center Arena opened 2018, WNBA-specific venue
],
'stadium_wnba_wintrust_arena': [
# Wintrust Arena opened 2017, WNBA-specific venue
],
'stadium_wnba_college_park_center': [
# College Park Center opened 2012, university venue
],
}