Skip to content

Fix - #1815

Merged
SFJohnson24 merged 5 commits into
mainfrom
fix
Jul 31, 2026
Merged

Fix#1815
SFJohnson24 merged 5 commits into
mainfrom
fix

Conversation

@SFJohnson24

Copy link
Copy Markdown
Collaborator

Bug 1 (crash): In dataset_preprocessor.py, the SUPP-domain child-merge logic (_merge_standard_then_filter_idvar/_merge_idvar_only) returned child_records.class.from_records(results) instead of a plain pd.DataFrame, causing a PandasDatase to wrap another PandasDataset that crashed future function invocations due to the double wrap.

Bug 2 (wrong data): In rule_processor.py, resolving an operation's "SUPP--" domain wildcard always picked the first startswith("SUPP") dataset in the study rather than the one actually being validated, so validating SUPPLB could silently compute against SUPPDM's data instead.

Test against CORE-000712 (positive/01, SUPPLB/SUPPDM).

@RamilCDISC RamilCDISC 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.

The PR resolves bug caused by wrong return statement, and less strict check of SUPP datasets. The two changes made in PR fixes the bugs. All unit and regression tests pass confirming proper integration.

@SFJohnson24
SFJohnson24 merged commit 21a8c71 into main Jul 31, 2026
13 checks passed
@SFJohnson24
SFJohnson24 deleted the fix branch July 31, 2026 13:08
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