Skip to content

Stats and ratings updates in anticipation of exposing these in prod#108

Merged
jmgasper merged 11 commits into
masterfrom
develop
May 12, 2026
Merged

Stats and ratings updates in anticipation of exposing these in prod#108
jmgasper merged 11 commits into
masterfrom
develop

Conversation

@jmgasper

Copy link
Copy Markdown
Contributor

kkartunov and others added 11 commits May 4, 2026 10:24
What was broken

Marathon Match rerating skipped a challenge whenever the review summation row carried rated=false, even when the completed challenge metadata marked the challenge as rated.

Root cause

The Marathon Match replay path treated submission-level rating metadata as authoritative before loading the challenge metadata. That allowed stale or backfilled row metadata to suppress the challenge-level rating decision.

What was changed

Marathon Match rerating now relies on challenge-level rating metadata when deciding whether to include a challenge in the replay history, matching the Development rerating path.

Any added/updated tests

Added a Marathon Match unit test proving a challenge with rated challenge metadata still writes stats and history when summation rows contain stale rated=false metadata.
PM-5051: Rerate rated Marathon Match challenges
@jmgasper jmgasper merged commit 8b810ad into master May 12, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants