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

johanjoensson / rspt2spectra / 28928084449
79%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2026 08:17AM UTC
Jobs 4
Files 14
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

08 Jul 2026 07:59AM UTC coverage: 85.623%. Remained the same
28928084449

push

github

johanjoensson
Add the fitted constant hybridization offset to the impurity level

The bath fit models Delta_fit(z) = Delta_pole(z) + C, where the
discrete poles carry no constant part. Matching RSPt's Weiss field
g0^-1 = z - H_imp - Delta(z) with the discretized model
G0^-1 = z - E_imp - Delta_pole(z) therefore requires
E_imp = H_imp + C: the constant hybridization content the poles cannot
carry moves into the impurity level. The previous code subtracted C
(treating it as static content already present in the local
Hamiltonian), which displaced the impurity level by 2C; RSPt's ham
does not contain Delta's static part (hybridization_function in
green_solver.F90 subtracts ham exactly once from the Weiss field).

assemble_h0 now adds the shift to the impurity block and the chain
anchor, and build_h0 folds the fitted C into its filter shift with the
opposite sign (the filter shift is already minus the dropped poles'
constant contribution). Tests updated to pin the new sign.

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

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

1602 of 1871 relevant lines covered (85.62%)

3.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python-3.14 - 28928084449.1 08 Jul 2026 08:17AM UTC 14
85.62
GitHub Action Run
2 python-3.13 - 28928084449.2 08 Jul 2026 08:17AM UTC 14
85.62
GitHub Action Run
3 python-3.12 - 28928084449.3 08 Jul 2026 08:17AM UTC 14
85.62
GitHub Action Run
4 python-3.11 - 28928084449.4 08 Jul 2026 08:17AM UTC 14
85.62
GitHub Action Run
Source Files on build 28928084449
  • Tree
  • List 14
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28928084449
  • 0110f037 on github
  • Prev Build on master (#28824659254)
  • Next Build on master (#29409069703)
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