Skip to content

Add unit tests coverage - #553

Merged
aarmey merged 4 commits into
mainfrom
add-unit-tests-coverage
Aug 24, 2026
Merged

Add unit tests coverage#553
aarmey merged 4 commits into
mainfrom
add-unit-tests-coverage

Conversation

@aarmey

@aarmey aarmey commented Aug 24, 2026

Copy link
Copy Markdown
Member

No description provided.

Aaron Meyer and others added 4 commits August 23, 2026 20:34
…s, datasets

Raises coverage of non-plotting modules (23% -> 38%) by testing PWM
construction, phosphosite counting/background sampling, PAM250 scoring,
motif extraction, dataset filtering/patient-matching, DDMC input validation
and cheap post-fit accessors, and the sklearn check_array shim -- all without
requiring full model fits.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BPVaCrqM298sYhJjdKPPXV
…idpoints

ncl=5 and w=0.1 only interpolated between values already covered by the
other parametrized cases and by test_wins/test_ClusterVar, while accounting
for ~62% of the suite's runtime. Keeping just the corners (ncl in {2,25},
w in {0,10.0}) preserves every distinct numerical-stability regime the grid
was meant to stress, cutting the suite from ~3.3s to ~2.15s.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BPVaCrqM298sYhJjdKPPXV
Cosmetic line-wrapping only, no logic changes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BPVaCrqM298sYhJjdKPPXV
Test assertions rely on numpy dynamic typing that ty can't resolve, causing false-positive diagnostics unrelated to real type errors.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014cRJ321rmL2NjWhkKHzLEo
@aarmey
aarmey merged commit 473018d into main Aug 24, 2026
1 check passed
@aarmey
aarmey deleted the add-unit-tests-coverage branch August 24, 2026 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant