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

openvax / topiary / 24228314598
89%
master: 90%

Build:
Build:
LAST BUILD BRANCH: v5.16.2
DEFAULT BRANCH: master
Ran 10 Apr 2026 05:46AM UTC
Jobs 3
Files 21
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 Apr 2026 05:39AM UTC coverage: 88.679% (+2.2%) from 86.507%
24228314598

Pull #103

github

iskandr
Expression DSL v2: scoped contexts, len, count, repr round-trips

Replace WT() wrapper with scope prefix system (wt., shuffled., self.)
for alternate peptide contexts. The scope is a reserved keyword that
modifies which DataFrame column a Field reads from.

Core changes:
- Add scope parameter to Field and KindAccessor
- Add Scope class with wt, shuffled module-level instances
- Add Len(Expr) for peptide length from precomputed column
- Add Count(Expr) for dynamic amino acid counting from peptide string
- Add __repr__ to all Expr subclasses enabling parse→repr→parse round-trips
- Remove WT class entirely (replaced by wt.Affinity.score syntax)

Parser:
- wt, shuffled, self are reserved context keywords
- Support wt.affinity.score, wt.len, wt.count('C'), count('KR'), len
- Fix _build_ranking_strategy to route dotted exprs through parse_expr
- Fix broken test_parse_expr_abs, add parse_expr to __all__
- Remove unused mhc_binding_predictor_from_args import
- Deduplicate transform name set in CLI args

Tests:
- 15 CLI integration tests (test_cli_ranking.py)
- 28 AST↔string equivalence tests
- 25 round-trip tests (parse→repr→parse→evaluate)
- 20 WT→scope, bracket+chain, multi-dot, underscore-qualified tests
- 30 len/count/scope Python API/parsing/round-trip tests
- Update all existing WT() tests to wt. prefix syntax
Pull Request #103: Expression DSL v2: scoped contexts, len, count, repr round-trips

390 of 423 new or added lines in 3 files covered. (92.2%)

26 existing lines in 1 file now uncovered.

1786 of 2014 relevant lines covered (88.68%)

2.66 hits per line

Uncovered Changes

Lines Coverage ∆ File
33
90.77
2.37% topiary/ranking.py

Coverage Regressions

Lines Coverage ∆ File
26
90.77
2.37% topiary/ranking.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 24228314598.1 10 Apr 2026 05:48AM UTC 21
88.68
GitHub Action Run
2 python-3.11 - 24228314598.2 10 Apr 2026 05:46AM UTC 21
88.68
GitHub Action Run
3 python-3.12 - 24228314598.3 10 Apr 2026 05:47AM UTC 21
88.68
GitHub Action Run
Source Files on build 24228314598
  • Tree
  • List 21
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24228314598
  • Pull Request #103
  • PR Base - master (#24210929650)
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