From bbd215f6d007232c5136235bd9027da7e3218fa3 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sat, 29 Apr 2017 09:21:10 -0400 Subject: [PATCH] Turn off debug statements after letting things settle a bit. --- xonstat/elo.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/xonstat/elo.py b/xonstat/elo.py index 0e00407..60e7505 100644 --- a/xonstat/elo.py +++ b/xonstat/elo.py @@ -228,18 +228,18 @@ class EloProcessor: adjustmentj = scorefactor_elo_adjusted - scorefactor_real # DEBUG - log.debug("(New) Player i: {0}".format(ei.player_id)) - log.debug("(New) Player i's K: {0}".format(self.wip[pids[i]].k)) - log.debug("(New) Player j: {0}".format(ej.player_id)) - log.debug("(New) Player j's K: {0}".format(self.wip[pids[j]].k)) - log.debug("(New) Ping ratio: {0}".format(ping_ratio)) - log.debug("(New) Scorefactor real: {0}".format(scorefactor_real)) - log.debug("(New) Scorefactor elo: {0}".format(scorefactor_elo)) - log.debug("(New) Scorefactor ping: {0}".format(scorefactor_ping)) - log.debug("(New) adjustment i: {0}".format(scorefactor_real - scorefactor_elo)) - log.debug("(New) adjustment j: {0}".format(scorefactor_elo - scorefactor_real)) - log.debug("(New) adjustment i with ping: {0}".format(adjustmenti)) - log.debug("(New) adjustment j with ping: {0}\n".format(adjustmentj)) + # log.debug("(New) Player i: {0}".format(ei.player_id)) + # log.debug("(New) Player i's K: {0}".format(self.wip[pids[i]].k)) + # log.debug("(New) Player j: {0}".format(ej.player_id)) + # log.debug("(New) Player j's K: {0}".format(self.wip[pids[j]].k)) + # log.debug("(New) Ping ratio: {0}".format(ping_ratio)) + # log.debug("(New) Scorefactor real: {0}".format(scorefactor_real)) + # log.debug("(New) Scorefactor elo: {0}".format(scorefactor_elo)) + # log.debug("(New) Scorefactor ping: {0}".format(scorefactor_ping)) + # log.debug("(New) adjustment i: {0}".format(scorefactor_real - scorefactor_elo)) + # log.debug("(New) adjustment j: {0}".format(scorefactor_elo - scorefactor_real)) + # log.debug("(New) adjustment i with ping: {0}".format(adjustmenti)) + # log.debug("(New) adjustment j with ping: {0}\n".format(adjustmentj)) if scorefactor_elo > 0.5: # player i is expected to win -- 2.39.2