mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2025-09-26 15:20:18 +00:00
fixed metrics processing ordering,
added metrics logging
This commit is contained in:
@@ -164,6 +164,8 @@ class Metric (Module):
|
||||
|
||||
def _process_data(self):
|
||||
|
||||
self.results = {}
|
||||
|
||||
elo_N = self.config["tests"]["elo"]["N"]
|
||||
elo_K = self.config["tests"]["elo"]["K"]
|
||||
|
||||
@@ -253,6 +255,10 @@ class Metric (Module):
|
||||
temp_vector.update(red)
|
||||
temp_vector.update(blu)
|
||||
|
||||
print(match)
|
||||
|
||||
self.results[match['match']] = temp_vector
|
||||
|
||||
self.client.push_metric(temp_vector)
|
||||
|
||||
def _push_results(self):
|
||||
|
Reference in New Issue
Block a user