Skip to content

#1652 wildcard replacement with domain on grouping_variables#1674

Merged
SFJohnson24 merged 5 commits into
mainfrom
1652-wildcard-on-grouping-variables
Apr 3, 2026
Merged

#1652 wildcard replacement with domain on grouping_variables#1674
SFJohnson24 merged 5 commits into
mainfrom
1652-wildcard-on-grouping-variables

Conversation

@alexfurmenkov
Copy link
Copy Markdown
Collaborator

@alexfurmenkov alexfurmenkov commented Mar 25, 2026

added wildcard replacement in generate_targeted_error_object for group sensitivity.

Comment thread tests/unit/test_actions.py Outdated
# Original case: explicit column name, no wildcard
(["SETCD"], None, "SETCD"),
# Wildcard case: "--PARMCD" replaced with domain "TX" → "TXPARMCD"
(["--PARMCD", "SETCD"], "TX", "SETCD"),
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 test case is still covering SETCD not '--PARMCD' so wildcard replacement code is not being tested fully. Could you please add a case where expected is TXPARMCD.

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.

agree with Ramil, would like a test where it is grouped only on --PARMCD
would also like to see TXPARMCD varied within SETCD for the test where you group on both to show that the grouping actually is contributing

Copy link
Copy Markdown
Collaborator

@RamilCDISC RamilCDISC left a comment

Choose a reason for hiding this comment

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

The PR adds wild card replacement with domain on grouping variables. The updates were validated by:

  1. Reviewing the PR for any unwanted code or comments.
  2. Reviewing the PR logic in accordance with AC.
  3. Reviewing the updated tests for coverage.
  4. Ensuring all tests pass.
  5. Running manual validation on using dev editor with positive dataset
  6. Running manual validation on dev editor with negative dataset.

@SFJohnson24 SFJohnson24 merged commit 2e95c6b into main Apr 3, 2026
14 checks passed
@SFJohnson24 SFJohnson24 deleted the 1652-wildcard-on-grouping-variables branch April 3, 2026 14:05
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.

wildcard is not working for grouping_variables

3 participants