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

openvax / topiary
90%
master: 90%

Build:
Build:
LAST BUILD BRANCH: v5.16.2
DEFAULT BRANCH: master
Repo Added 05 Jan 2018 08:34PM UTC
Files 35
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

LAST BUILD ON BRANCH v5.13.0
branch: v5.13.0
CHANGE BRANCH
x
Reset
  • v5.13.0
  • add-agents-md
  • add-cache-sharding
  • add-cached-predictor
  • add-model-colon-kind-syntax
  • add-netmhc-cache-loaders
  • add-protected-tissues-scope
  • add-self-proteome-nearest
  • antigen-fragment
  • bare-ident-brackets
  • best-allele-aggregation
  • cached-predictor-cli
  • cached-predictor-vaxrank-polish
  • chore/varcode-floor-122
  • ci-caching
  • cleanup-dsl-version-syntax
  • codex/mhctools-3-7-compat
  • codex/predict-wt-peptides
  • combine-predictor-results
  • csv-fasta-inputs
  • dsl-extensions
  • dsl-polish
  • dsl-polish-v5.0.1
  • dsl-refactor-v5
  • eval-context-default-methods
  • evaluate-scores-helper
  • expression-data
  • expression-dsl-v2
  • feature/peptide-property-dsl
  • filter-auto-aggregate
  • fix-127-autowrap-test
  • fix-165-backfill-value-from-score
  • fix-biopython-dependency
  • fix-deploy-python-selection
  • improve-cli-errors
  • inline-blosum62
  • io-wide-v4.11
  • lazy-varcode-imports
  • lens-loader
  • master
  • multi-model-disambiguation
  • openvax_switch
  • peptide-provenance
  • pirlygenes-5.1-expression-accessors
  • plumb-kind-support
  • pr-b-fragment-refactor
  • promote-kind-aliases-public
  • pvacseq-loader
  • refactor-for-protein-sequences
  • release-4.8.0
  • restore-varcode-cli-parser-delegation
  • shrink-cached-predictor-index
  • test-audit-v4.10
  • topiary-result
  • v4.10.0
  • v4.11.0
  • v4.11.1
  • v4.11.2
  • v4.12.0
  • v4.3.0
  • v4.3.1
  • v4.3.2
  • v4.4.0
  • v4.5.0
  • v4.5.1
  • v4.6.0
  • v4.8.0
  • v4.9.0
  • v5.0.0
  • v5.0.1
  • v5.1.0
  • v5.10.0
  • v5.10.1
  • v5.10.2
  • v5.10.3
  • v5.10.4
  • v5.10.5
  • v5.10.6
  • v5.10.7
  • v5.10.8
  • v5.11.0
  • v5.12.0
  • v5.14.0
  • v5.14.1
  • v5.15.0
  • v5.16.1
  • v5.16.2
  • v5.2.0
  • v5.4.0
  • v5.5.0
  • v5.6.0
  • v5.8.0
  • v5.9.0
  • v5.9.1

11 May 2026 01:23PM UTC coverage: 89.526% (-0.07%) from 89.595%
25673003453

push

github

web-flow
Add best-allele aggregation for haplotype-mode presentation (#158) (#160)

* Add best-allele aggregation accessors for haplotype-mode predictors

Issue #158 calls out that pMHC_presentation from haplotype-mode
predictors (MHCflurry's class1_presentation in haplotype mode) is
conceptually a multi-allele input → per-peptide answer, but mhctools
emits one row per (peptide, allele) so the DSL's per-allele grouping
returns per-allele scores by default. Add an explicit aggregator that
returns the best score across alleles plus the corresponding allele
attribution, gated behind new accessors so the default per-allele
behavior is preserved.

- BestAlleleField DSLNode: per-peptide max/min of (kind, field) across
  alleles, broadcast back to ctx.group_index. Direction by field:
  score=max, value=min, percentile_rank=min.
- KindAccessor properties: best_value, best_score, best_rank, plus
  *_allele variants returning the allele name string.
- DSL string parser: presentation['mhcflurry'].best_score and
  best_score_allele (and rank/value/percentile spellings) now parse to
  BestAlleleField.
- Refactor: factor _filter_kind_method_version helper out of Field.eval
  for reuse by BestAlleleField.
- Bump topiary to 5.12.0 (additive minor).

Use case (per #158): vaxrank's "presented anywhere" tier signal —
``Presentation['mhcflurry'].best_score`` returns the multi-allele
aggregate, ``best_score_allele`` returns the attribution.

* Address review: drop merge, per-kind directions, kind_support warnings

Four fixes against PR #160 review:

1. Replace the fragile ``__best__``/merge broadcast with
   ``ctx.group_index.droplevel('allele')`` + ``per_peptide.reindex()``.
   No intermediate `__best__` column, no positional-merge ordering
   assumption, fewer allocations. ``sub.copy()`` is gone too — work
   on the filter's already-fresh slice via index masks + ``.assign()``.

2. Replace the field-only ``_BEST_DIRECTIONS`` constant with a
   per-(kind, field) lookup ``_best_dir... (continued)

147 of 164 new or added lines in 4 files covered. (89.63%)

4214 of 4707 relevant lines covered (89.53%)

2.69 hits per line

Relevant lines Covered
Build:
Build:
4707 RELEVANT LINES 4214 COVERED LINES
2.69 HITS PER LINE
Source Files on v5.13.0
  • Tree
  • List 34
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25673003453 v5.13.0 Add best-allele aggregation for haplotype-mode presentation (#158) (#160) * Add best-allele aggregation accessors for haplotype-mode predictors Issue #158 calls out that pMHC_presentation from haplotype-mode predictors (MHCflurry's class1_presen... push 11 May 2026 01:32PM UTC web-flow github
89.53
See All Builds (269)
  • Repo on GitHub
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