forked from PREreview/rapid-prereview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.js
277 lines (253 loc) · 6.38 KB
/
constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
// See https://github.com/PREreview/rapid-prereview/issues/6
// When possible questions are written so that yes means "the preprint is good"
export const QUESTIONS = [
{
identifier: 'ynNovel',
question: 'Are the findings novel?',
help:
'In your judgement, does the manuscript have information that has not been previously known or published?',
type: 'YesNoQuestion',
required: true
},
{
identifier: 'ynFuture',
question: 'Are the results likely to lead to future research?',
help:
'Do the data, findings, or analysis point to clear directions for additional research?',
type: 'YesNoQuestion',
required: true
},
{
identifier: 'ynReproducibility',
question:
'Is sufficient detail provided to allow reproduction of the study?',
type: 'YesNoQuestion',
required: true
},
{
identifier: 'cRelevance',
question: 'Editorial comments on novelty, importance, relevance',
type: 'Question',
required: false
},
{
identifier: 'ynMethods',
question: 'Are the methods and statistics appropriate for the analysis?',
type: 'YesNoQuestion',
required: true
},
{
identifier: 'ynCoherent',
question:
'Are the principal conclusions supported by the data and analysis?',
help:
'Is there sufficient evidence to support the key findings of the manuscript?',
type: 'YesNoQuestion',
required: true
},
{
identifier: 'ynLimitations',
question: 'Does the manuscript discuss limitations?',
help: 'Are the most important limitations clearly presented?',
type: 'YesNoQuestion',
required: true
},
{
identifier: 'ynEthics',
question: 'Have the authors adequately discussed ethical concerns?',
help:
'For example, if a human study, is Institutional Review Board (IRB) approval presented?',
type: 'YesNoQuestion',
required: true
},
{
identifier: 'cMethods',
question: 'Technical comments on methods, data, limitations',
type: 'Question',
required: false
},
{
identifier: 'ynNewData',
question: 'Does the manuscript include new data?',
help: 'Were data collected or made available specifically for this study?',
type: 'YesNoQuestion',
required: true
},
{
identifier: 'ynAvailableData', // DO NOT CHANGE THIS IS USED IN THE INDEX (or update everywhere)
indexed: true,
question: 'Are the data used in the manuscript available?',
help:
'In the paper, supplement, on a public repository, or from a cited source?',
type: 'YesNoQuestion',
required: true
},
{
identifier: 'ynAvailableCode', // DO NOT CHANGE THIS IS USED IN THE INDEX (or update everywhere)
indexed: true,
question: 'Is the code used in the manuscript available?',
help:
'In the paper, supplement, on a public repository, or from a cited source?',
type: 'YesNoQuestion',
required: true
},
{
identifier: 'ynRecommend',
question: 'Would you recommend this manuscript to others?',
help:
'Consider any possible audience: scientists in the same field or others, policy makers, the public, etc.',
type: 'YesNoQuestion',
required: true
},
{
identifier: 'ynPeerReview',
question: 'Do you recommend this manuscript for peer review?',
help:
'Would you recommend this manuscript to a journal editor for formal peer review?',
type: 'YesNoQuestion',
required: true
},
];
export const INDEXED_PREPRINT_PROPS = [
'@id',
'@type',
'doi',
'arXivId',
'url',
'name',
'preprintServer',
'datePosted',
'encoding'
];
// See https://github.com/PREreview/rapid-prereview/issues/10
export const DISEASES = [
{
name: 'Chikungunya',
priority: 'orange'
},
{
name: 'Cholera',
priority: 'yellow'
},
{
name: 'Crimean-Congo hemorrhagic fever',
alternateName: 'CCHF',
priority: 'red'
},
{
name: 'Dengue',
priority: 'yellow'
},
{
name: 'Ebola',
priority: 'red'
},
{
name: 'Hendra',
priority: 'red'
},
{
name: 'Human immunodeficiency virus',
alternateName: 'HIV',
priority: 'yellow'
},
{
name: 'Influenza',
priority: 'yellow'
},
{
name: 'Lassa',
priority: 'red'
},
{
name: 'Leishmaniasis',
priority: 'yellow'
},
{
name: 'Malaria',
priority: 'yellow'
},
{
name: 'Marburg',
priority: 'red'
},
{
name: 'Measles',
priority: 'yellow'
},
{
name: 'Middle East respiratory syndrome',
alternateName: 'MERS',
priority: 'red'
},
{
name: 'Nipah',
priority: 'red'
},
{
name: '2019 novel coronavirus',
alternateName: '2019-nCoV',
priority: 'red'
},
{
name: 'Plague',
priority: 'yellow'
},
{
name: 'Rift Valley fever',
alternateName: 'RVF',
priority: 'red'
},
{
name: 'Severe Acute Respiratory Syndrome',
alternateName: 'SARS',
priority: 'red'
},
{
name: 'Severe Fever with Thrombocytopenia Syndrome',
alternateName: 'SFTS',
priority: 'orange'
},
{
name: 'Smallpox',
priority: 'yellow'
},
{
name: 'Tuberculosis',
priority: 'yellow'
},
{
name: 'West Nile Virus',
priority: 'yellow'
},
{
name: 'Yellow fever',
priority: 'yellow'
},
{
name: 'Zika',
priority: 'red'
}
];
// messaging for the web extension
export const CHECK_SESSION_COOKIE = 'CHECK_SESSION_COOKIE';
export const SESSION_COOKIE_CHANGED = 'SESSION_COOKIE_CHANGED';
export const CHECK_PREPRINT = 'CHECK_PREPRINT';
export const SESSION_COOKIE = 'SESSION_COOKIE';
export const PREPRINT = 'PREPRINT';
export const ACTION_COUNTS = 'ACTION_COUNTS';
export const TOGGLE_SHELL_TAB = 'TOGGLE_SHELL_TAB';
export const HISTORY_STATE_UPDATED = 'HISTORY_STATE_UPDATED';
export const CONTACT_EMAIL_HREF = 'mailto:outbreaksci@prereview.org';
export const SENDER_EMAIL_HREF = 'mailto:notifications@prereview.org';
export const PRODUCTION_DOMAIN = 'https://outbreaksci.prereview.org'; // 'https://rapid-prereview.azurewebsites.net';
export const CSS_HEADER_HEIGHT = 72;
export const CSS_SCOPE_ID = 'rpos-ext'; // keep in sync with webpack-extension.config.js
export const ORG = 'Outbreak Science Rapid PREreview';
export const ADMIN_ORCIDS = [
'0000-0002-3708-3546', // Sam
'0000-0002-6109-0367', // Daniela
'0000-0002-5090-7722', // Michael
'0000-0002-2223-4735', // Sebastien (temporary to test the admin features)
'0000-0002-7585-0507' //Erik
];