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

nz-gravity / sgvb_psd / 23607120213
87%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2026 05:01PM UTC
Jobs 1
Files 46
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

26 Mar 2026 04:56PM UTC coverage: 86.509% (+0.05%) from 86.459%
23607120213

push

github

jianan-joseph-liu
Robust frequency index handling in FFT utilities

Make frequency index handling safer and clearer in analysis and utils modules.

- backend/analysis_data.py: when fmax_for_analysis is None use the full frequency range by setting fmax_idx = len(ftrue_y); only call searchsorted when an explicit fmax is provided.
- utils/utils.py: unify and harden get_freq slicing logic by computing fmin_idx and fmax_idx up front, clipping them to valid bounds, and ensuring fmax_idx >= fmin_idx before slicing. This prevents out-of-range indices and inverted slices when fmin/fmax are None or out of range.

These changes avoid errors from searchsorted on unexpected inputs and make frequency-range extraction more robust.

9 of 11 new or added lines in 2 files covered. (81.82%)

3 existing lines in 2 files now uncovered.

1898 of 2194 relevant lines covered (86.51%)

0.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.33
0.0% src/sgvb_psd/backend/analysis_data.py
1
84.21
4.21% src/sgvb_psd/utils/utils.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.33
0.0% backend/analysis_data.py
2
84.21
4.21% utils/utils.py
Jobs
ID Job ID Ran Files Coverage
1 23607120213.1 26 Mar 2026 05:01PM UTC 46
86.51
GitHub Action Run
Source Files on build 23607120213
  • Tree
  • List 46
  • Changed 5
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23607120213
  • e6dacf6e on github
  • Prev Build on main (#22216227279)
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

© 2026 Coveralls, Inc