Commit b237022
Address PR #376 R9 (2 P3)
R9 P3 #1 (helper error message canonical-kwarg consistency):
`_resolve_pretest_unit_weights`'s TypeError on non-`SurveyDesign`-like
input still said `survey=` must be a SurveyDesign — but on the data-in
wrappers (workflow / joint_pretrends_test / joint_homogeneity_test) the
canonical kwarg is now `survey_design=`. Updated the message to name
`survey_design=` (with `survey=` flagged as the deprecated alias) and
to point pre-resolved-design users to the array-in pretest helpers,
mirroring HAD.fit's data-in guard.
R9 P3 #2 (legacy-vs-canonical parity coverage on data-in pretests):
Added 3 parity tests (test_legacy_alias_parity_survey on
joint_pretrends_test + joint_homogeneity_test, plus
test_legacy_alias_parity_survey_overall on did_had_pretest_workflow
overall path). Locks the rebinding contract on the data-in surfaces
that previously only had smoke / warning / mutex coverage.
558 tests pass (was 555 + 3 new R9 P3 parity tests).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9c0d742 commit b237022
2 files changed
Lines changed: 118 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3262 | 3262 | | |
3263 | 3263 | | |
3264 | 3264 | | |
| 3265 | + | |
| 3266 | + | |
| 3267 | + | |
| 3268 | + | |
| 3269 | + | |
3265 | 3270 | | |
3266 | | - | |
3267 | | - | |
| 3271 | + | |
| 3272 | + | |
| 3273 | + | |
| 3274 | + | |
| 3275 | + | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
| 3280 | + | |
3268 | 3281 | | |
3269 | 3282 | | |
3270 | 3283 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
608 | 643 | | |
609 | 644 | | |
610 | 645 | | |
| |||
656 | 691 | | |
657 | 692 | | |
658 | 693 | | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
659 | 728 | | |
660 | 729 | | |
661 | 730 | | |
| |||
864 | 933 | | |
865 | 934 | | |
866 | 935 | | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
| 949 | + | |
| 950 | + | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
867 | 970 | | |
868 | 971 | | |
869 | 972 | | |
| |||
0 commit comments