diff options
author | Yuri Gorshenin <y@maps.me> | 2016-04-07 19:36:14 +0300 |
---|---|---|
committer | Yuri Gorshenin <y@maps.me> | 2016-04-07 19:38:05 +0300 |
commit | dd53221117b42818902d3d91aa04814116545a7e (patch) | |
tree | 4651475f53bf1b3681e8d909621d8c6c0885f662 /search/search_quality | |
parent | 09494f5ede7934c1be71ea2fc699ed37d353c598 (diff) |
[search] Fixed rotten quality tests.
Diffstat (limited to 'search/search_quality')
-rw-r--r-- | search/search_quality/features_collector_tool/features_collector_tool.cpp | 2 | ||||
-rwxr-xr-x | search/search_quality/gen-samples.lisp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/search/search_quality/features_collector_tool/features_collector_tool.cpp b/search/search_quality/features_collector_tool/features_collector_tool.cpp index cb44c76742..d844d94ebd 100644 --- a/search/search_quality/features_collector_tool/features_collector_tool.cpp +++ b/search/search_quality/features_collector_tool/features_collector_tool.cpp @@ -76,7 +76,7 @@ void GetContents(istream & is, string & contents) bool Matches(Context & context, Sample::Result const & golden, search::Result const & actual) { - static double constexpr kEps = 2e-5; + static double constexpr kEps = 1e-4; if (actual.GetResultType() != Result::RESULT_FEATURE) return false; diff --git a/search/search_quality/gen-samples.lisp b/search/search_quality/gen-samples.lisp index a6271ffab2..bc843e4fd8 100755 --- a/search/search_quality/gen-samples.lisp +++ b/search/search_quality/gen-samples.lisp @@ -1,5 +1,5 @@ #| -exec /usr/local/bin/sbcl --noinform --quit --load $0 --end-toplevel-options "$@" +exec /usr/bin/env sbcl --noinform --quit --load "$0" --end-toplevel-options "$@" |# ;;; Silently loads :cl-json. |