Seed a self-reported rating through the engine and persist it for replay
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- backend-api-design, databases
Research direction
Start by reading issues #48 and #49, then locate the engine's ExternalRatingSnapshot, seed_external_rating, and the recompute command. Trace how seeds are persisted and replayed, and how OPEN matches are checked for a format. Done means tests with fake values show provisional ratings with OPEN Reliability below 60, exact ratings after full recompute, and refusal when OPEN matches exist.
Written by the indexing model from the issue text.
Description
Context: Split from #49, which stores the self-reported reference and attestation. This issue turns it into a provisional Seed through the engine, so a Replay reproduces it (hard rule 4). Rating math stays in the engine (hard rule 2).
Tasks:
- Seed through the engine's
ExternalRatingSnapshotandseed_external_rating, passing the external ID and reliability as provenance - Keep
external_reliability_maps_to_rdoff and use a self-reported RD from settings, so OPEN Reliability starts provisional (below 60) whatever reliability the player entered - Refuse to seed a format where the player already has OPEN matches (hard rule 5; the engine also refuses this)
- Persist the seed so a Replay and the recompute command (#48) reproduce it
- Tests with fake values
Acceptance criteria:
- A seeded player is provisional, and OPEN Reliability is below 60 even when the entered reliability is 100
- A full recompute reproduces the seeded ratings exactly
- A seed for a format with OPEN matches is refused
Depends on: #48, #49
Size: M
- 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
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
freelawproject/litigant-portal#1307 ·
Maintainers usually reply within 2 days
-
type/bug
Difficulty 1/5 Under an hour Newbie friendliness 86/100
h2oai/h2o-llmstudio#1163 ·
Maintainers usually reply within 1 day