Loads and resolves versioned batch evaluation policy files.
Policy files use string keys at the YAML boundary and are normalized into a fixed atom-keyed shape. Dataset paths are expanded relative to the current working directory, not relative to the policy file.
Summary
Functions
Loads a YAML policy from path.
Parses YAML policy content into the normalized policy shape.
Resolves runtime settings with explicit values taking precedence over the
policy, and policy values taking precedence over defaults.
Types
@type pass_rule() :: :all | :any | :majority | {:rate, float()}
Functions
Loads a YAML policy from path.
:cwd controls both policy and dataset path expansion. Set
allow_empty_datasets: true when positional CLI datasets will be supplied to
resolve/3 later.
Parses YAML policy content into the normalized policy shape.
Resolves runtime settings with explicit values taking precedence over the
policy, and policy values taking precedence over defaults.
A nonempty explicit :datasets list represents positional CLI files and
replaces the policy dataset list rather than appending to it.