Commit 236bdce
Address PR #376 R10 (2 P3)
R10 P3 #1 (qug_test deprecation warning text): qug_test was using the
shared array-in deprecation messages that point users to migrate to
`survey_design=` / `make_pweight_design(arr)`, but qug_test permanently
rejects ALL survey-aware kwargs (Phase 4.5 C0 deferral). Replaced with
qug-specific warning text that says the aliases are deprecated AND
that survey-aware QUG remains unsupported, pointing users to
`did_had_pretest_workflow(..., survey_design=...)` for the survey-aware
linearity family instead.
R10 P3 #2 (weights= parity tests on data-in wrappers): the previous
round added survey= parity for joint_pretrends_test,
joint_homogeneity_test, and did_had_pretest_workflow(aggregate='overall')
but left the weights= rebinding paths warning-only with no numerical
parity lock. Added 3 new tests:
test_legacy_alias_parity_weights (joint_pretrends_test +
joint_homogeneity_test) and test_legacy_alias_parity_weights_overall
(workflow). Each asserts `weights=np.ones(n)` ≡
`survey_design=SurveyDesign(weights="w")` (uniform 1.0 column) on
identical-numerical-output, locking the rebinding contract.
561 tests pass (was 558 + 3 new R10 P3 parity tests).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b237022 commit 236bdce
2 files changed
Lines changed: 131 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1307 | 1307 | | |
1308 | 1308 | | |
1309 | 1309 | | |
1310 | | - | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
1311 | 1319 | | |
1312 | | - | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
1313 | 1331 | | |
1314 | 1332 | | |
1315 | 1333 | | |
1316 | | - | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
1317 | 1341 | | |
1318 | 1342 | | |
1319 | 1343 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
643 | 678 | | |
644 | 679 | | |
645 | 680 | | |
| |||
725 | 760 | | |
726 | 761 | | |
727 | 762 | | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
728 | 798 | | |
729 | 799 | | |
730 | 800 | | |
| |||
967 | 1037 | | |
968 | 1038 | | |
969 | 1039 | | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
970 | 1074 | | |
971 | 1075 | | |
972 | 1076 | | |
| |||
0 commit comments