A scoring eval on public CC-licensed match footage
I maintainer di solito rispondono entro 1 giorno
@realtydev ci sta già lavorando.
Dal 29/11/2026.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- json, markdown, python
- Ambito
- cli, computer-vision, data, testing-qa
Direzione di ricerca
Start with tools/cc_footage/cc_footage.py and tools/cc_footage/README.md to identify tennis full_match sources, then use tools/labeler/ and PointLabels.verify() in opencourtvision/labels/points.py to produce public point labels. Publish a label file and attribution/licence manifest under labels/cc_footage/, following labels/README.md, and extend opencourtvision/cli/eval.py or benchmarks/eval_point_labels.py to report point-winner accuracy, final-score correctness, and abstentions. Add small fixture-based tests under tests/ so CI validates schema, manifest fields, and scores without downloading footage; the full local evaluation should use footage under $OCV_DATA and no private labels or files.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Difficulty: Hard. This is not a good first issue. It needs a published label process, a licence check, and an eval that anyone can rerun without private data.
Why
The starter issues (#60–#74) and most scoring tests use invented fixtures. That is fine for rules and schema work, but it does not tell us whether scoring holds up on a real match. We need a public eval: footage whose licence we can redistribute, labels made in the open, and a command that reports point-winner and match-score accuracy.
Private match footage and private labels are out of scope. Do not use them, and do not commit them.
What already exists
tools/cc_footage/cc_footage.pyships a verified CC BY source list (SOURCES, 72 videos: 21 tennis, 19 padel, 32 pickleball). Before each download it re-checks yt-dlp metadata and skips anything that is not "Creative Commons Attribution". It also tagsvideo_kindasfull_matchorpartial_or_practiceandlabel_modeasmatchorrallies. Partial or practice videos are rallies-only: no winners or score. Seetools/cc_footage/README.mdandtests/test_cc_footage_kind.py.- Machine pre-labels (
prelabels.json,verified=false) are guesses. They are not ground truth. tools/labeler/is the point labeler. It writesocv.point_labels.v1.opencourtvision/labels/points.pyloads that schema, andPointLabels.verify()checks that the stored score agrees with the rules. Teams are slot idsAandBonly.ocv eval(opencourtvision/cli/eval.py,docs/eval_gates.md) scores events, edit gates, and a blind highlight test. It does not yet score a published point-winner timeline on public matches.benchmarks/eval_point_labels.pyalready runs the score decoder against point labels. It was written around private labels kept out of git. Reuse the metrics; point it at the public set and do not take a private default path.labels/README.mdalready says only synthetic or redistributable labels belong in the repo.
What's needed
- A published subset. Start with tennis videos from
SOURCESthat tag asfull_match. Skippartial_or_practicefor scoring (they stay rallies-only). Padel can be a later slice, using the same process. Re-run the licence check; drop a video that no longer reads CC BY, or that should not have been on the list. - How labels are made. A person labels point winners in
tools/labeler/(A/B/ not-a-point). Do not treat pre-labels as truth until a person confirms them. Players stay as slot ids. No names, faces, or embeddings in the label file.PointLabels.verify()must be clean before a file is published. - How labels are published. Commit the
ocv.point_labels.v1JSON plus a manifest: video id, sport, singles/doubles, original channel and title for attribution, licence string, when the licence was last checked, and the label licence (CC BY-NC 4.0, perLICENSE-MODELS-DATA, with attribution to the source channel. The footage itself keeps its uploader's CC BY licence). Do not commit video files, frames, or a home-directory path. Local downloads live under$OCV_DATAor another path the contributor chooses. Document the steps inlabels/README.md. - The eval. A command (an
ocv evalflag, orbenchmarks/eval_point_labels.pyaimed at this set) that, given local footage plus the committed labels, reports at least: point-winner accuracy, legality of the published score (verify()and the final set score), and what the engine abstained on. It must run from the public files alone. A machine without the videos can still check the committed labels (schema,verify(), manifest licence fields).
Related
- #2 — spoken callouts can be an input to scoring, but this issue is the public footage eval, not mixed-language parsing.
- The decoder-improvement issue should use this set to measure posterior accuracy and calibration once labels exist. A first eval that only checks human labels and a simple replay is still in scope here.
Files
tools/cc_footage/cc_footage.pyandtools/cc_footage/README.md— source list, licence check,video_kind.tools/labeler/andopencourtvision/labels/points.py— labelling andverify().labels/README.mdplus a new public label directory (for examplelabels/cc_footage/) and a manifest.opencourtvision/cli/eval.pyand/orbenchmarks/eval_point_labels.py, with tests that use a tiny committed fixture so CI does not need a video download.
Acceptance criteria
- A written process in
labels/README.md(or a short doc next to the labels) covering: pick fromSOURCES, re-check CC BY, download only under a local data dir, label withtools/labeler/, runverify(), publish labels and manifest, never commit video. - At least one tennis
full_matchlabel file is committed, with a manifest row that names the video id, licence, attribution, and label licence. The file usesA/Bslots only and passesPointLabels.verify(). - The eval command reports point-winner accuracy and whether the predicted or replayed final score matches the labels. Abstentions are counted separately, not as wrong winners.
- CI, or a test in
tests/, validates the committed labels and manifest without fetching video. The full footage eval is documented as a local run against$OCV_DATA. - Pre-labels with
verified=falseare not used as ground truth. - No private match footage or private labels. No faces, biometric fields, or real names in committed files.
Constraints
Follow CONTRIBUTING.md (DCO sign-off with git commit -s). No AGPL or non-commercial dependencies. Do not add a default path like ~/VamosFootage or /Users/... in new files; use $OCV_DATA or a relative path.
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 3
- Merge medio
- 1h 12m
- PR unite (30g)
- 126
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di voantony/OpenCourtVision
-
fundamentals step:6
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
voantony/OpenCourtVision#244 ·
I maintainer di solito rispondono entro 1 giorno
-
fundamentals step:3
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
voantony/OpenCourtVision#236 ·
I maintainer di solito rispondono entro 1 giorno
-
fundamentals step:1
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
voantony/OpenCourtVision#230 ·
I maintainer di solito rispondono entro 1 giorno
-
[R01] Add the match A timing fixture and a loader testForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertafundamentals step:0
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
voantony/OpenCourtVision#227 ·
I maintainer di solito rispondono entro 1 giorno
-
Abstain when a speed sample is over the cap, and skip the stage when the switch is offForse già presa @realtydev l’ha presa oggi. Apertagood first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
voantony/OpenCourtVision#69 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di voantony/OpenCourtVision
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
Rose22/openlumara#166 ·
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
enhancement feature/signals self-driving team/self-driving
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
PostHog/posthog#144208 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue help wanted tests
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
LMPrado-DZ23/open_notas_br#14 ·
I maintainer di solito rispondono entro 1 giorno