fix calculation of displayed rating

This commit is contained in:
2020-06-17 17:47:04 +02:00
parent 42f319f75b
commit 34e9a4dbf6

View File

@@ -12,7 +12,7 @@ class PlayerInLeaderboard:
self.playerId = playerId
self.mu = mu
self.sigma = sigma
self.rating = int(self.mu) - int(self.sigma)
self.rating = int(self.mu) - 2*int(self.sigma)
self.games = int(games)
self.wins = int(wins)
self.loses = self.games - self.wins