Commit 2449842
callaway-santanna: align docs with narrowed df_inference contract
Two P3 doc-only follow-ups:
1. llms-full.txt CS entry kept vcov_type before n_bootstrap in the
pseudo-signature even after the constructor was reordered to append
vcov_type at the end. Moved vcov_type to the end of the pseudo-
signature so the generated guide matches the actual __init__ order
(matches SA / WooldridgeDiD convention).
2. staggered_results.py class attribute docstring + inline field comment
for df_inference still described it as populated on "Legitimate
survey_design= fits" alongside survey_metadata. Updated to reflect
the narrowed contract: df_inference is populated on the bare-cluster-
synthesize path ONLY (where survey_metadata is None). When user
provides survey_design=, df_inference stays None and the canonical
df carrier is survey_metadata.df_survey. HonestDiD reads
survey_metadata first, df_inference fallback.
3. test_explicit_survey_design_does_populate_survey_metadata docstring
still said "+ df_inference also populated"; updated to match the
body assertion (which already correctly asserts df_inference is None).
No source/test logic changes. All 80 targeted tests + test_honest_did
pass.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 7c6146e commit 2449842
3 files changed
Lines changed: 33 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
196 | 195 | | |
197 | 196 | | |
198 | 197 | | |
199 | 198 | | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
122 | 127 | | |
123 | 128 | | |
124 | 129 | | |
| |||
170 | 175 | | |
171 | 176 | | |
172 | 177 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
180 | 188 | | |
181 | 189 | | |
182 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4704 | 4704 | | |
4705 | 4705 | | |
4706 | 4706 | | |
4707 | | - | |
4708 | | - | |
4709 | | - | |
4710 | | - | |
4711 | | - | |
| 4707 | + | |
| 4708 | + | |
| 4709 | + | |
| 4710 | + | |
| 4711 | + | |
| 4712 | + | |
| 4713 | + | |
| 4714 | + | |
| 4715 | + | |
4712 | 4716 | | |
4713 | 4717 | | |
4714 | 4718 | | |
| |||
0 commit comments