mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2026-10-11 21:08:31 +00:00
10:57
This commit is contained in:
1 parent
6a9a17c5b4
commit
f56c85b298
1 file changed
+1
-3
@@ -324,7 +324,7 @@ 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, "gl2":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}
|
||||
|
||||
@@ -332,8 +332,6 @@ def load_metrics(apikey, competition, match, group_name):
|
||||
|
||||
metrics = db_data["metrics"]
|
||||
|
||||
#print(metrics)
|
||||
|
||||
elo = metrics["elo"]
|
||||
gl2 = metrics["gl2"]
|
||||
ts = metrics["trueskill"]
|
||||
|
||||
Reference in new issue
Block a user