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
Address PR #351 R5 P3: test silent-column-pickup contract
The previous rewrite compared two semantically identical pweight-only
SurveyDesign constructions, which can't catch the contract the docstring
claimed — if a future change silently picked up `stratum` or `psu` by
name, both fits would pick them up identically and the test would still
pass.
Rewrite to compare a fit on the original DataFrame (with `stratum` /
`psu` columns present) against a fit on the same data with those columns
physically dropped. If the estimator ever silently reads those columns
by naming convention the two fits would diverge and the abs=1e-12 ATT
check would fail.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments