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

openvax / topiary / 33193117103
91%
master: 94%

Build:
Build:
LAST BUILD BRANCH: fix/robust-mypy-gate
DEFAULT BRANCH: master
Ran 28 Aug 2026 05:12PM UTC
Jobs 3
Files 35
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 Aug 2026 05:05PM UTC coverage: 90.696% (-0.002%) from 90.698%
33193117103

Pull #196

github

iskandr
Make apply_sort an ordering rather than a pairwise comparison

The comparator skipped a key when either side was missing. Skipping is
pairwise, so "equal" stopped being transitive, and sorted() needs a
consistent comparator: the ranking depended on the order rows arrived in,
and a group with k0=1 could outrank one with k0=2. A missing sort key is
the ordinary case - a peptide with no presentation row has no
presentation score - so this needed nothing unusual to hit. Closes #191.

Keys are ranked instead, which gives every group a definite position
while keeping the property the skip was reaching for: a group with no
value for a key takes the average rank of the groups that do have one,
so the key neither promotes nor penalizes it and the remaining keys
decide. Frames with no missing values sort exactly as before, which is
why the existing suite is unchanged apart from the case this fixes.

The same change removes the dominant cost of sorting. The comparator ran
per pair in Python - about 100% of apply_sort at 85,000 groups, 74% at
340,000 - and ordering is now a single np.lexsort over the ranked keys.

Claude-Session: https://claude.ai/code/session_01BAUqjqDDPXaTdtUDJqapJG
Pull Request #196: Make apply_sort an ordering rather than a pairwise comparison (#191)

13 of 13 new or added lines in 2 files covered. (100.0%)

5342 of 5890 relevant lines covered (90.7%)

2.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 python-3.11 - 33193117103.1 28 Aug 2026 05:14PM UTC 35
90.7
GitHub Action Run
2 python-3.12 - 33193117103.2 28 Aug 2026 05:13PM UTC 35
90.7
GitHub Action Run
3 python-3.10 - 33193117103.3 28 Aug 2026 05:12PM UTC 35
90.7
GitHub Action Run
Source Files on build 33193117103
  • Tree
  • List 35
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33193117103
  • Pull Request #196
  • PR Base - master (#33139237504)
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