Validate Configuration¶
Source code:
bff/workflows/validate/config.pybff/workflows/validate/main.pybff/workflows/_shared/campaign.py
Purpose¶
bff validate reruns selected parameter samples, usually drawn from the
posterior learned by bff learn.
The campaign runtime keys intentionally match bff sample as closely as
possible.
Minimal Example¶
campaign_dir: ./
parameters: ../06-learn/posterior-samples.yaml
specs: ../03-sample/specs.yaml
systems:
- assets: ../02-assets/ffmd/system-000
n_steps: 1000
gmx_cmd: gmx
job_scheduler: local
Top-Level Keys¶
campaign_dirOutput directory for the validation campaign.parametersYAML file containing explicit parameter samples.specsForce-field specification file used to reconstruct constrained parameters.systemsNon-empty list of prepared asset directories plus validation MD lengths.gmx_cmdGROMACS executable.job_schedulerEitherlocalorslurm.dispatchIftrue, launch jobs immediately after staging them.compressIftrue, compress finished simulation outputs.cleanupIftrue, remove temporary files after successful runs.storeWhich trajectory outputs to keep. Defaults to['xtc'].slurmOptional Slurm runtime configuration.
systems[] Keys¶
assetsDirectory created bybff prepare-assets, for exampleffmd/system-001.n_stepsProduction MD length for this validation run.
Parameter File Format¶
Validation consumes YAML only. The expected structure is a mapping from explicit parameter name to a list of sampled values:
charge C1: [-0.5, -0.4, -0.3]
charge O1 O2: [-0.7, -0.6, -0.5]
Implicit charges are reconstructed from specs.yaml, so they do not need to
appear in the file.