def from_json_dict(
      cls, json_dict: Mapping[str, str | float | bool | SimulationOutcome]
  ) -> 'ScenarioResult':
    """Converts a dict that was loaded from json into a ScenarioResult."""
    data = json_dict
    return cls(**data)
Converts a dict that was loaded from json into a ScenarioResult.
examples/deprecated/modular/utils/logging_types.py