9cc8d1a6

By: Lucien Huber <im@lcnbr.ch>

Add opt-in screening_policy v2 to reduce paired gate flakiness

Adds opt-in screening_policy: "v2" (default remains "v1" for full
backwards compatibility with existing captures and trusted-publisher
revalidation):

- Use directional upper-bound uncertainty (effect + margin > relative_limit
  and delta + absolute_margin > absolute_limit) instead of bare
  margin >= relative_limit so faster/neutral runs whose upper bound stays
  below the regression limit pass cleanly.
- Scale margin by sqrt(5 / n) (and min_slower = ceil(0.8 * n)) so 10-pair
  combined discovery+confirmation checks reflect their larger sample size.
- Request independent confirmation on noisy/uncertain discovery batches
  (status 2) as well as suspected regressions (status 1), passing when
  one batch passes, the other is uncertain, and the combined 10-pair
  check passes (while still rejecting non-replicating regressions and
  persistently noisy runs).
GitHub
configure