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

pirl-unc / tcrsift / 25705970188
84%

Build:
DEFAULT BRANCH: main
Ran 12 May 2026 12:41AM UTC
Jobs 4
Files 24
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

12 May 2026 12:39AM UTC coverage: 70.909% (-0.5%) from 71.45%
25705970188

push

github

web-flow
Method × method overlap matrix + method-recovery panel (closes #27, v0.8.0) (#28)

* Method × method overlap matrix + method-recovery panel (closes #27)

Implements both chunks of #27 (chunks 3 and 4 of #20). Surfaces in the
CSV outputs and the report PDF the method-stratified views that users
were previously reconstructing post-hoc from clonotypes.csv.

clonotype.build_method_overlap_matrices(filtered, long_df, similarity)
  -> dict[donor, DataFrame]

  Per-donor square method × method overlap matrices over filter-passing
  clones. Off-diagonal cells are pairwise similarity of the
  selected-clone sets in each method; diagonal is the per-method clone
  count (when similarity='count') or 1.0 (when 'jaccard'/'dice').

  Three similarity options:
    - jaccard (default): |A ∩ B| / |A ∪ B|
    - dice:               2|A ∩ B| / (|A| + |B|)
    - count:              raw |A ∩ B| (diagonal = |A|)

  Symmetric. Returns {} when method axis isn't on long_df or filtered
  is empty. When donor isn't on long_df but method is, folds under a
  synthetic donor='all' so output naming stays uniform.

clonotype.build_method_recovery_table(filtered, long_df, tier)
  -> long DataFrame [donor, method, recovered, total, fraction]

  Per-(donor, method) recovery of clones at the target tier.
  - When `tier` matches a tier label in filtered: count clones with
    that tier that appear in each (donor, method) bucket.
  - When `tier='*'` or filtered has no tier column: fall back to all
    filtered clones (lets non-FDR filter modes use the panel too).

plots.plot_method_overlap(matrix, output_path, similarity, donor)
  Annotated seaborn heatmap, fmt depending on metric.

plots.plot_method_recovery(recovery, output_path, tier_label)
  Bar plot of recovery fraction per method, paired by donor; annotated
  with "recovered/total" labels above each bar; methods sorted by
  cross-donor mean recovery.

cmd_run wires both into Step 4 alongside the per-method rankings:

  data/method_ove... (continued)

4407 of 6215 relevant lines covered (70.91%)

2.84 hits per line

Coverage Regressions

Lines Coverage ∆ File
170
4.84
-0.1% plots.py
123
54.75
-1.11% cli.py
13
90.12
0.06% config.py
4
95.28
-0.39% clonotype.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.9 - 25705970188.1 12 May 2026 12:41AM UTC 24
70.87
GitHub Action Run
2 python-3.10 - 25705970188.2 12 May 2026 12:41AM UTC 24
70.9
GitHub Action Run
3 python-3.11 - 25705970188.3 12 May 2026 12:41AM UTC 24
70.9
GitHub Action Run
4 python-3.12 - 25705970188.4 12 May 2026 12:41AM UTC 24
70.9
GitHub Action Run
Source Files on build 25705970188
  • Tree
  • List 24
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25705970188
  • 1174e93a on github
  • Prev Build on main (#25705813745)
  • Next Build on main (#25706124068)
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