Skip to content

test(pd): sync unit tests with charge_spin interface changes

6ef79f2
Select commit
Loading
Failed to load commit list.
Open

fix(pd): add default chg spin parameter #5469

test(pd): sync unit tests with charge_spin interface changes
6ef79f2
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 1, 2026 in 1s

81.35% (-1.11%) compared to f39a081

View this Pull Request on Codecov

81.35% (-1.11%) compared to f39a081

Details

Codecov Report

❌ Patch coverage is 55.55556% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.35%. Comparing base (f39a081) to head (6ef79f2).
⚠️ Report is 10 commits behind head on master.

Files with missing lines Patch % Lines
deepmd/pd/model/descriptor/dpa3.py 66.66% 4 Missing ⚠️
deepmd/pd/model/descriptor/dpa1.py 50.00% 3 Missing ⚠️
deepmd/pd/model/descriptor/dpa2.py 50.00% 3 Missing ⚠️
deepmd/pd/model/descriptor/se_a.py 50.00% 3 Missing ⚠️
deepmd/pd/model/descriptor/se_t_tebd.py 50.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5469      +/-   ##
==========================================
- Coverage   82.46%   81.35%   -1.11%     
==========================================
  Files         829      868      +39     
  Lines       88763    96406    +7643     
  Branches     4225     4233       +8     
==========================================
+ Hits        73197    78434    +5237     
- Misses      14274    16672    +2398     
- Partials     1292     1300       +8     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.