Send unsure leftover picks unless the frame is only the away team #320

Merged
spark merged 1 commits from task/gitea-319-leiria-unsure-picks into main 2026-12-02 20:50:20 +00:00
Owner

Fixes #319.

After the pre-kickoff window, leftover picks for the rest client still go out. A frame is held back only when every identified person in it is the away team. An open face, a weak guess, or a frame with nobody named is sent, because the squad reference set is incomplete.

Test plan

  • Unit tests for the cutoff, a home player, an unnamed frame, a clear away frame, and a mixed frame
  • After deploy, leftover picks from the live match reach the rest folder, and a frame that is only the away side does not
Fixes #319. After the pre-kickoff window, leftover picks for the rest client still go out. A frame is held back only when every identified person in it is the away team. An open face, a weak guess, or a frame with nobody named is sent, because the squad reference set is incomplete. ## Test plan - [x] Unit tests for the cutoff, a home player, an unnamed frame, a clear away frame, and a mixed frame - [ ] After deploy, leftover picks from the live match reach the rest folder, and a frame that is only the away side does not
spark added 1 commit 2026-12-02 20:40:31 +00:00
Send unsure leftover picks unless the frame is only the away team.
ci / rust (pull_request) Successful in 3m59s
ci / typescript (pull_request) Successful in 9m26s
312c1f1a68
Reference faces are missing for part of the squad, so holding every unnamed pick left the rest client empty during the match.
spark merged commit cac99af991 into main 2026-12-02 20:50:20 +00:00
Sign in to join this conversation.