From: Ant Zucaro Date: Tue, 19 Dec 2017 19:16:12 +0000 (-0500) Subject: Comment out another debug statement. Change back to default Tau value. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5b9d89430999a7ac5b43e0ef1397c7c6121bed77;p=xonotic%2Fxonstat.git Comment out another debug statement. Change back to default Tau value. --- diff --git a/xonstat/glicko.py b/xonstat/glicko.py index 9f63675..8ed5722 100644 --- a/xonstat/glicko.py +++ b/xonstat/glicko.py @@ -18,8 +18,7 @@ PHI = 350 SIGMA = 0.06 # the default system volatility constant -#TAU = 0.3 -TAU = 0.5 +TAU = 0.3 # the ratio to convert from/to glicko2 GLICKO2_SCALE = 173.7178 @@ -112,7 +111,8 @@ def calc_sigma_bar(sigma, delta, phi, v, tau=TAU): B, fb = C, fc - log.debug("A={}, B={}, C={}, fA={}, fB={}, fC={}".format(A, B, C, fa, fb, fc)) + # DEBUG + # log.debug("A={}, B={}, C={}, fA={}, fB={}, fC={}".format(A, B, C, fa, fb, fc)) return math.e ** (A / 2)