Commit b91a485
fix: address CI review round 9 - last_cohort guard, scalar validation
- P1: reject control_group='last_cohort' (EfficientDiD) with survey_config
(needs multi-cohort DGP, same as not_yet_treated)
- P2: add psu_re_sd and fpc_per_stratum finiteness validation to
SurveyPowerConfig.__post_init__
- Update REGISTRY.md to list last_cohort alongside other restrictions
- Add regression tests for last_cohort rejection and scalar validation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c5f9b3c commit b91a485
3 files changed
Lines changed: 31 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
140 | 144 | | |
141 | 145 | | |
142 | 146 | | |
| |||
1997 | 2001 | | |
1998 | 2002 | | |
1999 | 2003 | | |
2000 | | - | |
| 2004 | + | |
2001 | 2005 | | |
2002 | | - | |
| 2006 | + | |
2003 | 2007 | | |
2004 | | - | |
| 2008 | + | |
2005 | 2009 | | |
2006 | 2010 | | |
2007 | 2011 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2255 | 2255 | | |
2256 | 2256 | | |
2257 | 2257 | | |
2258 | | - | |
| 2258 | + | |
2259 | 2259 | | |
2260 | 2260 | | |
2261 | 2261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2602 | 2602 | | |
2603 | 2603 | | |
2604 | 2604 | | |
| 2605 | + | |
| 2606 | + | |
| 2607 | + | |
| 2608 | + | |
| 2609 | + | |
| 2610 | + | |
| 2611 | + | |
| 2612 | + | |
| 2613 | + | |
| 2614 | + | |
| 2615 | + | |
2605 | 2616 | | |
2606 | 2617 | | |
2607 | 2618 | | |
| |||
2629 | 2640 | | |
2630 | 2641 | | |
2631 | 2642 | | |
| 2643 | + | |
| 2644 | + | |
| 2645 | + | |
| 2646 | + | |
| 2647 | + | |
| 2648 | + | |
| 2649 | + | |
| 2650 | + | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
| 2654 | + | |
0 commit comments