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

scikit-hep / iminuit / 10506035987
100%

Build:
DEFAULT BRANCH: develop
Ran 22 Aug 2024 10:07AM UTC
Jobs 1
Files 15
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

22 Aug 2024 10:05AM UTC coverage: 100.0%. Remained the same
10506035987

push

github

web-flow
support sum(w) < 0 in binned fits (#1022)

This patch makes it possible to fit histograms with negative bin entries
with `ExtendedBinnedNLL` and `BinnedNLL`. These occur, for example, when
sweighted samples are histogrammed. This patch implements an extension
of the Bohm-Zech approach for this case. The ideas behind this extension
are compiled in a write-up that can be found in the documentation under
"Studies: Fitting weighted histograms".

The PR also fixes a mistake in `BinnedNLL`, which used the wrong cost
function for weighted histograms, for ordinary histograms there is no
change. This is a side result from thinking deeply about fitting
weighted histograms. The old cost function lead to biased estimates,
while the new one is now almost unbiased and performs even better than
`ExtendedBinnedNLL` in application to weighted histograms.

Other changes:
- Automatic notebook stripping is implemented via pre-commit; so
notebooks that run for a long time are not stripped
- Switch to SVG plots in notebooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

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

3477 of 3477 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10506035987.1 22 Aug 2024 10:07AM UTC 0
100.0
Source Files on build 10506035987
Detailed source file information is not available for this build.
  • Back to Repo
  • 2436bef5 on github
  • Prev Build on develop (#10400854065)
  • Next Build on develop (#10508029566)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc