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

pirl-unc / tsarina / 27284040360
77%

Build:
DEFAULT BRANCH: main
Ran 10 Jun 2026 02:39PM UTC
Jobs 1
Files 37
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

10 Jun 2026 02:38PM UTC coverage: 74.119% (+0.1%) from 73.986%
27284040360

push

github

web-flow
Sanity-check fixes: reference fetch, cutoff semantics, MS classification (#107)

* Sanity-check fixes: reference fetch, cutoff semantics, MS classification

Fixes found in a review pass over the codebase:

- reference_data/cli: `tsarina reference fetch --hpa-version vNN` (fetch-all)
  no longer fails — the HPA version is only forwarded to HPA datasets, not
  the rolling NCBI gene_info (which has no such version). New
  `reference_data.is_hpa_dataset` helper; applied in fetch + path subcommands.
- spanning: MS-tier and predicted-only percentile cutoffs are now inclusive
  (`<=` / `>`), matching the "Maximum percentile" docstrings and the inclusive
  cutoff already used by personalize._assign_tiers.
- cancer_expression: when RNA features are empty but IHC features exist, still
  produce tumor_prevalence_panel_score (default the RNA columns) instead of
  returning an IHC-only frame missing the documented score column.
- personalize: ms-hit merge now validate="m:1" to fail loudly instead of
  silently multiplying candidate rows.
- tiers: cell-line-only MS evidence (peptides with no classifiable source
  flag) is now UNCLASSIFIED_MS instead of being mislabeled NO_MS_DATA.
- peptides: narrow the protein_sequence except blocks to (ValueError,
  KeyError, TypeError) so a real error can't masquerade as a missing
  translation (and silently drop a non-CTA protein from the exclusivity scan).
- selection: drop the dead, misleading `coverage_col` parameter.
- Docstring fixes for restriction return-value sets (tiers, evidence).

Version: 1.10.0 -> 1.11.0

* Add regression tests for PR #107 fixes (UNCLASSIFIED_MS, is_hpa_dataset)

2692 of 3632 relevant lines covered (74.12%)

0.74 hits per line

Coverage Regressions

Lines Coverage ∆ File
30
77.35
0.35% tiers.py
22
28.0
2.57% cli.py
22
0.0
0.0% selection.py
19
56.2
0.0% peptides.py
10
89.08
-0.67% cancer_expression.py
5
91.01
0.0% spanning.py
3
89.04
0.0% personalize.py
2
95.0
0.19% reference_data.py
Jobs
ID Job ID Ran Files Coverage
1 27284040360.1 10 Jun 2026 02:39PM UTC 37
74.12
GitHub Action Run
Source Files on build 27284040360
  • Tree
  • List 37
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27284040360
  • 4f8acb92 on github
  • Prev Build on main (#27153087900)
  • Next Build on main (#27288234003)
  • 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