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

openvax / topiary / 32993019689
94%

Build:
DEFAULT BRANCH: master
Ran 26 Aug 2026 05:22PM 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

26 Aug 2026 05:07PM UTC coverage: 90.059% (+0.2%) from 89.828%
32993019689

push

github

web-flow
Accept explicit group keys across the ranking DSL entry points (#176)

apply_filter, apply_sort and evaluate_scores now take the same three
keyword-only context options - group_keys, default_methods, kind_support -
and forward all of them to EvalContext, so filtering, sorting and scoring
can share one grouping and one method resolution. Closes #175.

Callers with a stable provenance identity no longer have to reimplement
apply_filter on top of EvalContext just to supply group_keys: the inferred
keys are sequence-oriented, so rows sharing peptide, source sequence and
offset were one group even when they came from different variants
(openvax/vaxrank#345).

Fixes three silent-wrong-results bugs in group identity found in review:

- A single group key built a 1-level MultiIndex while groupby produces a
  flat Index, so every node result reindexed to all-NaN: apply_filter
  dropped every row, evaluate_scores returned NaN, apply_sort no-opped.
- None, NaN and pd.NA in an identity column are one group under
  groupby(dropna=False) but the group index kept them apart, so rows in
  the extra group scored NaN.
- Rows were matched to groups by key lookup, which never matches a null
  key, so apply_filter dropped rows its own scores said should pass while
  apply_sort kept them. Rows now map to groups by position via the new
  EvalContext.row_group_codes().

Blank sample_name is no longer inferred as a group key: mhctools stamps
sample_name="" on every row of a single-sample run, which prepended a
constant level to every group tuple of ordinary predictor output.

Explicit group_keys are validated before anything is evaluated, including
on the paths that return early.

Breaking (minor bump, 5.17.0): context options are keyword-only, an empty
group_keys sequence raises rather than falling back to inference, the
single-key group index is flat, and single-sample group tuples are 4-wide.

Claude-Session: https://claude.ai/code/session_01BAUqjqDDPXaTdtUDJqapJG

116 of 119 new or added lines in 3 files covered. (97.48%)

5019 of 5573 relevant lines covered (90.06%)

2.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
90.12
1.12% topiary/ranking/nodes.py
1
95.5
1.23% topiary/ranking/apply.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 32993019689.1 26 Aug 2026 05:24PM UTC 35
90.06
GitHub Action Run
2 python-3.12 - 32993019689.2 26 Aug 2026 05:22PM UTC 35
90.06
GitHub Action Run
3 python-3.11 - 32993019689.3 26 Aug 2026 05:22PM UTC 35
90.06
GitHub Action Run
Source Files on build 32993019689
  • Tree
  • List 35
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #32993019689
  • 5722738e on github
  • Prev Build on v5.16.2 (#26051745753)
  • Next Build on master (#32994669307)
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