Skip to content
Skip to Content

E8076

Error code: the run stops before anything is written. Raised by: run and outputs.

Cause

step "<step>": stratum <stratum> has <households> households, but its margin units total <margins>

Fix

Make the margins of each stratum (the households column of the margin rows whose stratum it is) sum to its number of households in the households input, and give every stratum of the households a margin 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[E8076]
error[E8076]: step "<step>": stratum `<stratum>` has <households> households, but its margin units total <margins>
  --> <file>:<line>:<column>
  = fix: Make the margins of each stratum (the `households` column of the margin rows whose `stratum` it is) sum to its number of households in the households input, and give every stratum of the households a margin 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

step, stratum, households, margins.

Generated from schemas/messages/en.toml. Do not edit. This page (code E8076) is built from the engine sources at every documentation build. To change it, edit the E8076 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.

On this page

You are reading the docs for 0.1. Keys can change between versions: use the version that matches cohortix --version.