From 1cf7895c171ab125a94a40c824abccf0d2c34283 Mon Sep 17 00:00:00 2001 From: Christan Gerloff Date: Fri, 5 Jan 2024 22:06:27 +0800 Subject: [PATCH] adj: consts for #43 #44 #45 --- src/utils/consts.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/utils/consts.py b/src/utils/consts.py index 8321fa2..1f1cd3f 100644 --- a/src/utils/consts.py +++ b/src/utils/consts.py @@ -1,11 +1,14 @@ """Defines constants used in the project.""" +DUPLICATION_DEFAULT_SLIDER = 0.9 DUPLICATION_MIN_SLIDER = 0.75 DUPLICATION_MAX_SLIDER = 1.0 DUPLICATION_STEP_SLIDER = 0.01 +CITE_MIN_NUM = 0 +CITE_MAX_NUM = 1000 RESULTS_MIN_SLIDER = 1 RESULTS_MAX_SLIDER = 1000 -RESULTS_DEFAULT_SLIDER = 10 +RESULTS_DEFAULT_SLIDER = 100 AVAILABLE_DATABASES = [ "ACM", "arXiv", @@ -47,7 +50,10 @@ HELP_SEARCH_STRING = ( "[term a] OR ([term b] AND ([term c] OR [term d]" ) - +HELP_LEFTJOIN = ( + "If selected, all search publications of the initial search will be included " + "in the final results even if they are not found in the new search." +) ORDER_SEARCH_RESULTS = [ 'title', 'journal_name', @@ -55,4 +61,10 @@ 'authors', 'abstract', 'keywords' +] + +DEFAULT_HWORDS = [ + 'review', + 'guideline', + 'protocol', ] \ No newline at end of file