A live match no longer waits for every photo to finish analysis before a gallery window that has already closed can send.
With gallery sizes and a rest destination, leftover picks go to that destination: all of them until the configured minutes before kick-off, then only a pick of a home-team player. A frame whose faces are still open is tried again.
Saving a file-name template can use {frame}, because the sample photo now has a file name.
Unit tests for the ten-minute cutoff, a home player, an open face, and an away player
Unit tests for a window that is still being analysed
API typecheck
After deploy, set restHomeFromMin on tonight's event and confirm leftover picks queue to UD Leiria while Liga and ZeroZero keep their gallery sizes
## Summary
- A live match no longer waits for every photo to finish analysis before a gallery window that has already closed can send.
- With gallery sizes and a rest destination, leftover picks go to that destination: all of them until the configured minutes before kick-off, then only a pick of a home-team player. A frame whose faces are still open is tried again.
- Saving a file-name template can use `{frame}`, because the sample photo now has a file name.
Closes #317.
## Test plan
- [ ] Unit tests for the ten-minute cutoff, a home player, an open face, and an away player
- [ ] Unit tests for a window that is still being analysed
- [ ] API typecheck
- [ ] After deploy, set `restHomeFromMin` on tonight's event and confirm leftover picks queue to UD Leiria while Liga and ZeroZero keep their gallery sizes
Closed windows can leave while later frames are still being analysed. Picks that miss the galleries go to the rest destination: all of them until ten minutes before kick-off, then only home-team players.
Co-authored-by: Cursor <[email protected]>
spark
merged commit 5da37adf33 into main2026-12-02 19:56:14 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
{frame}, because the sample photo now has a file name.Closes #317.
Test plan
restHomeFromMinon tonight's event and confirm leftover picks queue to UD Leiria while Liga and ZeroZero keep their gallery sizes