Commit a520c52
Round-11 CI P3: branch sentinel-mass error wording on replicate vs TSL
The shared terminal-missingness ValueError in `_survey_se_from_group_if`
said "Analytical survey SE" and attributed the failure to "within-
group-varying PSU" — misleading for replicate ATT users, since
replicate designs carry no PSU structure and still hit the same
guard.
Branch the wording on `resolved.uses_replicate_variance`:
- Replicate ATT: "Rao-Wu replicate-weight ATT variance" + note
that replicate ATT unconditionally uses the cell-period allocator
per the Class A contract, PSU is not involved.
- Binder TSL: keeps the original "Analytical Binder TSL survey SE"
wording + the within-group-varying-PSU trigger explanation.
Shared mechanic and pre-processing workaround kept the same. The
regression tests still match on "no positive-weight observations"
which appears in both branches.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ae58385 commit a520c52
1 file changed
Lines changed: 37 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5958 | 5958 | | |
5959 | 5959 | | |
5960 | 5960 | | |
| 5961 | + | |
| 5962 | + | |
| 5963 | + | |
| 5964 | + | |
| 5965 | + | |
| 5966 | + | |
| 5967 | + | |
| 5968 | + | |
| 5969 | + | |
| 5970 | + | |
| 5971 | + | |
| 5972 | + | |
| 5973 | + | |
| 5974 | + | |
| 5975 | + | |
| 5976 | + | |
| 5977 | + | |
| 5978 | + | |
| 5979 | + | |
| 5980 | + | |
| 5981 | + | |
| 5982 | + | |
| 5983 | + | |
| 5984 | + | |
5961 | 5985 | | |
5962 | | - | |
5963 | | - | |
5964 | | - | |
5965 | | - | |
5966 | | - | |
5967 | | - | |
5968 | | - | |
5969 | | - | |
5970 | | - | |
5971 | | - | |
5972 | | - | |
5973 | | - | |
5974 | | - | |
| 5986 | + | |
| 5987 | + | |
| 5988 | + | |
| 5989 | + | |
| 5990 | + | |
| 5991 | + | |
| 5992 | + | |
| 5993 | + | |
| 5994 | + | |
| 5995 | + | |
| 5996 | + | |
| 5997 | + | |
| 5998 | + | |
5975 | 5999 | | |
5976 | 6000 | | |
5977 | 6001 | | |
| |||
0 commit comments