Skip to content

Prod deploy of PM-5457 - #143

Merged
jmgasper merged 2 commits into
masterfrom
develop
Jul 7, 2026
Merged

Prod deploy of PM-5457#143
jmgasper merged 2 commits into
masterfrom
develop

Conversation

@jmgasper

@jmgasper jmgasper commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

No description provided.

jmgasper added 2 commits July 1, 2026 14:24
What was broken
Development challenge history cards could render without placement or rating even when the same challenge had those display values under a configured rating path such as DATA_SCIENCE / AI Engineering.

Root cause (if identifiable)
The stats history response grouped duplicate challenge rows by track and type without sharing display fields between the source-track row and the rating-path row. Profile pages that displayed the source-track history saw the metadata-only row and rendered blank stats.

What was changed
The unified stats history response now backfills only missing placement and newRating values from another history row with the same challenge id. Existing values are preserved, so a source-track rating is not overwritten by a rating-path rating.

Any added/updated tests
Added a stats history unit test covering duplicate Development / Challenge and DATA_SCIENCE / AI Engineering rows, including preserving an existing Development rating while copying missing placement.
PM-5457: Backfill duplicate challenge history display fields
@jmgasper
jmgasper merged commit 11203d9 into master Jul 7, 2026
5 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