Commit 0434408
committed
R5: document survey zero-weight pre-filter in Raises text
CI AI review R4 P3: the Raises text reads as unconditional but
survey-weighted fits drop zero-weight rows BEFORE running NaN /
coercion / within-cell validation, per the
SurveyDesign.subpopulation() out-of-sample contract
(chaisemartin_dhaultfoeuille.py:170-178). NaN values in zero-weight
rows therefore do not raise. Added a second paragraph to Raises
describing this scope qualifier so the contract is complete.1 parent 5d1e361 commit 0434408
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
159 | 166 | | |
160 | 167 | | |
161 | 168 | | |
| |||
0 commit comments