Documentation

22.7 Input artifacts and run-family discovery

nlmx cov can resolve a completed run from a configuration, control stream, model directory, explicit artifact manifest, or individual file overrides. The safest workflow makes the run stem and artifact identity unambiguous.

nlmx cov --model-dir fits/run101 --run-stem run101 `
  --covariates "CL=WT,EGFR;V=WT"

The directory should contain a compatible control stream, EXT, covariance/correlation files where needed, PHI or ETA table where needed, and access to the analysis dataset. --ctl can locate sibling artifacts or a fit output folder. --files supplies an explicit manifest. --recursive broadens discovery but should not turn ambiguity into arbitrary selection.

Overrides—--ext, --cov, --cor, --data, --lst, --phi, and --table—are useful for controlled reproduction. They also increase the risk of mixing parameter order, model code, data, and subject estimates from different runs. Match stem, parameter dimensions/labels, OFV context, IDs, and checksums.

The input_manifest.json written by a covariate run records resolved files. Review it beside normalized_config.covar. A portable project may use relative paths, but archived evidence should make the actual resolved identities clear.

Use a new output directory per method and sensitivity. --overwrite is convenient for tutorials, not for preserving a selection history. nlmx resume should continue a compatible run rather than being pointed at an unrelated cache.

Common mistakes

  • Combining EXT and COV files from different model versions.
  • Relying on directory discovery when several stems exist.
  • Assuming matching dimensions prove parameter compatibility.
  • Overwriting method runs in one output folder.
  • Moving reports without their normalized configuration and manifest.

Checklist

  • Resolve one control stream, dataset, and run stem.
  • Match parameter ordering and subject IDs across artifacts.
  • Review the written input manifest.
  • Use distinct output directories for methods/sensitivities.
  • Archive hashes, version, command, and normalized configuration.

Further reading

Continue with scope declaration, inspection, and Chapter 20 input resolution.