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

openvax / topiary / 25875561027
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: v5.16.2
DEFAULT BRANCH: master
Ran 14 May 2026 05:48PM 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

14 May 2026 05:40PM UTC coverage: 89.872% (+0.2%) from 89.625%
25875561027

Pull #167

github

iskandr
DSL: review polish — drop dead code, simplify repr, harden tests

Five tactical cleanups from the latest review of PR #167:

- `IsIn.__init__` had `isinstance(values, float) and math.isnan(values)`
  as a fallback scalar-detection arm.  `float` is already in the
  preceding `isinstance` tuple, so any NaN short-circuits there.  Drop
  the unreachable arm; add a one-line comment noting NaN's float
  membership.
- `IsIn.__repr__` was a three-level nested ternary.  Rewrite as a
  straight `if len(values) == 1` / else split — three lines shorter
  and reads in one pass.
- `_derive_mhc_class = derive_mhc_class` was a "backwards-compatible
  alias" with exactly one internal caller and no external exposure.
  Update the caller to the public name and drop the alias.
- `test_invert_negates` only asserted "I" is absent from the result;
  strengthen to assert positive retention (DDD + EEE survive) and the
  NaN-survives-`~eq` pandas-vs-SQL semantic.
- `test_parser_string_lhs_raises` was triggering the unrelated
  "Unexpected token" path in `_atom`, not the parser's explicit
  "column reference on the LHS" guard.  Add a separate test using
  `affinity.value == "I"` that does parse the LHS and gets rejected
  at the IsIn-construction site.

Docs: `ranking.md` Equality / membership subsection gains a NaN
semantics footnote — pandas-style (NaN → False for `.eq` / `.isin`,
True for `.ne` / `~.eq`), not SQL `IS NOT NULL`.

144 dsl + pvacseq tests pass; 702 across pvacseq / io / io_lens / dsl
/ ranking / wide.
Pull Request #167: Add pVACseq report loader (closes #94)

267 of 300 new or added lines in 5 files covered. (89.0%)

4 existing lines in 1 file now uncovered.

4552 of 5065 relevant lines covered (89.87%)

2.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
88.94
-0.74% topiary/ranking/nodes.py
15
93.51
topiary/io_pvacseq.py

Coverage Regressions

Lines Coverage ∆ File
4
94.31
5.88% topiary/ranking/apply.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 25875561027.1 14 May 2026 05:49PM UTC 35
89.87
GitHub Action Run
2 python-3.12 - 25875561027.2 14 May 2026 05:49PM UTC 35
89.87
GitHub Action Run
3 python-3.11 - 25875561027.3 14 May 2026 05:48PM UTC 35
89.87
GitHub Action Run
Source Files on build 25875561027
  • Tree
  • List 35
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25875561027
  • Pull Request #167
  • PR Base - master (#25821572339)
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