innovate.scenario_executions
All current Python definitions
View source · Source file SHA-256: 522871fe0b61b840b5f85b8f278beb2b79c7afd68645265ae3a68983d56d74e4
Signature
Section titled “Signature”def scenario_executions(response: dict[str, Any]) -> pl.DataFrame: ...Tabulate execution entries from a successful scenario-grid envelope.
Parameters
Section titled “Parameters”response: Complete response fromexecute_scenario_grid, with a null outer error and anexecutionslist insideresult.
Returns
Section titled “Returns”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.
Raises
Section titled “Raises”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.