You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
A flaky test is detected by running pytest plug-in flake-finder.
Particularly is the test "test_force_grad"
"assert (
np.abs(ls_val - force_force_gradient[1][1, m, n]) < threshold
), "The force/force gradient is wrong."" will fail inconsistently.
I was trying to fix it, but realize the assertion failed because value of force_force_gradient[1][1, m, n] will drift a little bit from time to time and do not know how to precisely fix the gradient function. My assumption is something wrong with the implementation of 3bodykernel.
Describe the bug
A clear and concise description of what the bug is.
A flaky test is detected by running pytest plug-in flake-finder.
Particularly is the test "test_force_grad"
"assert (
np.abs(ls_val - force_force_gradient[1][1, m, n]) < threshold
), "The force/force gradient is wrong."" will fail inconsistently.
I was trying to fix it, but realize the assertion failed because value of force_force_gradient[1][1, m, n] will drift a little bit from time to time and do not know how to precisely fix the gradient function. My assumption is something wrong with the implementation of 3bodykernel.
To Reproduce
Steps to reproduce the behavior:
0. Install flake finder following https://github.com/dropbox/pytest-flakefinder
Expected behavior
Error message will appear in terminal saying some run in test_stress_kernels.py failed.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: