Commit 476cc32
Address PR #392 R8 review (1 P3, doc-scope precision)
R8 was ✅ Looks good — only 1 P3 doc nit.
The CHANGELOG and REGISTRY parity claim said "HAD R-package end-
to-end parity" without qualifying that the harness explicitly
forces `HeterogeneousAdoptionDiD(design="continuous_at_zero")`. R
`did_had` always evaluates the local-linear at d=0 regardless of
dose distribution; our default `design="auto"` may legitimately
resolve to `continuous_near_d_lower` or `mass_point` on dose
distributions with boundary density bounded away from zero (e.g.
Beta(2,2) at G=200), in which case the WAS estimand evaluates at
a different point and diverges from R numerically. That
divergence is methodologically defensible — our auto-detect uses
more information when boundary mass is sparse — but it means the
parity test does NOT validate the default `design="auto"`
surface, only the Design 1' surface that R also uses.
Updated both wording surfaces to qualify "on the
`design='continuous_at_zero'` (Design 1') surface" and explain
the auto-detect divergence as out-of-scope-for-this-test (not a
defect).
Stats: 540 tests pass, 0 regressions. Doc-only.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent bbf75e7 commit 476cc32
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2499 | 2499 | | |
2500 | 2500 | | |
2501 | 2501 | | |
2502 | | - | |
| 2502 | + | |
2503 | 2503 | | |
2504 | 2504 | | |
2505 | 2505 | | |
| |||
0 commit comments