Skip to content

Support for curation coverage level in TES artifacts - #599

Open
sliver007 wants to merge 6 commits into
masterfrom
feature_tes_coverage_level
Open

Support for curation coverage level in TES artifacts#599
sliver007 wants to merge 6 commits into
masterfrom
feature_tes_coverage_level

Conversation

@sliver007

@sliver007 sliver007 commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Add CRMI curation coverage support and improve TES package generation

Description

Highlights

  • Adds support for reading curation coverage data from workbook sheets and populating the crmi-curationCoverageLevel extension on Condition and Additional Context Groupers.

  • Refactors grouper entry models into standalone classes for improved organization and maintainability.

  • Improves matching and naming by normalizing whitespace in grouper titles and condition codes.

  • Refactors common extension creation and other shared helper logic.

  • Updates the generated manifest to:

    • include expansion parameters,
    • use draft versioning/status,
    • add the release label and expansion parameter extensions,
    • simplify related artifact generation.
  • Enhances generated workbook output by producing separate sheets for Condition Groupers and Additional Context Groupers.

  • Adds utility methods for date parsing, text normalization, and curation coverage resolution.

  • Includes minor cleanup, typo fixes, and validation improvements throughout the generator.

  • 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

@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 195 lines in your changes missing coverage. Please review.
✅ Project coverage is 22.07%. Comparing base (e50dc91) to head (8faf1dd).

Files with missing lines Patch % Lines
...tooling/casereporting/tes/TESPackageGenerator.java 0.00% 151 Missing ⚠️
...sereporting/tes/AdditionalContextGrouperEntry.java 0.00% 18 Missing ⚠️
.../casereporting/tes/CurationCoverageLevelEntry.java 0.00% 12 Missing ⚠️
...oling/casereporting/tes/ConditionGrouperEntry.java 0.00% 8 Missing ⚠️
...cqf/tooling/casereporting/tes/TESGrouperEntry.java 0.00% 6 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #599      +/-   ##
============================================
- Coverage     22.15%   22.07%   -0.08%     
  Complexity     1687     1687              
============================================
  Files           285      289       +4     
  Lines         24901    24989      +88     
  Branches       3965     3980      +15     
============================================
  Hits           5517     5517              
- Misses        18454    18542      +88     
  Partials        930      930              

☔ View full report in Codecov by Harness.
📢 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.

@Chris0296 Chris0296 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved after discussion.

@sliver007
sliver007 marked this pull request as ready for review August 6, 2026 16:13
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