Flag results that differ by match type

Abierto
#175 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
0
Forks
1
Merge medio
1 h 7 min
PR fusionados (30 d)
206

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de openpickleball/backend

Todos los issues de openpickleball/backend

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.