You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disparity gate fails on improvements: runtime_log2_ratio is the only symmetric rule, and freeze-results cannot self-heal #351
Every other rule in benchmarks/disparity_regression_policy.json is one-sided and named accordingly:
score_tolerance_fraction.max_absolute_increase
score_abs_diff.max_relative_increase
configuration_difference_count.max_increase
semantic_difference_count.max_increase
runtime_log2_ratio alone uses max_absolute_change with abs(). A 2.1x speedup moves the ratio by about 1.08 and trips the 1.0 limit exactly as a 2.1x slowdown would. PR #347 hits this on both LogisticRegression rows.
A regression gate that blocks improvements will train people to ignore it, which costs the real regressions it exists to catch.
The non-self-healing part
.github/workflows/remaining-issues.yml:154 has freeze-results declare needs: [kmeans-parity, architecture-map]. If the gate fires on main, the freeze job never runs, so the baseline is never re-frozen and the failure persists across subsequent runs rather than clearing itself.
Compounding it: kmeans-parity currently fails on main in roughly 3 of the last 5 runs on its own, so the baseline can go stale without any PR being involved.
Suggested direction
Make the runtime rule one-sided, so only slowdowns fail. If improvements should still be visible, record them as a distinct non-blocking notice rather than a failure. Separately, decide whether freeze-results should still refreeze when the gate fails, or the baseline will keep drifting out of date.
Not fixing this here since it is policy, not perf. PR #347 leaves disparity_regression_policy.json untouched.
Activity
Merge pull request #401 from godofecht/fix/351-373-disparity-gate