E6001
Error code: the run stops before anything is written. Raised by: indicator diagnostics.
Cause
Indicator <indicator>, row <row>, breaks the output contract: <rule>.
Fix
Every value of an indicator table is finite; a value that cannot be computed is left empty with a value status (undefined or not applicable); age_unit is set exactly when age_lo is, territory_level exactly when territory_unit is; the unit is an entry of units.toml, the denominator an indicator id, sex female or male and interval_type percentile, range or design_based; the interval level lies between 0 and 1; n_replications is at least 1; age_lo, territory_level and exposure are not negative; and the period lies between 1900-01-01 and 9999-12-31. Correct the indicator definition that produced the row.
What the engine prints
The message names the code, then where the problem is when it has a place in a file, then the fix. Words in angle brackets are filled in with the names and values of your file.
error[E6001]: Indicator <indicator>, row <row>, breaks the output contract: <rule>.
--> <file>:<line>:<column>
= fix: Every value of an indicator table is finite; a value that cannot be computed is left empty with a value status (undefined or not applicable); age_unit is set exactly when age_lo is, territory_level exactly when territory_unit is; the unit is an entry of units.toml, the denominator an indicator id, sex female or male and interval_type percentile, range or design_based; the interval level lies between 0 and 1; n_replications is at least 1; age_lo, territory_level and exposure are not negative; and the period lies between 1900-01-01 and 9999-12-31. Correct the indicator definition that produced the row.
With --json, the same diagnostic is one JSON object with the fields code, severity, file, line, column, rule, fix and args.
Values filled in
indicator, row, rule.
Generated from schemas/messages/en.toml. Do not edit. This page (code E6001) is built from the engine sources at every documentation build. To change it, edit the E6001 rule and fix in the English message catalogue (crates/cohortix-schema/messages/en.toml, published as schemas/messages/en.toml) and open a pull request.