Commit 3f7e72c
Fix CI review Round 3: validation guards for het/design2 interactions
P1: heterogeneity without L_max now raises ValueError (was silent no-op).
P1: heterogeneity rejects trends_linear and trends_nonparam (would produce
coefficients for wrong estimand since het test uses raw level changes).
P1: design2=True with drop_larger_lower=True now raises ValueError (the
2-switch groups Design-2 needs are dropped by the default filter).
P3: NaN overall row under trends_linear+L_max>=2 now labeled as
"DID^{fd}_l (see linear_trends_effects)" instead of "Cost-Benefit Delta".
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6f1c99f commit 3f7e72c
3 files changed
Lines changed: 74 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
604 | 614 | | |
605 | 615 | | |
606 | 616 | | |
| |||
2132 | 2142 | | |
2133 | 2143 | | |
2134 | 2144 | | |
2135 | | - | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
2136 | 2151 | | |
2137 | 2152 | | |
2138 | 2153 | | |
| |||
2146 | 2161 | | |
2147 | 2162 | | |
2148 | 2163 | | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
2149 | 2178 | | |
2150 | 2179 | | |
2151 | 2180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
426 | 431 | | |
427 | 432 | | |
428 | 433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2772 | 2772 | | |
2773 | 2773 | | |
2774 | 2774 | | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
| 2781 | + | |
| 2782 | + | |
| 2783 | + | |
| 2784 | + | |
| 2785 | + | |
| 2786 | + | |
| 2787 | + | |
| 2788 | + | |
| 2789 | + | |
| 2790 | + | |
| 2791 | + | |
| 2792 | + | |
| 2793 | + | |
| 2794 | + | |
| 2795 | + | |
| 2796 | + | |
| 2797 | + | |
| 2798 | + | |
| 2799 | + | |
| 2800 | + | |
| 2801 | + | |
| 2802 | + | |
2775 | 2803 | | |
2776 | 2804 | | |
2777 | 2805 | | |
| |||
2822 | 2850 | | |
2823 | 2851 | | |
2824 | 2852 | | |
2825 | | - | |
| 2853 | + | |
| 2854 | + | |
2826 | 2855 | | |
2827 | 2856 | | |
2828 | 2857 | | |
| |||
2836 | 2865 | | |
2837 | 2866 | | |
2838 | 2867 | | |
| 2868 | + | |
| 2869 | + | |
| 2870 | + | |
| 2871 | + | |
| 2872 | + | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
2839 | 2877 | | |
2840 | 2878 | | |
2841 | 2879 | | |
| |||
0 commit comments