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

johanjoensson / impurityModel
91%

Build:
DEFAULT BRANCH: master
Repo Added 15 Jun 2026 01:17PM UTC
Files 251
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • fix-wraparound-and-degeneracy-tol
  • test-suite-numerics

04 Sep 2026 10:08PM UTC coverage: 90.546% (+0.03%) from 90.52%
33924358038

push

github

johanjoensson
Name orbital groups by their key, not by a guessed shell

The `l=2,a` style label was a guess: `_block_shell_tag` counted the
spin-orbitals in a group and inverted n = 2(2l+1) to recover a shell. That is
only meaningful when a group is a whole spin-doubled shell, which is true in
the spectra path (model.py keys impurity_orbitals by l) and false by
construction in the selfenergy and double-counting paths, where
group_orbitals_by_blocks makes each group a single symmetry manifold.

On the same NiO d shell the two keyings therefore disagreed:

  key = l, whole 3d shell:      ['l=2,a', 'l=2,b']     <- eg / t2g, correct
  key = manifold index:         ['mixed,a', 'l=1,a']   <- t2g's 6 spin-orbitals
                                                          are also a p shell's

Drop the inference. A block equivalence class is named after the
impurity_orbitals group that contains it -- the same key the occupation search,
the basis-generation windows and the frozen-shell notes already use -- so one
legend now covers the whole run. A group the block structure splits further
keeps its key and gains a letter (`group 2.a`); a class spanning several groups
is `groups 1,2`; a class with an orbital outside every group falls back to a
letter, since there is then no group to name it after.

The `N(...)` columns of the thermal and per-eigenstate tables and the screening
diagnostics' channel names all follow, and print_impurity_orbital_groups no
longer needs to carry the key alongside a separate label.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012WjuzYMi6j8ciZbztSwfjP

69 of 69 new or added lines in 3 files covered. (100.0%)

105 existing lines in 8 files now uncovered.

31281 of 34547 relevant lines covered (90.55%)

0.91 hits per line

Relevant lines Covered
Build:
Build:
34547 RELEVANT LINES 31281 COVERED LINES
0.91 HITS PER LINE
Source Files on master
  • Tree
  • List 251
  • Changed 10
  • Source Changed 9
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
33924358038 master Name orbital groups by their key, not by a guessed shell The `l=2,a` style label was a guess: `_block_shell_tag` counted the spin-orbitals in a group and inverted n = 2(2l+1) to recover a shell. That is only meaningful when a group is a whole spi... push 04 Sep 2026 10:37PM UTC johanjoensson github
90.55
33918427089 master Merge branch 'master' of github.com:johanjoensson/impurityModel push 04 Sep 2026 09:18PM UTC johanjoensson github
90.52
33899406875 master Merge pull request #2 from johanjoensson/fix-wraparound-and-degeneracy-tol Fix two Lanczos correctness bugs, the intermittent CI segfault, and add sanitizer coverage push 04 Sep 2026 05:42PM UTC web-flow github
91.0
33256083896 master Fix TSQR SVD failure crash If SVD fails, retry with more stable kernel. If DC determination fails completely, report it and use the initial guess instead of crashing. push 29 Aug 2026 02:39PM UTC johanjoensson github
90.98
33192921138 master Document the Sigma causality violation as a discretization artifact (B3) Runs the plan's B3 root-cause experiments on the real Mn archive that produced the original 128-rank crash, reproduced serially via test/support/real_workload.load_workload ... push 28 Aug 2026 05:52PM UTC johanjoensson github
90.96
33170189467 master Localize and tolerate a self-energy causality violation instead of only raising The Mn self-energy run that motivated this also died mid-calculation with UnphysicalGreensFunctionError -- a separate problem from the Lanczos reporting bug (confirme... push 28 Aug 2026 12:57PM UTC johanjoensson github
90.96
33124382216 master Run spectroscopy at any core edge, and the crystal field on any shell Two generalisations that both come down to naming a shell instead of assuming one, plus the defects that surfaced once the assumptions were removed. Arbitrary core -> valence ... push 27 Aug 2026 11:42PM UTC johanjoensson github
90.91
32501626163 master Merge pull request #1 from johanjoensson/test-suite-numerics Fix the 3 numeric test failures causing red CI push 21 Aug 2026 04:52PM UTC web-flow github
90.6
32150669468 master 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 wit... push 18 Aug 2026 04:56PM UTC johanjoensson github
91.03
31095625642 master Fix cython-lint error push 06 Aug 2026 01:32PM UTC johanjoensson github
90.8
See All Builds (72)
  • Repo on GitHub
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