]> git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Comment out another debug statement. Change back to default Tau value.
authorAnt Zucaro <azucaro@gmail.com>
Tue, 19 Dec 2017 19:16:12 +0000 (14:16 -0500)
committerAnt Zucaro <azucaro@gmail.com>
Tue, 19 Dec 2017 19:16:12 +0000 (14:16 -0500)
xonstat/glicko.py

index 9f63675a80966c8f014da6a3a44a5f2d3b241bed..8ed57221fcfff6a8f5b7d5e5d9b9eec90c013a8c 100644 (file)
@@ -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)