From 6a9a17c5b41c5854e63c2a47cc4b1e7572d96f34 Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Fri, 6 Mar 2020 10:43:45 -0600 Subject: [PATCH] 10:43 --- data analysis/superscript.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data analysis/superscript.py b/data analysis/superscript.py index 7c4a0a41..2b8a2bee 100644 --- a/data analysis/superscript.py +++ b/data analysis/superscript.py @@ -324,13 +324,16 @@ def load_metrics(apikey, competition, match, group_name): gl2 = {"score": 1500, "rd": 250, "vol": 0.06} ts = {"mu": 25, "sigma": 25/3} - d.push_team_metrics_data(apikey, competition, team, {"elo":elo, "gliko2":gl2,"trueskill":ts}) + d.push_team_metrics_data(apikey, competition, team, {"elo":elo, "gl2":gl2,"trueskill":ts}) group[team] = {"elo": elo, "gl2": gl2, "ts": ts} else: metrics = db_data["metrics"] + + #print(metrics) + elo = metrics["elo"] gl2 = metrics["gl2"] ts = metrics["trueskill"]