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

openvax / topiary / 33139237504
94%

Build:
DEFAULT BRANCH: master
Ran 28 Aug 2026 03:39AM 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 03:33AM UTC coverage: 90.698% (+0.2%) from 90.53%
33139237504

push

github

web-flow
Add allele_set to store what a genotype-level prediction covers (#189)

MHCflurry's presentation predictor in haplotype mode scores a peptide against
a sample's whole allele list and reports the allele it deconvolved as the
likeliest presenter. mhctools puts that one allele in the row, so the
prediction reads exactly like a per-allele one and the frame loses the fact
that the score is about the set. It is the default path:
presentation_allele_mode="auto" resolves to haplotype for six alleles or fewer,
i.e. any ordinary patient genotype. Closes #168.

allele keeps the best allele, so nothing that reads it breaks and the
attribution is not discarded; allele_set records the subject. The predictor
writes it for kinds a model reports as haplotype, and the cache, CSV/TSV
round-trip, to_wide/from_wide and combine_predictions identity carry it.

It joins the group keys when populated, which is what keeps a genotype-level
row out of one allele's group - otherwise its score is read as that allele's.
Frames without such rows keep the narrower key, the same way a blank
sample_name is left out. The allele dimension is now two columns, so everything
deriving peptide keys shares one helper.

It also makes a frame self-describing: mhc_dependence is read from the set, so
a genotype-level row keeps its meaning through a file, where kind_support
cannot follow. That was the gap motivating the column.

Column.includes() asks whether the set covers an allele while eq() stays
equality. Comparison is by whole token, never substring: allele names prefix
one another (HLA-A*02:01 is a prefix of HLA-A*02:010, both real alleles), so a
substring test reports membership that is not there.

Per-allele attribution of genotype-level scores stays deferred, as recorded on
the issue: includes() is literal membership, and reaching the peptide's allele
groups remains a projection rather than a membership change.

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

104 of 109 new or added lines in 5 files covered. (95.41%)

5343 of 5891 relevant lines covered (90.7%)

2.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
91.82
0.53% topiary/ranking/nodes.py
1
94.06
0.0% topiary/predictor.py
1
92.44
-0.0% topiary/ranking/parser.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.11 - 33139237504.1 28 Aug 2026 03:39AM UTC 35
90.7
GitHub Action Run
2 python-3.10 - 33139237504.2 28 Aug 2026 03:41AM UTC 35
90.7
GitHub Action Run
3 python-3.12 - 33139237504.3 28 Aug 2026 03:41AM UTC 35
90.7
GitHub Action Run
Source Files on build 33139237504
  • Tree
  • List 35
  • Changed 8
  • Source Changed 8
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33139237504
  • b04519b3 on github
  • Prev Build on master (#33101690934)
  • Next Build on master (#33207052829)
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