S1005403_RisCC/debug_targets.py

10 lines
406 B
Python

import json
data = json.load(open('archive_simulations/20251113_170236_scenario_dritto.json'))
targets = list(data['simulation_results'].keys())
print(f'Targets in file: {targets}')
for t in targets:
real_count = len(data['simulation_results'][t]['real'])
sim_count = len(data['simulation_results'][t]['simulated'])
print(f'Target {t}: {real_count} real states, {sim_count} simulated states')