-
Notifications
You must be signed in to change notification settings - Fork 64
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
Test "Pipes: HMM pipe model is equivalent to standard model" is flaky #283
Comments
Also see #260 , we should move pipes to a separate package. Then only that separate package would fail. |
Might be caused by nick8325/quickcheck#359 |
Or similar to haskell/vector#460 it might be that the new generator produces more values for which we experience overflows. |
Easily reproduceable wtih this diff:
And a file
|
The issue is in the hard sorting function in the
This gave e.g.
Look closely at the 6th and 7th elements.
vs.
The floating point numbers are so close that they are ordered in two different ways. The equality check at the end is fine with small differences because it uses |
The stuff with pipes was added by me, partly to make MCMC smoother, partly to explore the stuff we're now exploring with dunai/Rhine. It's really not important, and if it's a pain point, can happily be removed. Sorry for the hassle there. |
No worries. It's actually helpful to have two different implementations of something for comparison. So I think there is value in that test. But it would be great if we can tackle #260. |
Failures like these occur often:
This might even lead to
monad-bayes
getting marked broken innixpkgs
, see NixOS/nixpkgs#236431The text was updated successfully, but these errors were encountered: