Skip to content

innovate.scenario_executions

All current Python definitions

View source · Source file SHA-256: 522871fe0b61b840b5f85b8f278beb2b79c7afd68645265ae3a68983d56d74e4

def scenario_executions(response: dict[str, Any]) -> pl.DataFrame: ...

Tabulate execution entries from a successful scenario-grid envelope.

  • response: Complete response from execute_scenario_grid, with a null outer error and an executions list inside result.

Ordered rows with scenario_id, model_key, successful and execution_json. The JSON column retains nested results and errors. An execution is successful only when it has no error and is not paused.

  • ValueError: If the envelope or execution rows are malformed, or native IPC conversion or finite JSON serialization fails.
  • TypeError: If response values are not JSON-compatible.
  • polars.exceptions.PolarsError: If the resulting IPC cannot be read.