Flag results that differ by match type

Aperta
#175 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start by tracing the scheduled Replay flow and how it reads prequential_predictions; the issue does not name files or tests, so locate those entry points first. Then inspect how Replay Info and moderator admin flags are represented. Done means configurable rolling-window thresholds and per-match-type minimum counts produce review-only flags with the supporting matches and Replay Info, alongside documentation and synthetic-player tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:ratings area:security priority:p2 size:M type:feature
Summary

#51 flags players whose results drift far from their seed. A second sandbagging pattern is context divergence: a player who plays well above expectation in self-reported or rec play and well below it in tournament or league matches, especially just before an event. The engine already gives out-of-sample predictions for every eligible match (prequential_predictions). The backend can group a player's prediction errors by Match Type and flag a large, sustained gap for moderator review.

Tasks
  • On each scheduled Replay, compute per-player mean prediction error (actual minus expected point share) by Match Type over a rolling window, from the engine's prequential_predictions.
  • Flag a player for review when the gap between match types passes a threshold and a minimum match count in each type (settings).
  • Show flags with the matches behind them in the moderator admin (#40) and the organizer flag feed (#213).
  • Publish the flag rules in the docs.
  • Tests with synthetic players only.
Acceptance criteria
  • A flag never changes a Rating, voids a Match, or holds a Match from counting by itself. Moderators and organizers decide what, if anything, to do.
  • The flag records the Replay Info (as-of date, config fingerprint) it was computed from.
  • Expected values come from the engine, not local math.
  • A player who plays one or two poor events is not flagged (minimum counts and window hold).

Related: #51, #55

Lingua principale
Python
Stelle
0
Fork
1
Merge medio
1h 7m
PR unite (30g)
206

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openpickleball/backend

Tutte le issue di openpickleball/backend

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.