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

nz-gravity / LogPSplinePSD / 19929896529
80%

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2025 01:12PM UTC
Jobs 1
Files 62
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

04 Dec 2025 01:01PM UTC coverage: 80.0% (+0.09%) from 79.909%
19929896529

push

github

avivajpeyi
Updated multivariate PSD rescaling to keep units consistent and added a dedicated regression test.

Adjusted src/log_psplines/samplers/multivar/multivar_base.py _rescale_psd to remove the global scaling_factor before applying channel standard deviations, aligning empirical PSDs with the observed/true scale.
Fixed src/log_psplines/arviz_utils/to_arviz.py periodogram handling to stop double-applying scaling_factor when Wishart PSDs are already scaled, while preserving the standardized-to-physical conversion for channel-standardized data.
Added tests/test_multivar_scaling.py, which builds a synthetic 2-channel VAR(1), checks the internal rescaling path, runs run_mcmc with blocked NUTS, and reports/ asserts posterior vs periodogram vs analytic PSD ratios.
Tests: pytest tests/test_multivar_scaling.py -k scaling -q (ArviZ shape warnings appear because only one chain is used, but the assertions pass).

Next steps: run the broader test suite if desired, and rerun with multiple chains to silence the ArviZ warning.

849 of 1006 branches covered (84.39%)

Branch coverage included in aggregate %.

5 of 8 new or added lines in 2 files covered. (62.5%)

1 existing line in 1 file now uncovered.

5147 of 6489 relevant lines covered (79.32%)

1.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
78.8
-0.45% src/log_psplines/arviz_utils/to_arviz.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
74.05
0.02% src/log_psplines/samplers/multivar/multivar_base.py
Jobs
ID Job ID Ran Files Coverage
1 19929896529.1 04 Dec 2025 01:12PM UTC 124
80.0
GitHub Action Run
Source Files on build 19929896529
  • Tree
  • List 62
  • Changed 4
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19929896529
  • a41b787c on github
  • Prev Build on main (#19928520537)
  • Next Build on main (#19941229642)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc