gate-selftest-missing
Rung gates · correctness · default error
What it catches
Section titled “What it catches”A gate reported no selftest, a failed one, or one that flagged nothing: it cannot prove it still detects what it checks for.
A gate that never fails may be a gate that cannot. The selftest is the gate’s proof that it still detects what it is for: it feeds itself known-bad input and reports how much it flagged. Without a passing selftest a clean result says nothing about whether the check works, and a selftest that flagged nothing (flagged of zero or less) proves nothing either, even when it says ok.
Have the gate run its selftest and include "selftest": {"flagged": N, "ignored": M, "ok": true} in the report, with flagged above zero.
Example
Section titled “Example”{"gate": "chrome", "selftest": {"flagged": 6, "ignored": 4, "ok": true}}