openworld_radio_twin.dataset#
High-level Python interface for reproducible dataset generation.
Functions
|
Generate a dataset without starting the web service. |
|
Generate, resume, or deterministically extend a dataset from a normal script. |
|
Validate a model, mapping, or JSON file as a batch dataset request. |
|
Expand a dataset request without provider access or solver execution. |
Classes
|
Completed dataset location together with its deterministic expanded plan. |
- class openworld_radio_twin.dataset.DatasetGenerationResult(output_directory, plan)[source]#
Bases:
objectCompleted dataset location together with its deterministic expanded plan.
- openworld_radio_twin.dataset.load_dataset_request(source)[source]#
Validate a model, mapping, or JSON file as a batch dataset request.
- Return type:
- openworld_radio_twin.dataset.plan_dataset(source)[source]#
Expand a dataset request without provider access or solver execution.
- Return type:
- async openworld_radio_twin.dataset.generate_dataset(source, *, output_root=None, settings=None, progress=None, resume=False)[source]#
Generate a dataset without starting the web service.
The function owns and closes its HTTP client and worker thread. Use this asynchronous entry point from notebooks, services, or existing event loops. For ordinary scripts, use
generate_dataset_sync(). Setresume=Trueto skip complete cases and regenerate missing cases in a compatible existing dataset.- Return type: