• 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.15.0
branch: v5.15.0
CHANGE BRANCH
x
Reset
  • v5.15.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.13.0
  • v5.14.0
  • v5.14.1
  • 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

13 May 2026 04:10PM UTC coverage: 89.625% (-0.02%) from 89.641%
25811558196

push

github

web-flow
Backfill value from score for [0,1]-score predictor kinds (#165) (#166)

* Backfill value from score for [0,1]-score predictor kinds (#165)

`_format_prediction_df` now fills `value` from `score` wherever `value`
is NaN. mhctools only populates `value` when the kind has a distinct
unit (IC50 nM for affinity, half-life for stability); for the other
kinds — most visibly `pMHC_presentation` — `value` came back as NaN
even though `score` carried the predictor's primary [0, 1] output.

NaN-in-value bit downstream consumers reading `value` uniformly across
kinds: strict `simplejson.dumps` rejects NaN/Inf, `sorted()` is
undefined on NaN keys, and arithmetic on `value` silently propagated.
Vaxrank just hit this on real data (vaxrank#289, fix in vaxrank#290).

Rows that already carry a unit-bearing `value` are untouched, so
affinity (IC50 nM) and stability (half-life) keep their semantics.
The `affinity` column continues to be populated only for
`pMHC_affinity` rows.

* Address review: kind-gated backfill, cover CachedPredictor path

- Extract `_backfill_value_from_score` helper that skips kinds in
  `mhctools.VALUE_BEST_DIRECTIONS` (pMHC_affinity, pMHC_stability).
  A NaN ``value`` on a unit-bearing kind means the unit is genuinely
  unknown; falling back to ``score`` there would falsely advertise a
  [0, 1] score as IC50 nM or hours.
- Apply the helper in `cached.py:_bindings_to_dataframe` and
  `_predictions_to_dataframe` so CachedPredictor's standalone path
  (mhcflurry class1_presentation, NetMHCpan ``-BA`` parsing, ...)
  gets the same fix, not just the TopiaryPredictor wrapper.
- Add end-to-end test through `predict_from_named_sequences` with a
  predictor that emits both affinity and presentation rows.
- Add regression tests for both cached.py helpers and for the
  unit-bearing-kind skip case.

14 of 16 new or added lines in 3 files covered. (87.5%)

4276 of 4771 relevant lines covered (89.62%)

2.69 hits per line

Relevant lines Covered
Build:
Build:
4771 RELEVANT LINES 4276 COVERED LINES
2.69 HITS PER LINE
Source Files on v5.15.0
  • Tree
  • List 34
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25811558196 v5.15.0 Backfill value from score for [0,1]-score predictor kinds (#165) (#166) * Backfill value from score for [0,1]-score predictor kinds (#165) `_format_prediction_df` now fills `value` from `score` wherever `value` is NaN. mhctools only populates `v... push 13 May 2026 04:21PM UTC web-flow github
89.62
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