Skip to content

fix(extract): the tracker layout finding names its columns - #39

Merged
TatianaTchouakam merged 1 commit into
devfrom
fix/layout-finding-names-column
Nov 18, 2026
Merged

TatianaTchouakam merged 1 commit into
devfrom
fix/layout-finding-names-column

Conversation

@TatianaTchouakam

@TatianaTchouakam TatianaTchouakam commented Nov 8, 2026 •

Copy link
Copy Markdown
Collaborator

Ticket 13.

tracker_layout_changed named its column only in the message ("Column AD does not mean the same thing..."); the column field was empty, so filtering the findings by column did not find it. The emitter already had the pipeline column names (change.canonical); they are now passed as column, joined by ", ", as other findings use pipeline names in that field. The message text is unchanged. sheet_name stays empty: the finding compares the month sheets (scope tracker_column).

One finding, before and after (VNC 2025 tracker: column N is "Updated FBG mmol/L" in Jan–Sep and "Updated FBG mg/dL" in Oct–Dec):

Field Before After
error_code tracker_layout_changed tracker_layout_changed
message Column N does not mean the same thing in every month sheet: Updated FBG mg/dL, Updated FBG mmol/L -> fbg_updated_mg, fbg_updated_mmol. A tracker should keep one layout for the whole year; check the workbook. unchanged
column (empty) fbg_updated_mg, fbg_updated_mmol

Effect (full local run, --skip-upload):

Before After
All findings 70,913 70,913
tracker_layout_changed 257 (column empty) 257 (column filled in 257)

No finding count changed, by type and year.

Tests: full suite 1,399 passed. No new unit test: the finding is emitted while reading a whole workbook, and the existing tests of read_all_patient_sheets need real tracker files; the full local run above is the check.

@pmayd pmayd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please describe the message format before /after to show how the new message looks like, then its good for merging!

@TatianaTchouakam

Copy link
Copy Markdown
Collaborator Author

Description updated with one finding before/after (VNC 2025 example).

@TatianaTchouakam
TatianaTchouakam merged commit 05a8352 into dev Nov 18, 2026
3 of 4 checks passed
@TatianaTchouakam
TatianaTchouakam deleted the fix/layout-finding-names-column branch November 18, 2026 15:39
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.

2 participants