-
Notifications
You must be signed in to change notification settings - Fork 3
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
Difference in test results in Windows and Unix #116
Comments
This should be resolved by #120. I'm not exactly sure why there's a mismatch between OSes, but the core issue I think is that we had But, #120 synchronizes all of these version sets, so this should be fine now. And given that #120 passed all checks, I'm going to close this |
Marc modified the test that was failing. The difference is not large, but I'm still curious. I'll reopen until we have a better answer. |
Ah, okay, I see the change, which was merged as part of PR #117 I suspect that this is a precision difference between Windows and other platforms -- the arrays under test are |
Okay, I have verified that there is a precision difference between the Windows and Linux/Mac test runners. In I'm not sure if 128-bit precision is actually necessary or not Output from test_blank_integrations: cal_flux_value.dtype=dtype('float64')
test_blank_integrations: cal_flux_value=array([-0.27595341, -0.68388849, -0.10646429, ..., 0.40062377,
-0.19491617, -0.33765927])
test_blank_integrations: raw_flux_value.dtype=dtype('float64')
test_blank_integrations: (cal_flux_value - raw_flux_value).dtype=dtype('float64')
test_blank_integrations: cal_flux_value - raw_flux_value=array([0.00000000e+00, 0.00000000e+00, 1.38777878e-17, ...,
0.00000000e+00, 0.00000000e+00, 0.00000000e+00], dtype=float64) Output from test_blank_integrations: cal_flux_value.dtype=dtype('float64')
test_blank_integrations: cal_flux_value=array([-0.27595341, -0.68388849, -0.10646429, ..., 0.40062377,
-0.19491617, -0.33765927])
test_blank_integrations: raw_flux_value.dtype=dtype('float128')
test_blank_integrations: (cal_flux_value - raw_flux_value).dtype=dtype('float128')
test_blank_integrations: cal_flux_value - raw_flux_value=array([ 0.00000000e+00, 0.00000000e+00, 6.77626358e-21, ...,
-2.71050543e-20, 0.00000000e+00, 0.00000000e+00], dtype=float128) Full output is available here |
Now that we are not using float128 we can re run the action with the previous criteria and see if it still fails under Windows. |
During a merge it was noticed that the tests being ran on windows failed, while the same tests passed on Ubuntu and MacOS.
This is the line causing problems.
This is the failed action.
We should understand why this happens moving forward.
The text was updated successfully, but these errors were encountered: