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

bjmorgan / py-sc-fermi / 26174243092 / 4
95%
main: 95%

Build:
DEFAULT BRANCH: main
Ran 20 May 2026 03:59PM UTC
Files 7
Run time 1s
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

20 May 2026 03:57PM UTC coverage: 95.064% (+0.009%) from 95.055%
26174243092.4

push

github

web-flow
Make DOS integrations more robust to noise / band-edge effects (#55)

Integrate carrier densities from edos[0] to mid-gap (rather than
terminating at the VBM/CBM indices), so the result is largely
independent of the band-edge index location — for a clean DOS the gap
contributes zero, so noise near the band edges no longer shifts the
integral.

Determine band-edge indices via argmin(|edos - target|) instead of
np.where(...)[0][-1/0], so small energy-grid noise no longer flips
the index by a full grid spacing.

Aligns with pymatgen's FermiDos (materialsproject/pymatgen#3879,
#4240, materialsproject/pymatgen-core#64).

Also: validate edos brackets zero and bandgap <= max(edos); cache
integration indices in __init__; add regression tests for noise
robustness, narrow-gap clamping, and bracket-zero validation.

520 of 547 relevant lines covered (95.06%)

0.95 hits per line

Source Files on job python-3.13 - 26174243092.4
  • Tree
  • List 7
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26174243092
  • 75f20a05 on github
  • Prev Job for on main (#20922182331.1)
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