Skip to content

added python test to check if previous state is overwritten by Load_

2962ec1
Select commit
Loading
Failed to load commit list.
Open

Save and Load objects #778

added python test to check if previous state is overwritten by Load_
2962ec1
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 31, 2026 in 0s

29.03% (+0.12%) compared to 03b3901

View this Pull Request on Codecov

29.03% (+0.12%) compared to 03b3901

Details

Codecov Report

❌ Patch coverage is 29.92701% with 192 lines in your changes missing coverage. Please review.
✅ Project coverage is 29.03%. Comparing base (03b3901) to head (2962ec1).
⚠️ Report is 48 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/backend/Storage.cpp 34.88% 17 Missing and 11 partials ⚠️
pybind/storage_py.cpp 16.00% 15 Missing and 6 partials ⚠️
pybind/tensor_py.cpp 12.50% 14 Missing and 7 partials ⚠️
pybind/tnalgo_py.cpp 9.52% 15 Missing and 4 partials ⚠️
pybind/symmetry_py.cpp 0.00% 13 Missing and 3 partials ⚠️
pybind/unitensor_py.cpp 15.78% 12 Missing and 4 partials ⚠️
pybind/bond_py.cpp 6.25% 12 Missing and 3 partials ⚠️
src/tn_algo/MPS.cpp 0.00% 15 Missing ⚠️
src/Tensor.cpp 47.05% 5 Missing and 4 partials ⚠️
src/Symmetry.cpp 20.00% 8 Missing ⚠️
... and 7 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #778      +/-   ##
==========================================
+ Coverage   28.91%   29.03%   +0.12%     
==========================================
  Files         240      240              
  Lines       35505    35643     +138     
  Branches    14794    14851      +57     
==========================================
+ Hits        10265    10350      +85     
- Misses      18078    18105      +27     
- Partials     7162     7188      +26     
Components Coverage Δ
C++ backend 30.33% <45.09%> (+0.21%) ⬆️
Python bindings 16.72% <10.74%> (-0.17%) ⬇️
Python package 51.07% <ø> (ø)
Files with missing lines Coverage Δ
include/Bond.hpp 63.26% <ø> (+0.68%) ⬆️
include/Symmetry.hpp 54.73% <ø> (ø)
include/Tensor.hpp 53.25% <ø> (+0.40%) ⬆️
include/UniTensor.hpp 47.59% <ø> (+0.12%) ⬆️
include/backend/Storage.hpp 80.95% <100.00%> (-0.12%) ⬇️
include/backend/Tensor_impl.hpp 65.89% <ø> (ø)
include/tn_algo/MPS.hpp 0.00% <ø> (ø)
src/BlockFermionicUniTensor.cpp 31.43% <100.00%> (ø)
src/DenseUniTensor.cpp 50.05% <100.00%> (+0.05%) ⬆️
src/Type.cpp 0.00% <ø> (ø)
... and 17 more

... and 5 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03b3901...2962ec1. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.