Skip to content

Deduplicate logicDefinition extensions on the moduleDefinitionLibrary#594

Open
c-schuler wants to merge 1 commit intomasterfrom
refresh-dedup-logicDefinition
Open

Deduplicate logicDefinition extensions on the moduleDefinitionLibrary#594
c-schuler wants to merge 1 commit intomasterfrom
refresh-dedup-logicDefinition

Conversation

@c-schuler
Copy link
Copy Markdown
Contributor

Adding de-duplication logic for logicDefinition extensions during refresh. These were reported by a user and confirmed through local testing. The "proper" fix is in the data requirements processing in the translator, but this code also works here as a defensive measure. I will also be addressing this issue in the translator

  • Github Issue:
  • I've read the contribution guidelines
  • Code compiles without errors
  • Tests are created / updated
  • Documentation is created / updated

By creating this PR you acknowledge that your contribution will be licensed under Apache 2.0

@c-schuler c-schuler self-assigned this Apr 7, 2026
@c-schuler c-schuler added the bug Something isn't working label Apr 7, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2026

Codecov Report

❌ Patch coverage is 38.70968% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 19.91%. Comparing base (1524d69) to head (a783fd7).

Files with missing lines Patch % Lines
.../org/opencds/cqf/tooling/operation/ig/Refresh.java 0.00% 14 Missing ⚠️
...s/cqf/tooling/measure/MeasureRefreshProcessor.java 70.58% 0 Missing and 5 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #594      +/-   ##
============================================
+ Coverage     19.88%   19.91%   +0.02%     
- Complexity     1675     1684       +9     
============================================
  Files           311      311              
  Lines         27663    27694      +31     
  Branches       4367     4378      +11     
============================================
+ Hits           5501     5515      +14     
- Misses        21237    21250      +13     
- Partials        925      929       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants