gsd 3 weeks ago
parent
commit
ef7d27c143
  1. 6
      other_ext/kamaz_ai.py

6
other_ext/kamaz_ai.py

@ -62,10 +62,14 @@ class KamazAI:
'''
def __init__(self, reports_list):
print("Reports list size: ", len(reports_list))
self.historical_reports = reports_list
self.report_actions = {}
for report in reports_list:
self.report_actions[report["id"]] = report["actions"]
try:
self.report_actions[report["id"]] = report["actions"]
except:
print("Cannot build action", report)
self.numeric_stats = self.normalize_numerics(reports_list)

Loading…
Cancel
Save