Experiment
experiment
Experiment checks — the FORM of an experiment folder, never its substance.
axm-init grades the SHAPE a scaffolded experiment must carry: the five
working directories and the two root files. The substance (manifest
validity, input hashing, DAG coherence, freeze anteriority, metrics) is the
job of a dedicated tool in another package — duplicating it here would be an
architecture regression, so no check in this module ever reads the CONTENT
of manifest.yaml.
check_experiment_files(project)
Check: manifest.yaml and README.md exist at the experiment root.
Existence only — the manifest CONTENT is never parsed here, so a freshly scaffolded experiment whose manifest still holds TODO placeholders passes this form check.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
project
|
Path
|
Experiment root directory. |
required |
Returns:
| Type | Description |
|---|---|
CheckResult
|
A failed |
CheckResult
|
passed one. |
Source code in packages/axm-init/src/axm_init/checks/experiment.py
check_experiment_structure(project)
Check: the experiment folder carries the five working directories.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
project
|
Path
|
Experiment root directory. |
required |
Returns:
| Type | Description |
|---|---|
CheckResult
|
A failed |
CheckResult
|
a passed one. |