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

openvax / vaxrank / 24735308060
96%
master: 88%

Build:
Build:
LAST BUILD BRANCH: v3.1.8
DEFAULT BRANCH: master
Ran 21 Apr 2026 05:01PM UTC
Jobs 0
Files 0
Run time –
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

pending completion
24735308060

push

github

web-flow
Extract VaccinePeptide ranking tuple into a rule registry (Phase 1 of #199) (#235)

Pure refactor — pulls the `essential_score_tuple + manufacturability +
extra_score_tuple` composition from `VaccinePeptide.lexicographic_sort_key`
into a registry-backed pattern mirroring the one shipped for
manufacturability in 2.5.0. No behavior change.

- New `vaxrank/ranking.py` with `RANKING_RULE_REGISTRY`,
  `DEFAULT_RANKING_RULES`, and `compute_ranking_tuple(peptide, rules)`.
  The special `"manufacturability"` sentinel expands inline using the
  peptide's own manufacturability rules + thresholds, so the two
  registries stay decoupled — users can move manufacturability higher
  or lower in the priority list, or drop it entirely.
- `VaccinePeptide.lexicographic_sort_key` now delegates to
  `compute_ranking_tuple(self)` — one-line body.
- `tests/test_ranking.py` pins the legacy output byte-for-byte across
  6 representative peptides × 3 epitope scores × 3 read counts (54
  parity cases), plus covers unknown-rule error, reorder/subset,
  manufacturability-drop, and the sentinel respecting per-peptide
  manufacturability rule overrides.

No `VaccineConfig` / YAML surface change in this PR — that's Phase 2.
All 374 tests pass locally.
Source Files on build 24735308060
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #24735308060
  • 4a151d85 on github
  • Prev Build on main (#24735206856)
  • Next Build on main (#24736095121)
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