Expand description
The command-line tool comnum: run declarative Monte Carlo campaigns.
comnum run SPEC... [--out DIR] [--threads N] [--fast-dev-run] [--profile] [--quiet]
comnum check SPEC...
comnum verify SPEC... [--out DIR] [--threads N] [--quiet]
comnum conditions SPEC
comnum blocks [NAME...] [--json]
comnum schemarun writes the CSV and JSON reports given by the specification, or
DIR/<name>.csv and DIR/<name>.json (DIR = results by default), and prints
every metric with its confidence interval (for a specification with a search, the
operating point of every combination of the other axes); --profile adds the mean
time of every block (profile). check builds the link of every
condition and runs one trial of each, without writing anything (for a specification
with a search, at the lower end of its range for every combination of the other
axes). verify runs the specifications and checks their expected results (closed
forms, published curves), prints every check, writes the reports of the run and
DIR/<name>.verify.json, and fails if a check fails. conditions lists the
conditions of the grid; blocks documents the blocks of the links (their parameters
with types, units and accepted values, and their ports; as JSON with --json);
schema prints the JSON Schema of a block of a link, for editors and graphical
front ends.
The binary comnum of this crate is main on the arguments of the process; a crate
that adds blocks (blocks::register) wraps the same function in its own binary,
so that its command lists, checks and runs them with the others.
Functionsยง
- main
- Run the command line on its arguments (without the program name); the exit code is 0 on success, 1 on a failure and 2 on a usage error.