Distributions.jl icon indicating copy to clipboard operation
Distributions.jl copied to clipboard

Chernoff distribution fix

Open cgarling opened this issue 3 months ago • 1 comments

Fixes #1999. The main fix is to use quantile_newton rather than newton but I also reorganized some of the constants (lookup tables) while I was at it. Tests added as well

cgarling avatar Sep 28 '25 17:09 cgarling

Codecov Report

:x: Patch coverage is 90.32258% with 3 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 86.68%. Comparing base (a1b8bb3) to head (8934077).

Files with missing lines Patch % Lines
src/univariate/continuous/chernoff.jl 90.32% 3 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2000      +/-   ##
==========================================
+ Coverage   86.28%   86.68%   +0.40%     
==========================================
  Files         146      146              
  Lines        8787     8782       -5     
==========================================
+ Hits         7582     7613      +31     
+ Misses       1205     1169      -36     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

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

codecov-commenter avatar Sep 28 '25 17:09 codecov-commenter