7.9 Portable project layouts
A portable project keeps immutable inputs, reviewed settings and generated outputs separate. One practical layout is:
study/
├── data/ # frozen analysis datasets
├── model/ # control streams and related model inputs
├── config/ # reviewed command settings
├── runs/ # one output directory per execution
└── README.md # units, versions and execution notes
From config/design.power, use ../model/final.ctl; from the control stream, use the appropriate path to data/. Do not place output underneath a folder the model treats as an input source if that encourages accidental globbing or overwrite.
Naming runs
Use names that identify the scientific variant without encoding every setting:
runs/2026-11-03-fim-baseline/
runs/2026-11-03-fim-target090/
The retained effective settings contain the exact values. Directory names are navigation aids, not configuration records. Never depend on “latest” as the only identity of a validated run.
Moving and archiving
Relative paths make the source bundle relocatable, but output manifests may record resolved or displayed paths that differ after a move. Preserve the original bundle and hashes. When archiving, include settings, control streams, data or immutable data references, executable identity, logs, manifests, checksums and result tables.
Large protected datasets may be stored outside the repository. In that case, record a stable dataset identifier and cryptographic digest, and have deployment automation materialise it at the expected path. A bare network-drive letter is not a durable identifier.
Secrets and environment-specific values
Do not commit tokens or credentials in TOML. Keep environmental secrets outside scientific settings and document how they are injected. Separate machine-specific execution wrappers from reviewed model/design configuration.
Common mistakes
- Mixing generated results with source inputs.
- Reusing one output directory for successive variants.
- Treating a mapped drive path as portable provenance.
Checklist
- Separate inputs, settings and runs.
- Use relative paths within the portable bundle.
- Freeze or hash every external input.
Further reading
See path rules, input manifests and review/versioning.