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
bench(refresh): SDID weight gate requires id alignment - no positional fallback
The registry documents the SDID weight-parity gate as id-aligned and
fail-closed, but compare_weight_vectors() silently fell back to
positional comparison when ids were absent, and the runner never checked
aligned_by_ids - a benchmark-script regression that stopped emitting ids
would have quietly weakened the documented contract.
- compare_weight_vectors(require_ids=True): missing ids on either side
now FAILS the comparison; the SDID publication gate passes it.
Positional fallback remains available (require_ids=False) for legacy
artifacts only.
- ensure_mpdta() integrity checks use explicit raises instead of assert
(asserts vanish under python -O).
- TODO row tracks the intentionally deferred phase-2 artifact/prose push
(removed by that push itself).
- Tests: 48 total (missing-ids-fail-closed with positionally identical
weights, valid-ids pass, non-required fallback preserved).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GPX5Rv8ozQXPdUV23QTfjr
| Benchmark refresh phase 2 (same PR #672): run the gated timed refresh on an idle machine, commit `benchmarks/refresh_2026_07/results/refresh_results.json`, regenerate the marker-bounded regions of `docs/benchmarks.rst` via `gen_benchmark_tables.py`, and reconcile the remaining pre-refresh prose (protocol bullets "3 replications / mean ± std", combined BasicDiD/TWFE wording, SDID note under the perf table, Key Observations, "Reproducing Benchmarks" section, `llms.txt` speedup cross-references). Row removed by the phase-2 push itself. |`benchmarks/refresh_2026_07/`, `docs/benchmarks.rst`|#672| Mid | Medium |
0 commit comments