Add Comprehensive JK Build+Screening Testing - #2978
Merged
davpoolechem merged 10 commits intoOct 2, 2023
Merged
Conversation
loriab
reviewed
Jun 5, 2023
davpoolechem
force-pushed
the
dpoole34/comprehensive-screentest
branch
from
June 6, 2023 12:08
a1be18f to
3df8715
Compare
loriab
approved these changes
Jun 7, 2023
| "DF" : -149.58715054487624, #TEST | ||
| "Composite": { | ||
| "DFDIRJ+COSX" : -149.58722317236171, #TEST | ||
| "DFDIRJ+LINK" : -149.58726772171027 #TEST |
Member
There was a problem hiding this comment.
fwiw, the #TEST don't do anything in tests/pytests/
Contributor
Author
There was a problem hiding this comment.
Ah, good to know. I will probably remove it, then.
davpoolechem
force-pushed
the
dpoole34/comprehensive-screentest
branch
from
June 12, 2023 12:10
b8b86d7 to
cb46252
Compare
davpoolechem
force-pushed
the
dpoole34/comprehensive-screentest
branch
2 times, most recently
from
June 26, 2023 13:18
f29b27e to
f68250f
Compare
davpoolechem
force-pushed
the
dpoole34/comprehensive-screentest
branch
2 times, most recently
from
July 3, 2023 16:58
eab9630 to
9c91e56
Compare
davpoolechem
force-pushed
the
dpoole34/comprehensive-screentest
branch
2 times, most recently
from
July 11, 2023 15:18
3cf1210 to
cb344c1
Compare
davpoolechem
force-pushed
the
dpoole34/comprehensive-screentest
branch
from
July 20, 2023 13:25
d7e7e7e to
d0771ea
Compare
davpoolechem
force-pushed
the
dpoole34/comprehensive-screentest
branch
3 times, most recently
from
August 14, 2023 13:41
b79c987 to
5dbfbb3
Compare
davpoolechem
force-pushed
the
dpoole34/comprehensive-screentest
branch
2 times, most recently
from
August 28, 2023 13:20
3a47b78 to
963dc36
Compare
davpoolechem
force-pushed
the
dpoole34/comprehensive-screentest
branch
from
September 5, 2023 13:19
963dc36 to
98d4937
Compare
davpoolechem
force-pushed
the
dpoole34/comprehensive-screentest
branch
from
September 18, 2023 12:10
98d4937 to
69457fc
Compare
davpoolechem
force-pushed
the
dpoole34/comprehensive-screentest
branch
from
September 26, 2023 13:27
69457fc to
471fbd2
Compare
added 9 commits
October 2, 2023 09:05
davpoolechem
force-pushed
the
dpoole34/comprehensive-screentest
branch
from
October 2, 2023 13:12
471fbd2 to
c92e18b
Compare
jturney
approved these changes
Oct 2, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR is designed to enable testing of a wide variety of combinations of
SCF_TYPE,SCF_SUBTYPE, andSCREENINGkeywords available in Psi4. Of the currently-available JK tests, scf5 covers a wide variety of build methods, but only at a single screening type per method (density or csam, depending on the method). Meanwhile,test_erisieve.py, after the updates introduced in #2973, tests a wide variety of screening types, but with limited testing in conjunction with different JK builds (the only tests that don't use the Python interface ofTwoBodyAOIntdirectly, useSCF_TYPE=DIRECTorDFas the JK method for screening comparisons). This leaves a lot of untested JK build+screening combos, which may be potentially broken and uncaught by the CI as a result. As a matter of fact, such cases actually do exist in the code currently (e.g., CompositeJK methods + no screening).This PR adds a new pytest module,
test_comprehensive_jk_screening.py. It is effectively an expanded version of the scf5 test module, testing one of the scf5 systems (singlet oxygen) with the same basis set, but also including different screening methods and algorithmic subtypes available in Psi4. Screening is assumed to have an insignificant impact on energy within the tolerance used, so all screening types for a given method use the same reference energy. Some combinations of method and screening type throw an exception by design; this is accounted for in the test by testing that such combinations do indeed throw an exception as expected. Other combinations of method and algorithm are broken at the moment and error out; these are simply skipped for now. They are all logged in the same spot, and can and will be addressed in future PRs.User API & Changelog headlines
Dev notes & details
test_comprehensive_jk_screening.py, to test different combinations of JK build algorithms and ERI screening methods.Questions
test_comprehensive_jk_screening.pybe better placed intest_erisieve.py? I placed the test in the former because I considered it large enough to warrant not having the quick pytest mark, but I'm ambivalent about where the test goes between those two test modules.Checklist
Status