• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

scikit-hep / iminuit / 33647519024
100%

Build:
DEFAULT BRANCH: develop
Ran 02 Sep 2026 03:20PM UTC
Jobs 1
Files 18
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Sep 2026 03:16PM UTC coverage: 99.619%. Remained the same
33647519024

push

github

web-flow
fix: masked BinnedNLL gradient (#1137)

:robot: _AI text below_ :robot:

The masked renormalization correction in `BinnedNLL._grad` summed the
model gradient over both axes, which gave one scalar for all parameters.
It must give one correction per parameter. Any masked `BinnedNLL` fit
that used the analytic gradient got silently wrong results.

The mask selects along the first axis only, so for a multi-dimensional
histogram the correction must also sum over the remaining bin axes, then
reshape to broadcast over the prediction.

The existing `test_BinnedNLL_mask` uses a one-parameter 1D model, for
which the sums agree, so the bug was not seen. The new tests compare
against a numerical gradient with two parameters in 1D and with a masked
2D histogram.

Reported in #1132.

2 of 2 new or added lines in 1 file covered. (100.0%)

8 existing lines in 1 file now uncovered.

3924 of 3939 relevant lines covered (99.62%)

1.0 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
98.87
0.01% src/iminuit/minuit.py
Jobs
ID Job ID Ran Files Coverage
1 33647519024.1 02 Sep 2026 03:20PM UTC 18
99.62
GitHub Action Run
Source Files on build 33647519024
  • Tree
  • List 18
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33647519024
  • 78ffc818 on github
  • Prev Build on develop (#33642741471)
  • Next Build on develop (#33648649445)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc