Skip to content

feat: add ln_cdf and ln_sf with tail-accurate implementations - #421

Draft
agene0001 wants to merge 8 commits into
statrs-dev:mainfrom
agene0001:feat/ln-cdf-ln-sf
Draft

feat: add ln_cdf and ln_sf with tail-accurate implementations#421
agene0001 wants to merge 8 commits into
statrs-dev:mainfrom
agene0001:feat/ln-cdf-ln-sf

feat: add ln_cdf and ln_sf with tail-accurate implementations

9d29d52
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 29, 2026 in 0s

94.71% (target 90.00%)

View this Pull Request on Codecov

94.71% (target 90.00%)

Details

Codecov Report

❌ Patch coverage is 93.65962% with 57 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.71%. Comparing base (1029458) to head (9d29d52).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
src/distribution/gamma.rs 63.63% 8 Missing ⚠️
src/function/erf.rs 94.48% 8 Missing ⚠️
src/function/gamma.rs 96.99% 8 Missing ⚠️
src/distribution/beta.rs 66.66% 6 Missing ⚠️
src/distribution/erlang.rs 0.00% 6 Missing ⚠️
src/distribution/mod.rs 50.00% 6 Missing ⚠️
src/distribution/log_normal.rs 76.47% 4 Missing ⚠️
src/distribution/normal.rs 96.84% 3 Missing ⚠️
src/function/beta.rs 97.77% 3 Missing ⚠️
src/prec.rs 91.89% 3 Missing ⚠️
... and 1 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #421      +/-   ##
==========================================
- Coverage   94.77%   94.71%   -0.06%     
==========================================
  Files          61       61              
  Lines       13402    14070     +668     
==========================================
+ Hits        12702    13327     +625     
- Misses        700      743      +43     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.