-
Notifications
You must be signed in to change notification settings - Fork 132
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
standardize QC testing workflow, requirements, documentation #347
Comments
Also related: #345 to make the plots :) ! |
I thought, to some extent, that this was already done. Code Compliance Testing Procedure has some of the software requirements for the QC test, and End to End Testing Procedure is an "end-to-end" testing procedure. I can see that this might need to be expanded upon, though. |
Yes, thanks. Let's review what's already there and clarify as needed. |
The plots I was thinking of are maps, and #345 is for time series. We don't have scripts to make maps (yet). |
The current QC script will plot a map of 2-stage test failures, if the 2-stage test does indeed fail (only if all necessary Python packages are available). Here is an example: Note that this QC test was done with randomly perturbed data in order to force a failure. Should I update the QC script to plot a map of the |
I just realized that the map has the x-axis flipped... I'll have to create a PR to fix that |
I noticed that in the documentation here https://cice-consortium-cice.readthedocs.io/en/master/user_guide/ug_testing.html#code-compliance-testing-procedure there is a paragraph that seems to be a leftover from an early version of the doc :
Maybe we could take this opportunity to clean that up. Also, in order to close the present issue, I think we need 2 things :
|
All good suggestions, thanks @phil-blain. I think it's a good idea to explicitly ask for a QC test, with maps provided in the PR when not BFB. Whether this is done in the PR template or if a link is provided to a wiki or readthedocs with specific info is open for discussion. I'm generally in favor of keeping the PR template simpler, with links to other info as needed. I agree with @phil-blain though that the current link isn't direct enough. |
Interesting. I just ran the QC test, but did not get plots. I need to check into this more to see what I am missing. |
I believe this issue has been addressed and will close it. The documentation has been update thru a number of PRs and I think things are working OK and documentation is consistent. We recently added a few sentences to the qc documentation for further clarification.
|
Define and document a standard workflow for QC testing, including instructions for what to do when the configuration being modified is not part of the default setup. There should be a control run without the modification with which to compare a second run using the modified code; both runs may need some manual changes. For modifications that do cause major changes in model output, before and after plots of ice thickness should be made and posted to the relevant PR.
#331 might be used as a test case for defining this workflow.
Also related: #166 #333
The text was updated successfully, but these errors were encountered: