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

Consider storing rank in the database #288

Open
UEWBot opened this issue Feb 23, 2024 · 0 comments
Open

Consider storing rank in the database #288

UEWBot opened this issue Feb 23, 2024 · 0 comments

Comments

@UEWBot
Copy link
Owner

UEWBot commented Feb 23, 2024

It's currently calculated when needed, but doesn't actually change very often (more frequently than score, because it can change due to other players' scores changing). Would be directly accessible to templates.
May be useful to add a rank_tied attribute, too, because that can be tricky to determine.

Would affect TournamentPlayer and maybe also RoundPlayer. Could also do GamePlayer, but there's no clear need.
It may also make sense to add GamePlayer.best_country_rank (and GamePlayer.best_country_tied?) or similar.

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

No branches or pull requests

1 participant