Skip to content

feat!: Split Rewrite trait into VerifyPatch and ApplyPatch #2070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Merge branch 'main' into feat/rewrite-trait

eda21fa
Select commit
Loading
Failed to load commit list.
Open

feat!: Split Rewrite trait into VerifyPatch and ApplyPatch #2070

Merge branch 'main' into feat/rewrite-trait
eda21fa
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 10, 2025 in 0s

82.89% (-0.02%) compared to 7626797

View this Pull Request on Codecov

82.89% (-0.02%) compared to 7626797

Details

Codecov Report

Attention: Patch coverage is 66.66667% with 68 lines in your changes missing coverage. Please review.

Project coverage is 82.89%. Comparing base (7626797) to head (eda21fa).

Files with missing lines Patch % Lines
hugr-core/src/hugr/patch.rs 10.00% 27 Missing ⚠️
hugr-core/src/hugr/patch/replace.rs 80.64% 20 Missing and 4 partials ⚠️
hugr-core/src/hugr/patch/outline_cfg.rs 36.36% 7 Missing ⚠️
hugr-core/src/hugr/patch/inline_call.rs 50.00% 3 Missing ⚠️
hugr-core/src/hugr/patch/inline_dfg.rs 57.14% 3 Missing ⚠️
hugr-core/src/hugr/patch/insert_identity.rs 40.00% 3 Missing ⚠️
hugr-core/src/hugr/patch/simple_replace.rs 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2070      +/-   ##
==========================================
- Coverage   82.91%   82.89%   -0.02%     
==========================================
  Files         217      217              
  Lines       41529    41613      +84     
  Branches    37707    37791      +84     
==========================================
+ Hits        34433    34497      +64     
- Misses       5292     5311      +19     
- Partials     1804     1805       +1     

☔ 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.