Pure function that derives canonical (name, year) identity from a scoring_events row, stripping trailing 4-digit years from the name or falling back to eventDate. Used by the Phase 2 backfill to group per-window events into canonical tournaments. |
||
|---|---|---|
| .. | ||
| match-tournament.test.ts | ||