Uh oh!
There was an error while loading. Please reload this page.
Call Random.seed! to avoid inconsistent test failure - #544
Conversation
Codecov Report
@@ Coverage Diff @@## master #544 +/- ##
==========================================
+ Coverage 76.82% 84.65% +7.83%
==========================================
Files 9 9 Lines 604 834 +230 ==========================================
+ Hits 464 706 +242 + Misses 140 128 -12
Continue to review full report at Codecov.
|
KristofferC
commented
Aug 31, 2021
While at it, perhaps moving to StableRNGs.jl would make sense? |
dlfivefifty
commented
Aug 31, 2021
But then we’d have to catch every |
mcabbott
commented
Sep 1, 2021
Is it just one or two tests? If it is, it might be worth figuring out why, instead of avoiding such cases. In https://github.com/JuliaDiff/ForwardDiff.jl/runs/3340080509?check_suite_focus=true the failure is this, which looks a bit familiar: |
dlfivefifty
commented
Sep 1, 2021
This bug has been around for months. If it was easy to figure out, someone would have. And it’s most likely not even a bug, just an issue if numbers are large producing slightly higher error than expected in the tests. In any case, it’s standard practice to seed RNG in tests to avoid these issues |
mcabbott
commented
Sep 1, 2021
If |
dlfivefifty
commented
Sep 1, 2021
Probably we need to overload might cause sqrt of a negative number |
odow
commented
Nov 5, 2021
Bump. This is pretty painful: #553 (comment) |
odow
commented
Nov 9, 2021
Fixed in #554 |
PR tests sometimes fail, I believe due to floating point errors. See e.g.
#541
This should hopefully fix it.