One aggregate acceptance rule, evaluated once after every test in the suite
has run. Each criterion aggregates a single annotation's scores with one
AcceptanceMetric and fails the suite when the result misses its bar.
Scoring notes shared by every metric:
Boolean scores count as 1 (true) / 0 (false).
If a run logs the same annotation more than once, the last one counts.
Skipped tests are excluded; dry-run tests are included (they still run).
A criterion is computed over the runs that logged its annotation. A run
that did not log it is outside the criterion, not a failure: suites may
log different annotations on different tests. A run that throws is
already a failed test in Vitest / Jest, so it is not counted again here.
Compare sampleCount with eligibleRunCount to see how many runs a
criterion covered.
One aggregate acceptance rule, evaluated once after every test in the suite has run. Each criterion aggregates a single annotation's scores with one AcceptanceMetric and fails the suite when the result misses its bar.
Scoring notes shared by every metric:
1(true) /0(false).sampleCountwitheligibleRunCountto see how many runs a criterion covered.