Skip to content

Conversation

sayomaki
Copy link
Contributor

@sayomaki sayomaki commented Sep 2, 2025

As described in title. The XP calculation for the leaderboard was missing another aggregation query to combine the results for all submission for all users, which led to the leaderboard only showing the XP for a single submission.

@sayomaki sayomaki requested a review from RichDom2185 September 2, 2025 17:43
@sayomaki sayomaki self-assigned this Sep 2, 2025
@RichDom2185 RichDom2185 enabled auto-merge (squash) September 2, 2025 17:45
@sayomaki sayomaki disabled auto-merge September 2, 2025 17:47
@coveralls
Copy link

coveralls commented Sep 2, 2025

Coverage Status

coverage: 89.66% (+0.04%) from 89.625%
when pulling e0b8194 on leaderboard-fix2
into 160de6d on master.

@sayomaki sayomaki merged commit c5467ca into master Sep 6, 2025
2 checks passed
@sayomaki sayomaki deleted the leaderboard-fix2 branch September 6, 2025 06:45
sayomaki added a commit that referenced this pull request Sep 16, 2025
* Fix leaderboard XP calculation

* Convert count query to use pipelines

* Use pipeline query for total xp

* Fix results of leaderboard xp query returning as decimal

* Use direct map on result instead
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.

3 participants