Aggregated data uses a profile but the profile is stored in the mercury script instead of the parameter file. This profile should be moved to the config file.
Hotspot data is saved directly as pickled files inside agents. The data should be at least saved using a profile. It should also be gathered in the agent but saved at the end of the simulation. Note that saving at the end of the simulation may pose an issue as during live exercises, since runs are sometimes interrupted before the end of it. We could save the data gathered so far a in a "finally" statement to avoid this issue.
Aggregated data uses a profile but the profile is stored in the mercury script instead of the parameter file. This profile should be moved to the config file.
Hotspot data is saved directly as pickled files inside agents. The data should be at least saved using a profile. It should also be gathered in the agent but saved at the end of the simulation. Note that saving at the end of the simulation may pose an issue as during live exercises, since runs are sometimes interrupted before the end of it. We could save the data gathered so far a in a "finally" statement to avoid this issue.