simplify 2F0 Borel fallback and drop Miller recurrence #1817
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 281 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.338
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1817"
general
weight: 0.35
jorenham
Trims the
2F0Borel fallback chain from 12 steps to 5 (borel1,series,borel2,weniger_dd,pfq_borel_dd) plus a cachedmargin = 0RawBorelfallback, deletes Miller's algorithm (hyp2f0_miller) andxsf_hypu_min_digits/chgu'sid_minparameter, and dropsf64Weniger frompfq_borel.| Function | Domain | Peak before -> after | Gmean before -> after | Infs |
| --- | --- | ---: | ---: | ---: |
|
hyp2f0|a1, a2 in [-10, 10],z in -[1e-3, 1e6](log) |5.1e-14 -> 2.1e-14|3.1e-16 -> 2.8e-16|0 -> 0||
hyp2f0|a1, a2 in +- [1e-3, 100](log),z in -[1e-3, 1e6](log) |4.9e-14 -> 4.9e-14|5.2e-16 -> 4.0e-16|0 -> 0||
hyppfq(3F0) |a1..a3 in [-10, 10]and log |inf (1) -> inf (1)|1.6e-16 -> 1.5e-16|1 -> 1||
hyppfq(4F0) |a1..a4 in +- [1e-3, 100](log),z in -[1e-3, 1e6](log) |2.0e-14 -> 7.7e-15|1.7e-16 -> 1.6e-16|0 -> 0|RawBorelcaches each orientation's nominal/perturbedUevaluation (reused atmargin = 0), deduplicatesa1 == a2, and skips the perturbedchgucall when bothbandxare exact.hyp2f0_miller,MILLER_DECAY,HYP2F0_WENIGER_F64_MARGIN,xsf_hypu_min_digits,chgu'sid_min, inline2F0terms, andpfq_borel'sweniger_f64removes ~135 production lines with zero addedNones indocs/accuracy.md.just pfq-mapupdateddocs/img/hyppfq-error.svg,docs/img/hyppfq-error-int.svg, anddocs/img/hyppfq-none-int.svg.<details>
<summary>Coverage deltas on removed-method regression tests</summary>
| Test group | Count |
hyppfqafter cut |hyp2f0after cut || --- | ---: | --- | --- |
| Former
test_hyppfq_2f0_miller(5 cases) | 5 | 2 remainSome(<= 2.5e-16), 3 becomeNone| All 5 finite (<= 1.1e-14) || Former
test_hyppfq_2f0_miller_shifted(9 cases, incl.[600, 4600]subnormal) | 9 | 1 remainsSome(0), 8 becomeNone(incl.[600, 4600]) | 7 finite (<= 2.1e-12), 2NaN([-238.57, -244.72]and[600, 4600]) || Former
test_hyppfq_2f0_hypu_tol(5 cases) | 5 | 3 remainSome(<= 2.1e-16), 2 becomeNone| All 5 finite (<= 7.5e-13) ||
test_hyppfq_2f0_chgu(incl. 13-digit cached fallback) | all | Unchanged | Unchanged |</details>