Commit 41d7d45
Address PR #376 R7 P3 + proactive doc-drift sweep
R7 P3: HAD.fit()'s `survey_design` parameter docstring still scoped to
"the two continuous-dose paths" even though Phase 4.5 B added mass-point
support and Phase 4.5 B added event-study survey composition (both with
test coverage in TestHADFitMassPointSurveyDesign and
TestHADFitEventStudySurveyDesign). Widened the description to cover the
full dispatch matrix: continuous × {overall, event_study} + mass_point ×
{overall, event_study}. Notes mass-point's vcov_type='hc1' requirement,
event-study's cband=True simultaneous CI, and points readers to
REGISTRY.md for the full matrix.
Proactive sweep (per user request): also updated
HeterogeneousAdoptionDiDEventStudyResults.variance_formula's class
docstring to clarify that the "weights= shortcut" / "survey= path"
labels refer to internal variance-source families (still accurate
internally) — added explicit "including via the deprecated weights=
alias" / "via survey_design= or the deprecated survey= alias" so the
field-level help text agrees with the consolidation.
Other surfaces audited (no drift found): did_had_pretest_workflow,
joint_pretrends_test, joint_homogeneity_test, qug_test, stute_test,
yatchew_hr_test, stute_joint_pretest survey_design= docstrings; all
already align with the canonical kwarg + 3-way mutex contract. Internal
back-end comments using "weights= shortcut" / "survey= path" describe
the (unchanged) routing mechanism; left as-is.
551 tests pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 83329a2 commit 41d7d45
1 file changed
Lines changed: 29 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
708 | 711 | | |
709 | 712 | | |
710 | 713 | | |
| |||
2849 | 2852 | | |
2850 | 2853 | | |
2851 | 2854 | | |
2852 | | - | |
2853 | | - | |
2854 | | - | |
2855 | | - | |
2856 | | - | |
2857 | | - | |
2858 | | - | |
2859 | | - | |
2860 | | - | |
2861 | | - | |
2862 | | - | |
2863 | | - | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
| 2859 | + | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
| 2867 | + | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
2864 | 2877 | | |
2865 | 2878 | | |
2866 | 2879 | | |
| |||
0 commit comments