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

bjmorgan / py-sc-fermi / 26174243092
95%

Build:
DEFAULT BRANCH: main
Ran 20 May 2026 03:58PM UTC
Jobs 6
Files 7
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

20 May 2026 03:57PM UTC coverage: 95.109% (+0.009%) from 95.1%
26174243092

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.

17 of 18 new or added lines in 1 file covered. (94.44%)

525 of 552 relevant lines covered (95.11%)

5.66 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.6
0.05% py_sc_fermi/dos.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 26174243092.1 20 May 2026 03:59PM UTC 7
95.06
GitHub Action Run
2 python-3.8 - 26174243092.2 20 May 2026 03:58PM UTC 7
95.11
GitHub Action Run
3 python-3.11 - 26174243092.3 20 May 2026 03:58PM UTC 7
95.06
GitHub Action Run
4 python-3.13 - 26174243092.4 20 May 2026 03:58PM UTC 7
95.06
GitHub Action Run
5 python-3.9 - 26174243092.5 20 May 2026 03:59PM UTC 7
95.06
GitHub Action Run
6 python-3.12 - 26174243092.6 20 May 2026 03:58PM UTC 7
95.06
GitHub Action Run
Source Files on build 26174243092
  • Tree
  • List 7
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26174243092
  • 75f20a05 on github
  • Prev Build on main (#20922182331)
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