From 79bd472660a4af96f772d0dff77e8afa1bbac3f4 Mon Sep 17 00:00:00 2001 From: vainsocial Date: Fri, 22 Dec 2017 12:37:55 +0000 Subject: fix wrong reference to rank points ranked --- worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.py b/worker.py index 907cb49..bb89f24 100644 --- a/worker.py +++ b/worker.py @@ -260,7 +260,7 @@ def process(): # approximate by rank points if possible if player.rank_points_ranked is not None: sigma = UNKNOWN_PLAYER_SIGMA * (2.0/3.0) # more accurate = more trust - mu = participant.rank_points_ranked + sigma + mu = float(player.rank_points_ranked) + sigma else: # approximate rank points by skill tier sigma = UNKNOWN_PLAYER_SIGMA -- cgit v1.3.1