We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06618d3 commit f1ee797Copy full SHA for f1ee797
bloomfilter/tests/bloomfilter-tests.hs
@@ -164,9 +164,10 @@ prop_calc_size_fpr_fpr proxy (FPR fpr) (NumEntries numEntries) =
164
-- Contrast with prop_calc_policy_fpr which does not do rounding to an
165
-- integer number of bits (it uses Double for bits per key), and thus can
166
-- use a very small tolerance.
167
- tolerance | fpr <= 0.01 = 1e-6
168
- | fpr <= 0.05 = 1e-5
169
- | fpr <= 0.5 = 1e-4
+ tolerance | fpr <= 1e-4 = 1e-7
+ | fpr <= 1e-3 = 1e-6
+ | fpr <= 1e-2 = 1e-5
170
+ | fpr <= 1e-1 = 1e-4
171
| otherwise = 1e-3
172
173
-- | Compare @sizeForBits@ against @falsePositiveRate@ with some tolerance for deviations
0 commit comments