Keep the best of a game's different streams, not the first one that verified #95

Closed
opened 2026-11-07 20:04:41 -05:00 by cmoriarty · 3 comments
Owner

What happens

The walk takes the ladder in order (by tier, then by the host's record) and keeps the first link that verifies. The standbys are simply the next links that verify (#64, #74). Nothing compares how the streams actually play. #62 found the same from the resolution side: the first stream that lands is the most reliable host, not the best picture.

Tonight (Ole Miss vs. Georgia, #91) the ladder held 19 links, and every link that verified carried one stream. Whether a second stream existed among the links never read is unknown. The app had no reason to keep looking once one link verified.

The idea

For each followed live game:

  1. Hold up to three different streams, as #91 defines different: the kept link and the two standbys. Copies don't count toward the three.
  2. Rank them by the watch's score (#94): pace first, then gaps, then frames, then picture size and frame rate, then the host's record.
  3. With nobody watching, the best-scoring stream becomes the kept link once it has 2 minutes of watching. With a background channel (#96), that move is a swap nobody sees.
  4. With someone watching, the channel moves only when the playing stream degrades (#97), and only to a stream that scores clearly better over its own window.
  5. Reads: finding three different streams costs more site reads than finding one.
    • Only followed live games get them, through the read gate at its usual pace.
    • The rotation keeps reading after the first verified link until the game holds three different streams or the ladder runs out.

To settle in the design: what "clearly better" means (a pace margin, for example 0.05, or the playing stream being Choppy while the other is Steady), and how the score breaks ties with #62's resolution floor.

Done when

  • In the unit lane: a game with a Choppy kept link and a Steady standby keeps the Steady one while nobody watches, and doesn't move while someone watches until the playing stream degrades.
  • On a live game: a followed game holds different streams as its kept link and its standby.
## What happens The walk takes the ladder in order (by tier, then by the host's record) and keeps the first link that verifies. The standbys are simply the next links that verify (#64, #74). Nothing compares how the streams actually play. #62 found the same from the resolution side: the first stream that lands is the most reliable host, not the best picture. Tonight (Ole Miss vs. Georgia, #91) the ladder held 19 links, and every link that verified carried one stream. Whether a second stream existed among the links never read is unknown. The app had no reason to keep looking once one link verified. ## The idea For each followed live game: 1. **Hold up to three *different* streams,** as #91 defines different: the kept link and the two standbys. Copies don't count toward the three. 2. **Rank them by the watch's score (#94):** pace first, then gaps, then frames, then picture size and frame rate, then the host's record. 3. **With nobody watching,** the best-scoring stream becomes the kept link once it has 2 minutes of watching. With a background channel (#96), that move is a swap nobody sees. 4. **With someone watching,** the channel moves only when the playing stream degrades (#97), and only to a stream that scores clearly better over its own window. 5. **Reads:** finding three different streams costs more site reads than finding one. - Only followed live games get them, through the read gate at its usual pace. - The rotation keeps reading after the first verified link until the game holds three different streams or the ladder runs out. **To settle in the design:** what "clearly better" means (a pace margin, for example 0.05, or the playing stream being Choppy while the other is Steady), and how the score breaks ties with #62's resolution floor. ## Done when - **In the unit lane:** a game with a Choppy kept link and a Steady standby keeps the Steady one while nobody watches, and doesn't move while someone watches until the playing stream degrades. - **On a live game:** a followed game holds different streams as its kept link and its standby.
Author
Owner

Built in PR #99 (merged as 732ab0a), deployed 2026-11-08 04:19Z (container 52cd495f611a); the OpenSpec change is archived in 038f7a9. This stays open until it is seen working on a live followed game: a grade before the tune, a Warm background channel, and a Choppy stream that stays put.

Built in PR #99 (merged as 732ab0a), deployed 2026-11-08 04:19Z (container 52cd495f611a); the OpenSpec change is archived in 038f7a9. This stays open until it is seen working on a live followed game: a grade before the tune, a Warm background channel, and a Choppy stream that stays put.
Author
Owner

Live test, UTEP vs. Hawai'i, 2026-11-07 23:22–23:55 ET (first followed game after the deploy). Not seen yet: no trade, because the game was watched the whole time. The second standby (sportsframe.site, a different stream, found 23:27) was not moved ahead of the copy in the first slot before the failure at 23:30 (#101, gap 2).

Live test, UTEP vs. Hawai'i, 2026-11-07 23:22–23:55 ET (first followed game after the deploy). Not seen yet: no trade, because the game was watched the whole time. The second standby (sportsframe.site, a different stream, found 23:27) was not moved ahead of the copy in the first slot before the failure at 23:30 (#101, gap 2).
Author
Owner

Closed at the owner's word (2026-11-08): the fix is merged to develop in PR #99 (merge 732ab0a) and deployed. A new issue will be opened if a problem shows up.

Closed at the owner's word (2026-11-08): the fix is merged to develop in PR #99 (merge 732ab0a) and deployed. A new issue will be opened if a problem shows up.
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/sports-breaker#95
No description provided.