Skip to content
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

Fully corrects Parentheses Issue in Lookup table build #3972

Merged
merged 6 commits into from
Jan 23, 2025

Conversation

tyler-spangler6
Copy link
Contributor

What was the problem?

This is a larger fix for the bugfix in #3969. Before this PR, parenthetical terms were included as individual terms in the lookup table and for some terms this provided incorrect classifications. #3969 only removed these terms from the list, but a larger fix would be to include a way that we can correctly classify these terms.

Associated tickets or Slack threads:

How does this fix it?1

This fix will include the body part with the parenthetical term to ensure proper classification. Example:
term: degenerative arthritis (osteoarthritis) in wrist, left" will create following lookup options:

  1. degenerative arthritis osteoarthritis wrist
  2. osteoarthritis wrist
  3. degenerative arthritis wrist
    Separating out the options in this manner will allow us to correctly classify this term.

How to test this PR

  • Unit tests are written for the functionality to remove parenthetical terms.

Footnotes

  1. Pull-Requests guidelines. If PR is significant, update Current Software State wiki page.

@tyler-spangler6 tyler-spangler6 requested a review from a team as a code owner January 15, 2025 19:10
@tyler-spangler6 tyler-spangler6 marked this pull request as draft January 15, 2025 19:10
@tyler-spangler6 tyler-spangler6 marked this pull request as ready for review January 15, 2025 19:14
Copy link
Contributor

github-actions bot commented Jan 15, 2025

Test Results

102 tests   102 ✅  16s ⏱️
 31 suites    0 💤
 31 files      0 ❌

Results for commit b800151.

♻️ This comment has been updated with latest results.

Copy link
Contributor

JaCoCo Test Coverage

Overall Project 68%

There is no coverage information present for the Files changed

Copy link

@CorySohrakoffUSDS CorySohrakoffUSDS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but recommend at least one other reviewer.

Copy link

@williamphelps13 williamphelps13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tyler-spangler6 tyler-spangler6 merged commit 767fc6e into develop Jan 23, 2025
15 checks passed
@tyler-spangler6 tyler-spangler6 deleted the conditions-larger-bugfix branch January 23, 2025 17:47
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.

3 participants