Skip to main content
The quality gate turns a set of rule scores into one verdict. It is deterministic arithmetic — no model is involved at this step.

The three gates

If no rules apply, the gate passes — there is nothing to fail.

The arithmetic worth knowing

A score of 1 on any pass/fail or deterministic rule trips the floor. Deterministic rules are therefore hard gates under these two settings — which is usually what you want, since they only fail on things that are objectively wrong.
Custom-scored rules returning 2 or 3 do not trip the floor, but they do count against the 70% threshold.With only three rules, a single custom rule scoring 3 already means just 67% are at 4 or above — a reject. Few rules combined with custom scoring makes for a twitchy gate. Know the arithmetic before mixing them.
Scores of 5, 5 and 1 average 3.67, which is accepted despite the failure.Never use lenient alongside brand-critical deterministic rules.

Choosing one

balanced is the default and right for most configurations. Move to strict when every rule is genuinely blocking. Use lenient only when the rules are advisory.

Calibrating to your economics

What happens to a rejected item decides the right strictness.In Speedtrain’s normal flow a rejection lands in a human review queue, which makes false rejections cheap and missed violations the expensive error. That argues for keeping deterministic rules strict and AI rules narrow.If rejection instead triggers costly retries, bias the other way.

Routing

The gate’s verdict drives what happens next. Accepted items can auto-approve; rejected items go to human review with the failing rule’s feedback attached, where a person can accept, decline, or retry. All decisions happen in the Speedtrain UI. Review sessions