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

pirl-unc / hitlist / 25194613229
80%

Build:
DEFAULT BRANCH: main
Ran 30 Apr 2026 11:35PM UTC
Jobs 1
Files 27
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

30 Apr 2026 11:34PM UTC coverage: 70.924% (+0.02%) from 70.9%
25194613229

push

github

web-flow
v1.30.21: Replace generate_observations_table merges with MultiIndex.reindex (#30) (#208)

The two ``obs.merge(...)`` calls (allele-level + single-sample fallback)
were dominated by pandas' block-manager consolidation pass on the
4.3M-row x ~50-col obs DataFrame. cProfile breakdown:

- _merge_blocks         ~6s
- numpy ndarray.copy    ~4s (driven by merge concat)
- _consolidate_inplace  ~7s

Both joins are simple lookups -- one against (pmid, allele), one
against pmid alone. Replacing them with ``set_index(...)[meta_cols]``
+ ``MultiIndex.reindex(obs_keys)`` skips the consolidation pass
entirely (the in-place column assignment doesn't trigger block
re-layout) and is functionally identical.

Wall-clock on the local 4.3M-row index:
- before: 29.4s warm
- after:  19.7s warm  (~1.5x faster, ~10s saved)

Match-type distribution unchanged (allele 1.46M, pool 1.36M,
fallback 484K, unmatched 996K -- byte-identical to v1.30.20).

Drive-by: keep the batched str-meta-cols fillna from earlier draft
of #30. Tiny win on its own but the block-wise variant is cleaner
than the per-column loop.

Closes #30 (well past the 3-4x estimate -- the v1.29.4 merges-to-map
optimizations had already absorbed most of that).

3676 of 5183 relevant lines covered (70.92%)

0.71 hits per line

Coverage Regressions

Lines Coverage ∆ File
90
81.42
-0.11% export.py
Jobs
ID Job ID Ran Files Coverage
1 25194613229.1 30 Apr 2026 11:35PM UTC 27
70.92
GitHub Action Run
Source Files on build 25194613229
  • Tree
  • List 27
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25194613229
  • e5a7a169 on github
  • Prev Build on main (#25189785861)
  • Next Build on main (#25200000098)
  • 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