Skip to content

Correction to star summary method #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 23, 2025
Merged

Conversation

MattWellie
Copy link
Collaborator

Purpose

  • Closes Check the star-assignment logic #11
  • When we calculate the number of stars for a submission, we were considering the Uncertain/Unknown submissions. If an allele had a 0-star Pathogenic and a 1-star Uncertain, the result would be Pathogenic (due to the tie-breaking) and 1-star (from the Uncertain)

Proposed Changes

  • When calculating Stars, we skip over Uncertain/Unknown-rated submissions
  • adds test cases to confirm all combinations

Checklist

  • Related GitHub Issue created
  • Tests covering new change
  • Linting checks pass

@MattWellie MattWellie requested a review from cassimons January 23, 2025 06:56
@MattWellie MattWellie merged commit 06ad881 into main Jan 23, 2025
2 checks passed
@MattWellie MattWellie deleted the correction_to_star_summary branch January 23, 2025 07:06
MattWellie added a commit that referenced this pull request Feb 10, 2025
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.

Check the star-assignment logic
2 participants