Skip to content
Snippets Groups Projects

Implement per-season leaderboard

Merged Antoine Albertelli requested to merge leaderboard-by-season into master

This MR implements all the logic required to have leaderboard that are per season instead of one only leaderboard. It does so by looking up for each event the relevant season and deciding based on that which score method to use. The score for each season is cached independently, but it is invalidated for all season when there is a new result. The new leaderboard are available at unityleague.ch/ranking/2024.

This also adds a skeleton for the 2024 score, but an incomplete one as I don't have the full specification yet. I think @jari should have it, and once this gets merged, you can add the missing score features.

I will monitor how the latency changes for computing scores with this, but I expect it to be relatively cheap.

Note that the URLs for the new leaderboard are still hidden; you can access them but there is no link to it. This is because I don't want to make it public until it is ready.*

Merge request reports

Pipeline #1516 passed

Pipeline passed for 0114d5f8 on leaderboard-by-season

Test summary results are loading

Merged by Jari RentschJari Rentsch 1 year ago (Jan 8, 2024 8:20am UTC)

Loading

Pipeline #1518 passed

Pipeline passed for 0d9abc4b on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading