Flag results that differ by match type
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- backend-api-design, databases
Research direction
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.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 206
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openpickleball/backend
-
area:infra documentation priority:p2 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#472 ·
Maintainers usually reply within 1 day
-
Show doctl's error when the Deploy workflow's update failsPossibly taken @GeoBradDev claimed this today. Openarea:infra bug priority:p2 size:S
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#471 ·
Maintainers usually reply within 1 day
-
area:infra documentation type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
openpickleball/backend#196 ·
Maintainers usually reply within 1 day
-
area:infra type:chore
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openpickleball/backend#195 ·
Maintainers usually reply within 1 day
-
area:api enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
openpickleball/backend#470 ·
Maintainers usually reply within 1 day
All issues in openpickleball/backend
Similar issues
-
[Resource]: SpaicelyOpenresource-submission validation-passed
Difficulty 1/5 Under an hour Newbie friendliness 68/100
hesreallyhim/awesome-claude-code#3875 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
bvis/aegis-hass#725 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xPossibly taken @NimaVaziri claimed this today. OpenPytorch
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/TensorRT-LLM#23406 ·
Maintainers usually reply within 1 day