From 5be52ad7589592a3d19862ad029f359d6c0352ea Mon Sep 17 00:00:00 2001 From: Andrey Bocharnikov Date: Sat, 12 Jun 2021 19:46:21 +0700 Subject: [PATCH] Fix binomial score --- stat_lib/stat_model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stat_lib/stat_model.cpp b/stat_lib/stat_model.cpp index e8e7eeb..c36a898 100644 --- a/stat_lib/stat_model.cpp +++ b/stat_lib/stat_model.cpp @@ -76,7 +76,7 @@ double StatModel::binom_by_hash(uint32_t hash, uint16_t k, double max_score) con } } - if (base_log + 10 < max_score) { + if (base_log + 500 < max_score) { return base_log; } // 2. find result