Commit 12a8efe
Clarify z-critical-value doc claims (audit export, not direct consumption)
P3 doc-accuracy note from AI review: the registry, R generator, and
local_linear.py comments said the Python side "consumes R's z
directly" but the wrapper actually computes its own z via
scipy.stats.norm.ppf inside safe_inference(). The golden JSON's z
field is an audit/reference export so a reviewer can confirm R's
qnorm and Python's scipy.stats.norm.ppf agree to machine precision.
The parity harness compares Python-computed CI bounds to R-computed
CI bounds (not R's z fed into Python's arithmetic).
Behavior is unchanged; only doc phrasing.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 7672f8d commit 12a8efe
3 files changed
Lines changed: 13 additions & 8 deletions
File tree
- benchmarks/R
- diff_diff
- docs/methodology
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1191 | 1191 | | |
1192 | 1192 | | |
1193 | 1193 | | |
1194 | | - | |
1195 | | - | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
1199 | 1201 | | |
1200 | 1202 | | |
1201 | 1203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2314 | 2314 | | |
2315 | 2315 | | |
2316 | 2316 | | |
2317 | | - | |
| 2317 | + | |
2318 | 2318 | | |
2319 | 2319 | | |
2320 | 2320 | | |
| |||
0 commit comments