Skip to content
Draft
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
US certification closes the post-export scorer when any error stops it during scoring, before the error leaves certification: when the reform-coverage smoke fails at the certified tier (or with an evidence-tier failure no owner matches), when a stage raises, or on a SIGTERM. A pooled scorer then kills the workers still running a unit (such as reform validation's first units, which start before the smoke's result is decided) instead of leaving them to run until the process exits, tells idle workers to exit, and removes the batch files. An ordinary error from closing is printed and the first error raised; an interrupt while closing is raised instead. A failed smoke that certification goes on past (the allow option, or an evidence failure with an owner) cancels nothing.
18 changes: 18 additions & 0 deletions docs/us-release-build-rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,24 @@ one Microsimulation over the whole file.
the shared pass's values is still served. Each of these is a
`WorkerPoolError` and stops certification, the held-out reports included,
where the serial scorer, which has no memory cap, may have finished.
- The smoke's reform units are the first reform units in the second run,
after the shared baseline pass, so its result is known before reform
validation's units are due. Workers still run ahead of the stages, by up
to twice the worker count of units: with two or more workers, reform
validation's first units start while the smoke's last are running, and
with one, its first unit is handed out as the smoke's last result comes
back, before the smoke's result is decided. Any error that stops
certification during scoring (the smoke's refusal at the certified tier,
an evidence-tier failure with no owner, a stage's own error, a SIGTERM)
closes the scorer before the error leaves certification: workers still
running a unit are killed at once, idle workers are told to exit and
killed if they have not within 10 seconds, and the batch files are
removed. An ordinary error from closing is printed and the first error
raised; an interrupt while closing (Ctrl-C, or a first SIGTERM) is raised
instead, and batch files a failed close left are removed when the process
exits. A failed smoke that certification goes on past (the allow option,
or an evidence failure with an owner) cancels nothing. The serial scorer
is closed the same way.
- Each stage then runs as in the serial path and builds its own reforms (the
smoke records each list edit's resolved lists from its own). Its baseline
is served its recorded plan, and each reformed simulation its recorded
Expand Down
Loading