Skip to content

PM-5161: Exclude example scores from MM provisional display#7213

Merged
jmgasper merged 1 commit into
developfrom
PM-5161
May 27, 2026
Merged

PM-5161: Exclude example scores from MM provisional display#7213
jmgasper merged 1 commit into
developfrom
PM-5161

Conversation

@jmgasper

Copy link
Copy Markdown
Collaborator

What was broken

Community App grouped Marathon Match submissions could show an example-test review summation as the provisional score when the example score was newer than the real provisional summation. That made CA disagree with Work Manager for members whose earlier submission failed and whose latest submission had separate example, provisional, and system summations.

Root cause (if identifiable)

buildMmSubmissionData treated every non-final review summation as provisional. Example summations are also non-final, so their aggregate scores could overwrite the real provisional score during submission row aggregation.

What was changed

Classify example review summations separately and keep them attached to submission history without letting them update provisional or final display scores. Final scores now update only from final summations, while legacy untyped non-final summations still fall back to provisional.

Any added/updated tests

Added a Marathon Match submission aggregation test covering system, example, and provisional summations on one latest submission, verifying the example score is retained but not displayed as provisional or final.

What was broken

Community App grouped Marathon Match submissions could show an example-test review summation as the provisional score when the example score was newer than the real provisional summation. That made CA disagree with Work Manager for members whose earlier submission failed and whose latest submission had separate example, provisional, and system summations.

Root cause (if identifiable)

buildMmSubmissionData treated every non-final review summation as provisional. Example summations are also non-final, so their aggregate scores could overwrite the real provisional score during submission row aggregation.

What was changed

Classify example review summations separately and keep them attached to submission history without letting them update provisional or final display scores. Final scores now update only from final summations, while legacy untyped non-final summations still fall back to provisional.

Any added/updated tests

Added a Marathon Match submission aggregation test covering system, example, and provisional summations on one latest submission, verifying the example score is retained but not displayed as provisional or final.
@jmgasper jmgasper requested a review from kkartunov as a code owner May 27, 2026 03:16
@jmgasper jmgasper merged commit 3bfa9f6 into develop May 27, 2026
7 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.

1 participant