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

pirl-unc / hitlist / 25054171068
80%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 12:59PM UTC
Jobs 1
Files 25
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 Apr 2026 12:57PM UTC coverage: 68.324% (+2.9%) from 65.438%
25054171068

push

github

web-flow
v1.29.2: Add --version flag + vectorize sample-match loops (#173) (#174)

Two changes that landed together since both are small:

1. **`hitlist --version`**: top-level CLI now exposes the package
   version. Was reported as missing by a user on v1.29.1.

2. **Vectorize three per-row Python loops** in
   `generate_observations_table()` sample-match resolution (issue #173).
   Replace list comprehensions over the 4.4M-row index with
   `MultiIndex.isin` / `.reindex()` so the membership checks happen in
   pandas C code instead of Python.

Profile, warm cache, on a built observations index (4.4M rows):
- before: 34.8s wall, 6.9M `_isna` calls (3.6s in `isna`)
- after:  24.9s wall, `_isna` no longer in top-20 (~10s saved, 28%)

Output is identical: same row counts, same `sample_match_type`
distribution, same `sample_mhc` fill behavior. The dtype fix ( cast
lookup keys to float to match `obs["_pmid_int"]`'s float64 dtype) is
called out in code comments so future readers don't reintroduce a
silent dtype-mismatch miss.

3175 of 4647 relevant lines covered (68.32%)

0.68 hits per line

Coverage Regressions

Lines Coverage ∆ File
65
81.58
0.05% export.py
51
51.74
22.05% cli.py
Jobs
ID Job ID Ran Files Coverage
1 25054171068.1 28 Apr 2026 12:59PM UTC 25
68.32
GitHub Action Run
Source Files on build 25054171068
  • Tree
  • List 25
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25054171068
  • c5496a23 on github
  • Prev Build on main (#25050737710)
  • Next Build on main (#25055849789)
  • Delete
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