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

pirl-unc / tcrsift / 26858451065

03 Jun 2026 01:37AM UTC coverage: 80.842% (+0.1%) from 80.704%
26858451065

push

github

web-flow
Composable in-silico filter layer (#149) (#155)

A stackable filter layer that composes on top of the assay groups and the
selection rules: each layer is a per-clone percentile predicate on Ppost
(#143) or a GEX signature score (#141/#142/#144), so a group is
progressively refined (CTYneg -> CTYneg.Ppost^low.GEXnaive^low...).

New tcrsift/insilico_filter.py:
- FilterPredicate {score, direction(low/high), percentile, rank_method}
  + predicates_from_config.
- percentile_rank: lower-is-better rank in [0,1], NaN-safe, ties grouped
  (Ppost==0 kept as a valid best value, never dropped).
- insilico_mask (pass all predicates; ranks computed within each assay
  group), average_percentile_rank (the composite's ranking metric).
- apply_insilico_filter: pass flag + avg rank + named composite '<grp>+IS'.
- expand_insilico_twins: each assay group gains a filtered twin (N -> 2N).
- insilico_overlap_long: Jaccard overlap across base groups AND their +IS
  twins, reusing compute_sample_overlap_matrices.

Config: free-form insilico_filter: block (label + ordered predicates),
parsed alongside selection. Default empty = off. Docs page + nav.

Bump 2.24.0.

8157 of 10090 relevant lines covered (80.84%)

3.23 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.65
/config.py


Source Not Available

The file "config.py" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

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