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 AI review round 3: normalize np.inf never-treated encoding
first_treat=np.inf (documented as valid for never-treated units) passed
all `> 0` checks in sun_abraham.py and staggered.py, causing np.inf to
be treated as a cohort with -inf relative times. Fixed by normalizing
np.inf to 0 immediately after computing _never_treated in both estimators.
Added regression tests verifying equivalence between encodings.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments