Skip to content

Commit

Permalink
adj: consts for #43 #44 #45
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianGerloff committed Jan 5, 2024
1 parent c702c90 commit 1cf7895
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/utils/consts.py
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -47,12 +50,21 @@
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',
'date',
'authors',
'abstract',
'keywords'
]

DEFAULT_HWORDS = [
'review',
'guideline',
'protocol',
]

0 comments on commit 1cf7895

Please sign in to comment.