|
|
|
@ -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) |
|
|
|
|
|
|
|
|