-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code compliance and FAQ #17
Conversation
ComplianceLevels.md
Outdated
- A) Verifies the JSON input | ||
- B) Can obtain energy/gradient/Hessian quantities | ||
- C) Can perform optization, response, frequency, and spectra computations and | ||
record output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tier 1 is a high bar. Suggest a Tier 0 that A) verifies the JSON input and B) performs and records output for energy calculations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, fix "optimization" spelling.
ComplianceLevels.md
Outdated
## Tier 2 | ||
- D) Records all miscellaneous quantities into the Variables field | ||
(one-electron energy, two-electron energy, KS energy, ...) | ||
- E) Exports Wavefunction quantities (orbitals, eigenvalues, densities, orbitals) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
too many orbitals :-)
Make clear that this is choose-your-own-Variables at this Tier, as opposed to the normalized version at Tier 3. This step is for intra-code-community programatic access.
FAQ.md
Outdated
@@ -0,0 +1,16 @@ | |||
# Frequently Asked Questions | |||
|
|||
1. *Will the json be validated before it reaches my software?* Since we are electing to use JSON the schema will not automatically be validated; however, MolSSI will sponsor software to validate the schema in a variety language. Likely through [these implementations](http://json-schema.org/implementations.html). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"variety of languages"
Primary targets are C++ and Python.
FAQ.md
Outdated
|
||
1. *Will the json be validated before it reaches my software?* Since we are electing to use JSON the schema will not automatically be validated; however, MolSSI will sponsor software to validate the schema in a variety language. Likely through [these implementations](http://json-schema.org/implementations.html). | ||
|
||
2. *Does the schema accept arbitrary extra fields if my software piece needs internal extensions?* Yes, we are currently discussion which fields are reserved and where the best place for arbitrary fields would be. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"discussing"
Maybe use black-list/white-list terminology.
FAQ.md
Outdated
6. *What style will be used for indexing and case?* | ||
We will support zero-indexing and camelCase in the JavaScript notation. Discussion is underway if we will follow the full [Google JSON Style Guide](https://google.github.io/styleguide/jsoncstyleguide.xml). | ||
|
||
7. *Will the schema be versioned?* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌟 for versioning!
Description
Adds compliance levels and starts a FAQ to answer issues #1, #6, #7, #13.