Commit 6c7fc7f
Address residual P2s + P3 from re-audit of PR #402
The restored CI reviewer surfaced three findings the degraded reviewer
missed across its 8 R rounds on PR #402:
1. (P2) The llms-full.txt HAD usage block reused one `data` symbol
for both `aggregate="overall"` (two-period-only) and
`aggregate="event_study"` (multi-period) calls. A reader copy-
pasting hit a front-door error on the second `fit()` call when
the first two calls' panel was used as-is. Split into `data_2p`
and `data_mp` with an explanatory header.
2. (P2) The practitioner Step-3 wording on both `_handle_had` and
`_handle_had_event_study` said survey-weighted fits "skip QUG"
and return a linearity-conditional verdict. That was only true
for pweight + PSU/FPC. Stratified (SurveyDesign(strata=...))
and replicate-weight (BRR/Fay/JK1/JKn/SDR) raise
NotImplementedError on the linearity kernels. Qualify both
instances to the supported subset and note the deferred
regimes explicitly.
3. (P3) The REGISTRY claim that HAD constructor/fit "signatures
match the real API (regression-tested via inspect.signature)"
overstated what `test_llms_full_had_*_signature_matches_real_api`
actually checks - the test asserts parameter-name presence only,
not defaults, type annotations, or return-type unions. Relax
the REGISTRY note to match the test's actual contract.
No estimator behavior, weighting, variance/SE, identification, or
default statistical surface changed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 7addf14 commit 6c7fc7f
3 files changed
Lines changed: 39 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
636 | 636 | | |
637 | 637 | | |
638 | 638 | | |
639 | | - | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
640 | 645 | | |
641 | | - | |
| 646 | + | |
642 | 647 | | |
643 | 648 | | |
644 | 649 | | |
645 | | - | |
| 650 | + | |
646 | 651 | | |
647 | | - | |
| 652 | + | |
648 | 653 | | |
649 | 654 | | |
650 | 655 | | |
651 | 656 | | |
652 | | - | |
653 | | - | |
| 657 | + | |
| 658 | + | |
654 | 659 | | |
655 | 660 | | |
656 | 661 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
874 | | - | |
875 | | - | |
876 | | - | |
877 | | - | |
878 | | - | |
879 | | - | |
880 | | - | |
881 | | - | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
882 | 886 | | |
883 | 887 | | |
884 | 888 | | |
| |||
1024 | 1028 | | |
1025 | 1029 | | |
1026 | 1030 | | |
1027 | | - | |
1028 | | - | |
1029 | | - | |
1030 | | - | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
1034 | 1044 | | |
1035 | | - | |
1036 | | - | |
| 1045 | + | |
| 1046 | + | |
1037 | 1047 | | |
1038 | 1048 | | |
1039 | 1049 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2552 | 2552 | | |
2553 | 2553 | | |
2554 | 2554 | | |
2555 | | - | |
| 2555 | + | |
2556 | 2556 | | |
2557 | 2557 | | |
2558 | 2558 | | |
| |||
0 commit comments