-
Notifications
You must be signed in to change notification settings - Fork 53
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
Fix DepthGaussianNoise test #271
Conversation
Signed-off-by: Ian Chen <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-rendering3 #271 +/- ##
==================================================
- Coverage 50.59% 50.58% -0.01%
==================================================
Files 129 129
Lines 11887 11887
==================================================
- Hits 6014 6013 -1
- Misses 5873 5874 +1
Continue to review full report at Codecov.
|
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.
All tests passed, except for Focal on GitHub actions:
/github/workspace/test/integration/render_pass.cc:321: Failure
The difference between expectedRangeAtMidPoint + noiseMean and mx is 0.032002305984496937, which exceeds noiseTol, where
expectedRangeAtMidPoint + noiseMean evaluates to 1.4000000000000001,
mx evaluates to 1.4320023059844971, and
noiseTol evaluates to 0.029999999329447746.
[ FAILED ] GaussianNoise/RenderPassTest.DepthGaussianNoise/ogre2, where GetParam() = "ogre2" (282 ms)
It looks like decreasing noiseTol
to 3 * sigma (was originally 4 * sigma) results in a tolerance that is too tight for this check: https://github.com/ignitionrobotics/ign-rendering/blob/695fbd65c397ba6f9eedda03bc51379f506e7e5d/test/integration/render_pass.cc#L321
Signed-off-by: Ian Chen <[email protected]>
relaxed tolerance in 897f311, will see if this will make CI happy |
Windows came back red, but I believe that this is due to an issue with one of the Windows CI machines. I have re-triggered windows CI... just waiting in the queue for a spot to open (job |
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.
Windows is green now 😁
* Master branch updates (#268) Signed-off-by: Louise Poubel <[email protected]> * Fix DepthGaussianNoise test (#271) Signed-off-by: Ian Chen <[email protected]> Co-authored-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen [email protected]
🦟 Bug fix
Fixes one of the test Gaussian noise test failures mentioned in #175
Summary
While the difference between data with noise and data without noise should be within 3 sigma, the difference between 2 noisy values should be within 2 * 3 sigma, i.e. full span of the Gaussian noise distribution
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge