Fix 'ndication' typo mapped to 'impression' instead of 'indication'#1982
Open
Chessing234 wants to merge 1 commit intoMIT-LCP:mainfrom
Open
Fix 'ndication' typo mapped to 'impression' instead of 'indication'#1982Chessing234 wants to merge 1 commit intoMIT-LCP:mainfrom
Chessing234 wants to merge 1 commit intoMIT-LCP:mainfrom
Conversation
The misspelling 'ndication' (missing leading 'i') is a typo for 'indication', not 'impression'. It is incorrectly mapped to 'impression', causing clinical indication text to be classified as the radiologist's diagnostic conclusion. The sibling typo 'idication' (line 148) is correctly mapped to 'indication'. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
In
section_parser.py, the misspelling'ndication'(missing leading "i") is mapped to'impression'instead of'indication'.Bug: Line 130 —
'ndication': 'impression'Root cause:
'ndication'is a typo for "indication" (the clinical reason for an exam), not "impression" (the radiologist's diagnostic conclusion). These are semantically distinct report sections.Evidence:
'idication'(another single-letter-dropped indication typo) →'indication'correctly'indication''ndication'does not fit this groupImpact: When a report header reads "NDICATION:", the clinical indication text is misclassified as the impression, which
create_section_files.pythen extracts as the radiologist's conclusion for NLP labeling.Fix:
'impression'→'indication'on line 130.Test plan
'indication'create_section_files.pyprioritizes'impression'sections