Commit f3d7427
Fix DoseResponseCurve survey df and strengthen P3 tests from PR #226 review (round 10)
- DoseResponseCurve: add df_survey field; to_dataframe() now passes
survey df to safe_inference() so exported p-values match fit-time
inference instead of using normal approximation
- Strengthen Bacon exact-weight test to assert exact vs approximate
weights differ (not just finiteness)
- Strengthen ContinuousDiD dose-response test to assert exported
p-values match safe_inference(..., df=survey_df)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2ce3325 commit f3d7427
3 files changed
Lines changed: 35 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| 400 | + | |
| 401 | + | |
400 | 402 | | |
401 | 403 | | |
402 | 404 | | |
| |||
665 | 667 | | |
666 | 668 | | |
667 | 669 | | |
| 670 | + | |
668 | 671 | | |
669 | 672 | | |
670 | 673 | | |
| |||
675 | 678 | | |
676 | 679 | | |
677 | 680 | | |
| 681 | + | |
678 | 682 | | |
679 | 683 | | |
680 | 684 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
408 | 427 | | |
409 | 428 | | |
410 | 429 | | |
| |||
886 | 905 | | |
887 | 906 | | |
888 | 907 | | |
| 908 | + | |
889 | 909 | | |
890 | 910 | | |
891 | 911 | | |
| |||
899 | 919 | | |
900 | 920 | | |
901 | 921 | | |
902 | | - | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
903 | 926 | | |
904 | | - | |
905 | | - | |
906 | | - | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
0 commit comments