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

desihub / desispec / 31842737677
37%
main: 39%

Build:
Build:
LAST BUILD BRANCH: jobbundle
DEFAULT BRANCH: main
Ran 14 Aug 2026 10:12PM UTC
Jobs 1
Files 188
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

14 Aug 2026 09:24PM UTC coverage: 37.36% (-1.6%) from 38.959%
31842737677

Pull #2797

github

sbailey
Remove redundant sorts from find_target_priority

find_target_priority previously sorted the full TARGETID column up to
three times: the necessary priority sort, a np.unique() call that
re-sorted data already sorted by the previous step, and an
ordered_unique() call that independently re-sorted the original array
just to recover first-appearance order. Since tsel is already sorted
by TARGETID after the priority sort, group boundaries (and thus the
unique TARGETIDs and their winning rows) can be found with a single
O(n) scan instead.

This changes find_target_priority's output order from first-appearance
to ascending TARGETID order. create_summary_catalog and
get_exp2uniqpix_map don't care about this order (both already
effectively expand/join back onto the full TARGETID column by key), so
they simplify along with it. coadd_fibermap does depend on
first-appearance order, matching the separate ordered_unique() call
that coadd() uses to build the flux/ivar/mask/resolution-data arrays
it must stay aligned with, so it now explicitly restores that order
via ordered_unique() + searchsorted rather than relying on
find_target_priority to provide it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Pull Request #2797: Handle discrepant RA,DEC,etc per TARGETID

56 of 58 new or added lines in 3 files covered. (96.55%)

687 existing lines in 3 files now uncovered.

13259 of 35490 relevant lines covered (37.36%)

0.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
89.9
57.4% py/desispec/zcatalog.py

Coverage Regressions

Lines Coverage ∆ File
661
18.26
-61.26% py/desispec/bootcalib.py
24
32.43
-64.86% py/desispec/scripts/bootcalib.py
2
63.64
-1.3% py/desispec/io/xytraceset.py
Jobs
ID Job ID Ran Files Coverage
1 31842737677.1 14 Aug 2026 10:12PM UTC 188
37.36
GitHub Action Run
Source Files on build 31842737677
  • Tree
  • List 188
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2797
  • PR Base - main (#31745292944)
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