Spaces:
Sleeping
Sleeping
Download src/cdpr/experiments/__init__.py from JoeTach/cdpr-simulator: direct link, hf CLI and curl.
- Browser
- Download file 894 Bytes
-
https://huggingface.co/spaces/JoeTach/cdpr-simulator/resolve/main/src/cdpr/experiments/__init__.py
- Command line
-
hf download hf://spaces/JoeTach/cdpr-simulator/src/cdpr/experiments/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/JoeTach/cdpr-simulator/resolve/main/src/cdpr/experiments/__init__.py
894 Bytes
| """Reproducible experiment configuration and bundles. | |
| An :class:`ExperimentConfig` fully describes a research experiment --- | |
| which scenarios to run, on which backends, where to write the results. | |
| :func:`run_experiment` executes it, hashes the configuration into a | |
| deterministic directory name, and writes a self-contained artifact | |
| bundle (per-run JSON + master manifest) that can be re-run from disk by | |
| a colleague with no additional context. | |
| The bundle is the unit the dissertation appendix points at: one | |
| ``cdpr.experiments.run_experiment`` invocation produces everything | |
| needed to reproduce a figure or table. | |
| """ | |
| from cdpr.experiments.bundle import ExperimentBundle, load_bundle | |
| from cdpr.experiments.config import ExperimentConfig | |
| from cdpr.experiments.runner import run_experiment | |
| __all__ = [ | |
| "ExperimentConfig", | |
| "ExperimentBundle", | |
| "run_experiment", | |
| "load_bundle", | |
| ] | |