Skip to content
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

float-mult-spec sporadically fails #47

Open
NicMcPhee opened this issue Mar 4, 2022 · 0 comments
Open

float-mult-spec sporadically fails #47

NicMcPhee opened this issue Mar 4, 2022 · 0 comments

Comments

@NicMcPhee
Copy link
Contributor

We've had a couple of cases where float-mult-spec (part of the nifty new numerics tests by @julia-schor – thanks!) fails sporadically, such as this example:

FAIL in (float-mult-spec) (numeric_spec.clj:229)
expected: {:result true}
  actual: {:shrunk {:total-nodes-visited 49, :depth 6, :pass? false, :result false, :result-data nil, :time-shrinking-ms 3, :smallest [128.0 9.5367431640625E-7]}, :failed-after-ms 4, :num-tests 43, :seed 1646433009522, :fail [-512.0 2.704362600525201E-7], :result false, :result-data nil, :failing-size 42, :pass? false, :test-var "float-mult-spec"}

It happens fairly rarely, and our guess is that the very small (10^-7) value is key to the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant