Skip to content
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

Pin score in highest division to rating #69

Merged
merged 3 commits into from
Jun 23, 2024
Merged

Conversation

BlackYps
Copy link
Collaborator

@BlackYps BlackYps commented Jun 4, 2024

high rated players want to have some sort of leaderboard and they treat rating as the authority of skill measurement.
The current code doesn't really ensure that people are ranked by their rating.
This change pins the score to the underlying rating in the highest division (grandmaster) only. If the underlying rating changes enough, the score will change aswell.

@BlackYps BlackYps force-pushed the score-calculation branch from d688257 to f51e8ee Compare June 23, 2024 15:30
Copy link

codecov bot commented Jun 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.66%. Comparing base (88a65fe) to head (186218c).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #69      +/-   ##
===========================================
- Coverage    96.66%   96.66%   -0.01%     
===========================================
  Files           12       12              
  Lines          510      509       -1     
===========================================
- Hits           493      492       -1     
  Misses          17       17              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@BlackYps BlackYps requested a review from Askaholic June 23, 2024 15:36
@BlackYps BlackYps merged commit 05663d5 into develop Jun 23, 2024
5 of 6 checks passed
@BlackYps BlackYps deleted the score-calculation branch June 23, 2024 16:58
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.

2 participants