Improve umdp3 checks I : Fixing the easy to deal with false failure flags.#228
Draft
R Sharp (r-sharp) wants to merge 36 commits intoMetOffice:mainfrom
Draft
Improve umdp3 checks I : Fixing the easy to deal with false failure flags.#228R Sharp (r-sharp) wants to merge 36 commits intoMetOffice:mainfrom
R Sharp (r-sharp) wants to merge 36 commits intoMetOffice:mainfrom
Conversation
…iple lines, plus accidentally running ruff.
… changing it so that lines which previously passed now fail, they're going to get a jolly hard stare....
…to the unit tests.
Mostly typos and tidying. All changes suggested by reviewers and very sensible they were too. Co-authored-by: James Bruten <109733895+james-bruten-mo@users.noreply.github.com> Co-authored-by: Sam Clarke-Green <74185251+t00sa@users.noreply.github.com>
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.
PR Summary
Sci/Tech Reviewer:
Code Reviewer:
The purpose of this change is to reduce the number of files the UMDP3 checker flags as failing incorrectly.
Prior to this change, a fun on the full UM reported 780 failures, this branch reduces that to 311.
With some reasonable unit tests in place, looking at the full output form running the UMDP3 checker on a clone of the UM was showing 780 files failing, out of 2406 checked.
Closer inspection of the detailed output (of which there was a lot) revealed a few common failure themes.
The changes here have reduced the failure count to 311.
The next obvious ones appera to be the "deprecated intrinsics" check is spotting a lot of what are actually badly named variables. Particulalry "LONG"
Code Quality Checklist
Testing
Security Considerations
AI Assistance and Attribution
Sci/Tech Review
(Please alert the code reviewer via a tag when you have approved the SR)
Code Review