change displayed to 2-sigma confidence

This commit is contained in:
2020-06-17 00:25:40 +02:00
parent f0b67f23c1
commit a90085be3d

View File

@@ -22,7 +22,7 @@ def getPlayer():
p = db.getPlayer(playerId)
if not p:
return ("Player not found", 404)
return "{}'s Rating: {}".format(p.name, int(p.rating.mu - p.rating.sigma))
return "{}'s Rating: {}".format(p.name, int(p.rating.mu - 2*p.rating.sigma))
#### Open Leaderboard ###
@app.route('/findplayer')