Closed a-t-0 closed 1 year ago
The json graph output structure should be: experiment setting run setting graphs.
Depending on the run settings and experiment settings, the graphs should be: ... ...
And depending on the level of completion, these graphs should have a stage index: 1,2,3,4.
f"stage_{stage}"
. It should not be used, the stage completion is indicated with a list inside the graph under key: completed_stages = {..}
for stage in stages:
if f"stage_{stage}" in output_dict["graphs_dict"]:
restored_graphs_dict[f"stage_{stage}"] = output_dict[
"graphs_dict"
][f"stage_{stage}"]
And another one. CTRL+F
completed_stages
key never contains duplicate values.Up next. Make sure the main.py outputs the expected dictionaries (if export_snns is false).
# TODO: check if the overwrite is True,
# TODO: check if the graphs already are loaded from file.
# TODO: check if the graphs can be loaded from file,
# TODO: Verify the (incoming (and loaded)) graph types are as expected.
The alg props are modified during test TTTF. This leads to a different sim_time at different times in the test (while creating the dummy images, sim duration =55, and while testing if stage 3 is completed, sim_duration =94.
__main__
(temporarily).