• 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: SELECT
CHANGE BRANCH
x
  • No branch selected
  • fix-wraparound-and-degeneracy-tol
  • master
  • 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
33896266277 fix-wraparound-and-degeneracy-tol Merge 19af89bfe into b8488477b Pull #2 04 Sep 2026 05:06PM UTC web-flow github
91.0
33893074839 fix-wraparound-and-degeneracy-tol Merge f8ac912c9 into b8488477b Pull #2 04 Sep 2026 04:29PM UTC web-flow github
91.0
33883450248 fix-wraparound-and-degeneracy-tol Merge 07d1ab28b into b8488477b Pull #2 04 Sep 2026 02:48PM UTC web-flow github
91.0
33880206540 fix-wraparound-and-degeneracy-tol Merge 9cb042fda into b8488477b Pull #2 04 Sep 2026 02:18PM UTC web-flow github
91.0
33875490009 fix-wraparound-and-degeneracy-tol Merge 622a77438 into b8488477b Pull #2 04 Sep 2026 01:22PM UTC web-flow github
91.0
33827143690 fix-wraparound-and-degeneracy-tol Merge 5295ef706 into b8488477b Pull #2 04 Sep 2026 02:36AM UTC web-flow github
91.0
33823741717 fix-wraparound-and-degeneracy-tol Merge 67663a1b0 into b8488477b Pull #2 04 Sep 2026 01:44AM UTC web-flow github
91.03
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