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

johanjoensson / impurityModel / 33170189467
91%

Build:
DEFAULT BRANCH: master
Ran 28 Aug 2026 12:58PM UTC
Jobs 1
Files 245
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

28 Aug 2026 11:30AM UTC coverage: 90.961% (+0.05%) from 90.911%
33170189467

push

github

johanjoensson
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 (confirmed independent: the solver's ~7.5e-10 relative change
cannot produce the observed ~5e-3 absolute Im(Sigma) artifact). The saved
imag-sig-0-realaxis-Mn.dat shows a real, localized artifact: 20 of 2001
points violate causality in a ~2*delta-wide window around omega=-0.266,
coincident with a sharp hybridization resonance -- worst per-orbital ratio
(max_w Im(Sigma_ii) / max_w |Im(Sigma_ii)|, the causality-relevant measure)
computed directly from that file is 7.62e-3.

check_greens_function raised unconditionally on any positive diagonal Im,
with a message carrying no numbers -- so a 128-rank job's final step threw
away its own diagnosis along with the run.

- sigma.py: check_greens_function gains an optional relative `tol` (default
  0.0 -- exact original behaviour, used unchanged for the Green's function
  itself) and a localization report: violating-point count/fraction,
  contiguous omega window(s), the worst point and its per-orbital ratio (not a
  whole-block max|Im|, which would let a wide high-weight orbital mask a
  violation on a narrow one), and -- when get_sigma's new
  return_components=True hands back (G0^-1, G^-1) per block -- the
  Sigma = G0^-1 - G^-1 breakdown at the worst point, so the mechanism (the
  interacting G narrower than the bare hybridized G0) is visible in the
  traceback itself.
- config.py: SIGMA_CAUSALITY_TOL (default 1e-3) -- comfortably above
  roundoff, and below the 7.62e-3 this run actually measured, so the new
  default still raises on it rather than silently rescuing it.
- selfenergy.py: _self_energy_on_mesh passes SIGMA_CAUSALITY_TOL and the two
  components through; below tolerance the run now warns (with the report)
  and continues instead of aborting.

Tests: tolerance be... (continued)

120 of 122 new or added lines in 4 files covered. (98.36%)

73 existing lines in 3 files now uncovered.

30602 of 33643 relevant lines covered (90.96%)

0.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
97.96
-2.04% src/impurityModel/ed/sigma.py

Coverage Regressions

Lines Coverage ∆ File
43
86.21
0.61% src/impurityModel/ed/gf_solvers.py
17
93.91
0.12% src/impurityModel/ed/greens_function.py
13
92.02
0.0% src/impurityModel/ed/gf_convergence.py
Jobs
ID Job ID Ran Files Coverage
1 33170189467.1 28 Aug 2026 12:57PM UTC 245
90.96
GitHub Action Run
Source Files on build 33170189467
  • Tree
  • List 245
  • Changed 12
  • Source Changed 10
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33170189467
  • f5782a5e on github
  • Prev Build on master (#33124382216)
  • Next Build on master (#33192921138)
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