-
Notifications
You must be signed in to change notification settings - Fork 53
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
base: master
Are you sure you want to change the base?
Leaderboard #1238
Conversation
…rd sql query for all users in course
…ny to display in leaderboard)
… into leaderboard
…tests. Updated leaderboard fetching and exporting for assessment workspace leaderboard. Added Leaderboard Dropdown contests fetching.
…voting XML and added dispatch endpoint for XP customisation
…values. Refactor Score calculation logic to reset to 0 before calculating.
…bility. Uncommented leaderboard portions after finalising testing
…ew helpers to include rank
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! Made quite a few comments, do look through them. One issue I have is the lack of pagination, sending over 1000 students in a json for each request seems expensive to me. Also would it be possible to implement some tests? Some errors I caught would've been caught if there were tests.
…rove error responses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reviewing my comments so quickly. Just a few more minor nits. Also do update the tests to make sure they pass.
priv/repo/migrations/20250429081534_add_leaderboard_display_columns.exs
Outdated
Show resolved
Hide resolved
…lculation shifted to frontend
…test coverage for leaderboard endpoints
…or automatic XP assignment for contest winners
Description
Type of change
How to test
Checklist