VAULT = [] def store_reflex(timestamp, scenario_hash, score, state, source): VAULT.append({ "timestamp": timestamp, "scenario_hash": scenario_hash, "score": score, "state": state, "source": source }) return len(VAULT)