A thetvapp row joins its game by one team and the other's mascot (#196) #197
Loading…
Reference in a new issue
No description provided.
Delete branch "thetvapp-mascot-match"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the duplicate rows on the Games page (#196).
What happened. On 2026-11-18 three games were listed twice. In each case a thetvapp row became its own entry, with initials for logos, beside the ESPN game it names:
The merge joined a row only when both team names matched. Twice before, the matcher was taught one more spelling (UConn/LIU, Hawai'i). This fixes the pattern instead.
The rule. A row that no entry matches by both names joins the one entry of its sport that:
A live row's time is now: the list gives a live row no start, and its "start" is when the app first saw it live (79 minutes late for Penn State). With two such entries (a doubleheader, a tournament day), the row stays its own entry rather than joining the wrong game.
Checks
backend/tests/test_thetvapp.py: the three cases, another opponent, two candidate games, and a game a day away. With the new pass switched off, the three joining tests fail.make test: 1528 passed, 1 skipped.make e2e: every leg passed.openspec/specs/live-game-list/spec.mdgains the requirement, edited in place as small fixes are. Its strict issues are unchanged: the three long requirements from before.Live, after the deploy: each game is listed once, and the ESPN game carries the thetvapp link.
Closes #196
🤖 Generated with Claude Code