Found by the #46 characterization sweep (PR #101; docs/ACCURACY_CHARACTERIZATION.md, Findings + appendix).
Current behavior at deep-tail p (down to 1e-300) is inconsistent across families:
- gamma and chi-squared quantiles return NaN for some valid deep-tail
p;
- pareto returns +inf and student-t −inf where finite doubles exist (e.g. student-t ν=1.001 at p=1e-300 has quantile ≈ −1.6e+299, representable);
- cauchy loses all relative accuracy at p=1e-300 (
rel = 1.0);
- discrete quantiles differ from the right-continuous-inverse convention by one integer at exact lattice probabilities
F(k) == p — decide and document which convention is the contract.
Decision needed first: what does the library promise at extreme p — best-representable finite value, documented saturation bounds, or explicitly unsupported range? The gamma/chi-squared NaN class also overlaps the parked corvus adoption items (#47/#52): inversion quality there is bounded by the incomplete-gamma/beta cores, so full accuracy in the tails likely waits on adoption even after the contract is settled.
Unmilestoned pending that decision.
🤖 Generated with Claude Code
Found by the #46 characterization sweep (PR #101;
docs/ACCURACY_CHARACTERIZATION.md, Findings + appendix).Current behavior at deep-tail
p(down to 1e-300) is inconsistent across families:p;rel = 1.0);F(k) == p— decide and document which convention is the contract.Decision needed first: what does the library promise at extreme
p— best-representable finite value, documented saturation bounds, or explicitly unsupported range? The gamma/chi-squared NaN class also overlaps the parked corvus adoption items (#47/#52): inversion quality there is bounded by the incomplete-gamma/beta cores, so full accuracy in the tails likely waits on adoption even after the contract is settled.Unmilestoned pending that decision.
🤖 Generated with Claude Code