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

bjmorgan / py-sc-fermi / 20919937437 / 3
95%
main: 95%

Build:
Build:
LAST BUILD BRANCH: DOS_accuracy
DEFAULT BRANCH: main
Ran 12 Jan 2026 12:50PM 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

12 Jan 2026 12:48PM UTC coverage: 93.761% (-0.09%) from 93.855%
20919937437.3

push

github

bjmorgan
Refactor get_sc_fermi to use scipy.optimize.brentq

Replaced custom bisection-like solver with scipy's Brent's method.

Benefits:
- 40x faster (2.6ms vs 102ms per solve)
- Simpler, more robust code
- Well-tested implementation

The n_trial_steps parameter is deprecated and will be removed in a
future version. Brent's method converges in ~30 iterations.

Also includes fix for charge state concentration scaling (#53) which
was exposed by the new solver's stricter NaN handling.

Closes #52
Closes #53

511 of 545 relevant lines covered (93.76%)

0.94 hits per line

Source Files on job python-3.10 - 20919937437.3
  • Tree
  • List 7
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20919937437
  • bd2c489b on github
  • Prev Job for on refactor-fermi-solver (#20918983072.1)
  • Next Job for on refactor-fermi-solver (#20920265121.2)
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