-
Notifications
You must be signed in to change notification settings - Fork 0
Leaderboard updates #262
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
Leaderboard updates #262
Conversation
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.
Pull Request Overview
This PR enhances the leaderboard system with updates to sorting, tier filtering, and submission management. The changes improve tie-breaking consistency and add functionality to prevent duplicate submissions.
- Enhanced sorting with consistent tie-breaking using displayName
- Removed TIER4 user filtering to include all user tiers
- Added submission status checking to prevent duplicate leaderboard submissions
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/services/leaderboard/leaderboard-utils.ts | Updated sorting logic, removed tier filtering, and added submission existence checking |
| src/services/leaderboard/leaderboard-schema.ts | Added new validation schemas for submission checking and optional user promotion list |
| src/services/leaderboard/leaderboard-router.ts | Added submission status endpoint and duplicate submission prevention logic |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Bahl-Aryan
left a comment
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.
theres probably more nits and some rendundancy issues (in leaderboard utils), but LGTM just want to unblock
No description provided.