Skip to content

Leaderboard #1238

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open

Leaderboard #1238

wants to merge 28 commits into from

Conversation

tohyzhong
Copy link

@tohyzhong tohyzhong commented Mar 17, 2025

Description

  • Added Overall Leaderboard and Contest Leaderboards
  • XP and contest score fetching from backend
  • Top X Contest Entries to display, Top X Overall leaderboard entries to display
  • contest scores update button in ground control (under voting features)
  • Update assessment workspace Leaderboard logic (based on customised X desired contest entries to display) + csv export fix
  • Automatic XP assignment for contest winners based on XML file (fallback on default value iif XML file does not specify any, put 0 in for rank 1 to not give any XP)
  • Leaderboards are ranked such that the same rank can be given for same score/XP, and we will skip however many ranks that are duplicated. (e.g. if we have two rank 1s, the next will be rank 3)
  • Updated contest winner fetching for assessment workspace leaderboard to align with new Leaderboard page

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Code quality improvements

How to test

Checklist

  • I have tested this code
  • I have updated the documentation

@tohyzhong tohyzhong self-assigned this Mar 17, 2025
@coveralls
Copy link

Coverage Status

coverage: 91.307% (-2.3%) from 93.605%
when pulling 64e812b on leaderboard
into 41e3ce1 on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants