Skip to content

Conversation

@ErjieWu
Copy link
Collaborator

@ErjieWu ErjieWu commented Sep 5, 2025

Unit Tests and/or Case Tests for my changes

  • Unit test (multi-k) for DeePKS is changed to make sure it covers the check mentioned in issue Result of vdrpre maybe wrong in DeePKS. #6474. Cell is set to smaller one to make sure there are overlaps between l>0 orbitals in different Bravo lattice. This check will inevitably make the reference file larger.
  • Use smaller projected orbital for DeePKS UT to reduce the size of reference files.

What's changed?

  • Add a index check for vdr in DeePKS to make sure the index will not be out of range we want.
  • Add a WARNING_QUIT if model file not exist in DeePKS.

@ErjieWu ErjieWu added Machine Learning Issues related to the DeePKS Unit Tests/Integreate Tests Issues/PR related to unit tests and integrate tests labels Sep 5, 2025
@ErjieWu ErjieWu requested a review from mohanchen September 5, 2025 06:09
@ErjieWu
Copy link
Collaborator Author

ErjieWu commented Sep 9, 2025

@mohanchen Simplification for UT finished. Ready for merge.

@mohanchen mohanchen merged commit c931d97 into deepmodeling:develop Sep 15, 2025
14 checks passed
kluonj pushed a commit to kluonj/abacus-develop that referenced this pull request Sep 28, 2025
…ling#6480)

* Update DeePKS UT to make sure it covers some checks.

* Simplify DeePKS UT cases.

* Update LCAO_deepks_test.cpp.

* Add a warning_quit in DeePKS.

---------

Co-authored-by: Mohan Chen <[email protected]>
@ErjieWu ErjieWu deleted the fix branch October 11, 2025 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Machine Learning Issues related to the DeePKS Unit Tests/Integreate Tests Issues/PR related to unit tests and integrate tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants