-
Notifications
You must be signed in to change notification settings - Fork 76
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
Allow larger rtol on new test #3350
Conversation
1E-5 still pretty small so probably ok but do we understand why the actual value deviates from the "truth" over time? Is someone recalibrating and re-uploading the data to Box? |
Do we know (or is the tolerance small enough that we don't care) what was different between between 4.0 and main that requires this? |
This is a file I uploaded, I haven't changed it.
Hm, it does actually seem to be some minor difference between 4.0 and main, not a precision/rounding thing, since the results are consistent across multiple runs within each branch. Is it worth investigating more deeply? |
But when did it start happening? Why do we only notice it now? 🧐 |
I just added this test. |
I don't understand... CI was passing an hour ago on main... Lemme rerun https://github.com/spacetelescope/jdaviz/actions/runs/12281137529 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3350 +/- ##
=======================================
Coverage 88.80% 88.80%
=======================================
Files 125 125
Lines 19155 19155
=======================================
Hits 17010 17010
Misses 2145 2145 ☔ View full report in Codecov by Sentry. |
Well, this is crazy, the rerun isn't failing on this test you are patching but some unrelated specviz2d URL open errors: https://github.com/spacetelescope/jdaviz/actions/runs/12281137529/job/34275135338 Are you sure this is deterministic? |
That's what I was saying to Kyle, the value this test produces on main is consistent (and passes the test, it's the value it's coded to check against). The value it consistently produces on 4.0.x is slightly different, just enough to fail the test. It's deterministic on both branches but slightly different. |
Ahhh ok. Sorry, I misunderstood. So technically, rtol adjustment is not necessary for |
Closing this, I found an actual problem. |
Realized this needed a slightly larger than default
rtol
when backporting, very small values ran into precision issues.