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
Extend TROP convergence tests to cover LOOCV and bootstrap aggregation
AI review on PR #317 flagged that my earlier fit()-level test only covered
the per-treated-observation aggregation path, not the LOOCV or bootstrap
wrapper paths. A regression in _nonconvergence_tracker plumbing for those
paths could slip through.
- test_local_fit_emits_single_aggregate_warning: expanded to assert per-obs,
LOOCV, and bootstrap warnings each appear at most once per .fit().
- test_global_fit_emits_single_aggregate_warning: new test mirroring the
local one for method="global" (LOOCV + bootstrap paths).
Both use n_bootstrap=2, minimal lambda grid, and max_iter=1/tol=1e-15 to
keep cost low: ~3.4s for all 6 TROP convergence tests combined.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments