Skip to content

Add PASS_ALTERNATIVES + PASS_COMPLETE detect/suggest demos (PR8) - #67

Open
AlexBodner wants to merge 5 commits into
feat/soccer-pr7-pass-networkfrom
feat/soccer-pr8-pass-alternatives
Open

Add PASS_ALTERNATIVES + PASS_COMPLETE detect/suggest demos (PR8)#67
AlexBodner wants to merge 5 commits into
feat/soccer-pr7-pass-networkfrom
feat/soccer-pr8-pass-alternatives

Conversation

@AlexBodner

@AlexBodner AlexBodner commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Lane scoring (pass_options) + real PassQualityScorer shared by detection decoration and freeze top-N
  • Mode.PASS_ALTERNATIVES — freeze planner + rich Football AI-style lane overlays (spotlight, pulse, shaded pass corridors, receiver rings, analysis panel, radar corridors)
  • Mode.PASS_COMPLETE / PASS_NETWORK --show-predictions — detected passes + freeze reveals of suggested open lanes

Demo

Pass alternatives (suggested lanes + corridors)

Complete (detect + suggest)

All demos

Run

# suggested lanes only
python main.py ... --mode PASS_ALTERNATIVES

# detected passes + open-lane freezes
python main.py ... --mode PASS_COMPLETE
# or: --mode PASS_NETWORK --show-predictions

Test plan

  • PASS_ALTERNATIVES freeze UI shows full shaded corridors (not arrows only), plus BEST/2ND/3RD chips
  • Radar minimap mirrors the same corridors; red ! marks rivals in-lane when present
  • PASS_COMPLETE freezes on detected passes and reveals ranked corridors
  • PASS_NETWORK without flag unchanged (no freezes)

@AlexBodner AlexBodner changed the title Add pass-options scoring foundation for PASS_ALTERNATIVES (PR8 Stage 0) Add PASS_ALTERNATIVES freeze planner and mode (PR8) Jul 16, 2026
@AlexBodner
AlexBodner force-pushed the feat/soccer-pr8-pass-alternatives branch from d3a7af7 to a3c8a17 Compare July 16, 2026 16:50
@AlexBodner

Copy link
Copy Markdown
Collaborator Author

Cleanup: squashed to one commit; dropped unused top_pass_options; rebased on cleaned PR7.

@AlexBodner AlexBodner changed the title Add PASS_ALTERNATIVES freeze planner and mode (PR8) Add PASS_ALTERNATIVES + PASS_COMPLETE detect/suggest demos (PR8) Jul 16, 2026
@AlexBodner
AlexBodner force-pushed the feat/soccer-pr7-pass-network branch from 0646317 to a0e2eba Compare July 22, 2026 16:07
AlexBodner and others added 5 commits July 22, 2026 13:33
Ports pass-options onto PR7, reuses PassQualityScorer for top-N freezes,
and keeps overlays on existing pass annotators. Drops unused top_pass_options.

Co-authored-by: Cursor <cursoragent@cursor.com>
Bring back spotlight, pulse, receiver rings, analysis panel, and BEST/2ND/3RD
styling from the Football AI overlays. Add PASS_COMPLETE / --show-predictions
so detected passes freeze into ranked open-lane reveals.

Co-authored-by: Cursor <cursoragent@cursor.com>
Lane scoring now attaches pitch-cm corridor geometry so alternatives match the original full-ribbon demo instead of arrows only.

Co-authored-by: Cursor <cursoragent@cursor.com>
Make SigLIP UMAP/KMeans deterministic, densify fit sampling on short clips, and retry once if clusters collapse so PASS_COMPLETE does not paint the pitch one colour.

Co-authored-by: Cursor <cursoragent@cursor.com>
Detected passes stay unscored; prediction freezes use PassQualityScorer
top options only.

Co-authored-by: Cursor <cursoragent@cursor.com>
@AlexBodner
AlexBodner force-pushed the feat/soccer-pr8-pass-alternatives branch from 5a6a3e8 to b1b2b72 Compare July 22, 2026 16:33
@natandani244-leo

Copy link
Copy Markdown

suggested lanes only

python main.py ... --mode PASS_ALTERNATIVES

detected passes + open-lane freezes

python main.py ... --mode PASS_COMPLETE

or: --mode PASS_NETWORK --show-predictions

style.css
index.html
app.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants