twitter / algebird

Abstract Algebra for Scala
https://twitter.github.io/algebird
Apache License 2.0
2.29k stars 345 forks source link

QTree bound test is flakey (or statistical) #454

Open johnynek opened 9 years ago

johnynek commented 9 years ago
[info] QTree with sizeHint 2^6
[info] - should always contain the true quantile within its bounds *** FAILED ***
[info]   0.8907081819159772 was not less than or equal to 0.890625 (QTreeTest.scala:80)

Looks like the true quantiles are not always in the bound (though this error is very small). May need to revisit this test.

/cc @avibryant

johnynek commented 9 years ago

Also this one:

[info] - should work as an aggregator for doubles with a small stream *** FAILED ***
[info]   Intersection(InclusiveLower(4.0),InclusiveUpper(4.0000152587890625)) did not contain 5.0 (QTreeTest.scala:114)
enricoap commented 3 years ago

Is this issue still open? The test seems to work fine for me.