File size: 894 Bytes
5f38e95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""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",
]