Commit 8a57c5d
Fix CI review Round 10: NaN set validation, design2 raw Y, controls=[]
P1: trends_nonparam now rejects NaN/missing set assignments with ValueError.
P1: design2_effects always uses raw level outcomes from y_pivot (not
residualized or first-differenced Y_mat).
P2: controls=[] now raises ValueError instead of crashing on np.stack([]).
P3: summary() overall block labeled "N/A under trends_linear" when
trends + L_max>=2 (was "Cost-Benefit Delta" with NaN value).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e3d51db commit 8a57c5d
2 files changed
Lines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
634 | 640 | | |
635 | 641 | | |
636 | 642 | | |
| |||
1081 | 1087 | | |
1082 | 1088 | | |
1083 | 1089 | | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
1084 | 1098 | | |
1085 | 1099 | | |
1086 | 1100 | | |
| |||
2361 | 2375 | | |
2362 | 2376 | | |
2363 | 2377 | | |
2364 | | - | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
2365 | 2381 | | |
2366 | 2382 | | |
2367 | 2383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
583 | | - | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
584 | 587 | | |
585 | 588 | | |
586 | 589 | | |
| |||
0 commit comments