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

johanjoensson / impurityModel / 32150669468
94%

Build:
DEFAULT BRANCH: master
Ran 18 Aug 2026 04:56PM UTC
Jobs 1
Files 220
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

18 Aug 2026 02:21PM UTC coverage: 91.031% (+0.2%) from 90.797%
32150669468

push

github

johanjoensson
Add fast regression coverage for the truncate_initial/ARPACK deadlock fix

Two tests, both in test_rank_independence.py:

test_truncate_initial_basis_is_rank_independent builds a basis directly
(no ~18s NiO workload) above truncation_threshold with dense_cutoff low
enough to engage TRLM, calls truncate_initial on COMM_WORLD and COMM_SELF,
and diffs the surviving determinant fingerprint. Uses a seeded random
one-body Hamiltonian rather than a symmetric physical one: an earlier
attempt with the eg/t2g-style Hop from test_manybody_basis.py gave the
ground eigenvector an exact fourfold weight tie, which truncate()'s
cutoff-at-target selection resolves by comparing floating-point scores --
under an exact tie, roundoff from a different MPI reduction order can push
different tied determinants across the cutoff on different rank counts.
That is a pre-existing indeterminacy of ranking within an exactly-
degenerate manifold, not something this fix's scope covers, so the test
avoids it instead of chasing it.

test_scipy_eigensystem_root_driven_matches_serial_with_an_empty_rank drives
the hardened root-driven ARPACK path directly against a column-distributed
matrix where the last rank deliberately owns zero columns whenever
comm.size > 1 -- the empty-rank edge case that has bitten this codebase
before -- and checks the returned low-lying spectrum against a dense
eigvalsh reference.

Verified at -n1 through -n4: both pass, and the file's full 5 tests
(including the two that previously hung at -n3) pass together in 52s.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

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

303 existing lines in 19 files now uncovered.

27354 of 30049 relevant lines covered (91.03%)

0.91 hits per line

Coverage Regressions

Lines Coverage ∆ File
44
90.55
-2.76% src/impurityModel/ed/groundstate.py
30
79.89
3.22% src/impurityModel/ed/eigensolvers.py
28
14.29
2.02% src/impurityModel/ed/get_spectra.py
28
42.99
1.81% src/impurityModel/scripts/selfenergy.py
23
90.85
0.0% src/impurityModel/ed/manybody_basis.py
18
96.87
0.59% src/impurityModel/ed/observables.py
17
75.68
18.1% src/impurityModel/scripts/spectra.py
16
61.11
0.69% src/impurityModel/scripts/susceptibility.py
14
95.8
0.29% src/impurityModel/ed/cipsi_solver.py
14
94.9
0.01% src/impurityModel/ed/greens_function.py
14
92.8
0.0% src/impurityModel/ed/h0_format.py
14
90.18
0.44% src/impurityModel/ed/hamiltonian_io.py
9
84.47
0.0% src/impurityModel/ed/memory_estimate.py
9
95.59
0.37% src/impurityModel/ed/model.py
8
96.48
0.42% src/impurityModel/ed/rixs.py
7
92.02
0.0% src/impurityModel/ed/gf_convergence.py
7
97.44
-0.25% src/impurityModel/ed/symmetries.py
2
98.57
-0.06% src/impurityModel/ed/selfenergy.py
1
97.14
-0.53% src/impurityModel/ed/utils.py
Jobs
ID Job ID Ran Files Coverage
1 32150669468.1 18 Aug 2026 04:56PM UTC 220
91.03
GitHub Action Run
Source Files on build 32150669468
  • Tree
  • List 220
  • Changed 33
  • Source Changed 33
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32150669468
  • 87a4390c on github
  • Prev Build on master (#31095625642)
  • Next Build on master (#32501626163)
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