Add unit tests coverage - #553
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.