add basic ranking algo

This commit is contained in:
Simone Tesini 2025-08-01 19:14:07 +02:00
parent b1a59b5b62
commit 4bb6254396

View file

@ -38,7 +38,7 @@ class Room:
rank += translate(song.user_score, lowest_score, highest_score, 0.0, USER_SCORE_WEIGHT) rank += translate(song.user_score, lowest_score, highest_score, 0.0, USER_SCORE_WEIGHT)
last10items = self.history[-10:] # last10items = self.history[-10:]
return rank return rank