hugr icon indicating copy to clipboard operation
hugr copied to clipboard

feat: Add Serialize and DeserializeSeed support

Open lmondada opened this issue 7 months ago • 1 comments

This PR is ready to be reviewed/merged if we choose to go down this route.

See discussion https://github.com/CQCL/hugr/issues/2253

lmondada avatar May 27 '25 06:05 lmondada

Codecov Report

Attention: Patch coverage is 77.83019% with 47 lines in your changes missing coverage. Please review.

Project coverage is 81.98%. Comparing base (2ac4181) to head (6b95519). Report is 15 commits behind head on main.

Files with missing lines Patch % Lines
hugr-core/src/hugr/persistent/serialize.rs 76.51% 18 Missing and 17 partials :warning:
...gr-core/src/hugr/patch/simple_replace/serialize.rs 73.33% 3 Missing and 5 partials :warning:
hugr-core/src/hugr/serialize/serde_seed.rs 87.87% 3 Missing and 1 partial :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2258      +/-   ##
==========================================
- Coverage   82.00%   81.98%   -0.02%     
==========================================
  Files         237      240       +3     
  Lines       42778    42990     +212     
  Branches    38690    38902     +212     
==========================================
+ Hits        35079    35247     +168     
- Misses       5706     5727      +21     
- Partials     1993     2016      +23     
Flag Coverage Δ
python 85.34% <ø> (ø)
rust 81.63% <77.83%> (-0.02%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

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

codecov[bot] avatar May 27 '25 06:05 codecov[bot]

Superseded by https://github.com/CQCL/hugr/pull/2300

lmondada avatar Jun 03 '25 18:06 lmondada