Conversation
New messaging 'system'. Changed wording on exit about warnings/notes.
Documented new functions
Rick-Methot-NOAA
left a comment
There was a problem hiding this comment.
Neal, this is a helpful augmentation of SS3.
It appears that the number of warnings is changed, which is benign but we will need to update the expected number of warnings.
Please work with @chantelwetzel-noaa to add a paragraph to the Manual to describe to users the categories of warnings & notes.
|
I am surprised that this run is failing. The differences I see in results file are all small. @k-doering-NOAA can you take a quick look? |
|
@Rick-Methot-NOAA the first job is failing b/c the number of "warnings" has changed. |
|
For the estimation run it looks like many differences in very small numbers referring to Sum_recdevs_like and maxgrad, where below I pasted the differences sorted by the calculated percent change for and subset for non-zero percent change. I am not super familiar with this file so I am not sure what is common here. <style> </style>
|
|
Thanks for looking Kelli. That is the same file I have been looking at. Refinement of the fail criteria has been difficult given the large range of absolute values for these quantities. |
Rick-Methot-NOAA
left a comment
There was a problem hiding this comment.
ready to merge
|
Chantel, here are the categories of Notes/Messages: |
|
thanks @kellijohnson-NOAA and @Rick-Methot-NOAA for taking a look. I think the run-with-est job was failing because the warning file syntax has changed and it couldn't pull out the number of warnings from warnings.sso correctly anymore. Here is where the warning is coming from: https://github.com/nmfs-stock-synthesis/test-models/blob/07f20126d2bc41747d811c3b8191d449292d9d6b/.github/r_scripts/compare.R#L297 here is where you can see the job failing: https://github.com/nmfs-stock-synthesis/stock-synthesis/runs/7779234003?check_suite_focus=true#step:10:80 Since none of the differences are big in the file you both looked at, I agree that there was no cause for concern by this failing run, but that the rscript should be edited now that this is in main. As for the build-warnings job, I think Kelli is right about the cause. To troubleshoot this, I would compare the warning file produced from this run versus one from an earlier run on main that was passing and use a text compare tool to see which warnings are new. If they are comfirmed as "ok" warnings, then we can change the number of warnings expected in this job (currently it expects 83 warnings): https://github.com/nmfs-stock-synthesis/workflows/blob/a62a6c65cd146ceebd3cac4b612cf3d86c0d58d9/.github/workflows/build-ss3-warnings.yml#L64 |
|
Let's wait to update the warning count until after we convert to ADMB 13.0. I suspect it will change. |
|
Yes, I think it will, probably the number will decrease, so it would be good to recalibrate the number at that time. |
Concisely (20 words or less) describe the issue
This expands the write_message utility by allowing different levels of messages (Notes and Warnings). It is internal to the code.
Please Link issue(s)
resolves #[add issue number number], resolves #[optional second issue number if more than 1 issue addressed.]
What tests have been done? Upload any model input files created for testing in a zip file, if possible.
What tests/review still need to be done? Who can do it, and by when is it needed (ideally)?
Has any new code been documented?
If not, please add documentation before submitting the Pull Request.
is there an input change for users to Stock Synthesis?
If so, please provide an example of the new inputs needed.
Check which is true. This PR requires:
Describe any changes in r4ss/SS3 manual/SSI that are needed (if not checked):
Add a paragraph to the Manual to describe to users the categories of warnings & notes
If changes are needed in the change log, please fill in the table here:
Additional information (optional):