qa_server 7.5.1 → 7.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop_fixme.yml +0 -3
  3. data/.travis.yml +1 -1
  4. data/CHANGELOG.md +7 -0
  5. data/app/controllers/qa_server/monitor_status_controller.rb +3 -3
  6. data/app/models/qa_server/search_scenario.rb +6 -0
  7. data/app/presenters/qa_server/monitor_status/current_status_presenter.rb +9 -8
  8. data/app/views/qa_server/monitor_status/_test_summary.html.erb +1 -1
  9. data/config/locales/qa_server.en.yml +1 -0
  10. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json +24 -14
  11. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_ulan_ld4l_cache.json +104 -8
  12. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo2_ld4l_cache.json +4 -4
  13. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo3_ld4l_cache.json +4 -4
  14. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo_ld4l_cache.json +4 -4
  15. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_direct.json +4 -0
  16. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_ld4l_cache.json +1 -0
  17. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/cerl_ld4l_cache_validation.yml +5 -5
  18. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_ld4l_cache_validation.yml +2 -5
  19. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_aat_ld4l_cache_validation.yml +0 -3
  20. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_tgn_ld4l_cache_validation.yml +3 -7
  21. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_ulan_ld4l_cache_validation.yml +5 -5
  22. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml +0 -4
  23. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml +0 -9
  24. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml +1 -7
  25. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo2_ld4l_cache_validation.yml +78 -0
  26. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo3_ld4l_cache_validation.yml +73 -0
  27. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo_ld4l_cache_validation.yml +11 -11
  28. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml +1 -3
  29. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locvocabs_ld4l_cache_validation.yml +246 -0
  30. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/mesh_nlm_ld4l_cache_validation.yml +8 -5
  31. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_direct_validation.yml +13 -7
  32. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_ld4l_cache_validation.yml +19 -3
  33. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/rda_registry_ld4l_cache_validation.yml +0 -3
  34. data/lib/qa_server/version.rb +1 -1
  35. data/qa_server.gemspec +5 -5
  36. data/spec/feature/accuracy_spec.rb +1 -1
  37. metadata +32 -12
@@ -19,8 +19,9 @@ search:
19
19
  query: 'mark twain'
20
20
  subauth: organization
21
21
  -
22
- query: 'twain'
22
+ query: 'waterman'
23
23
  subauth: family
24
+ result_size: 100
24
25
  #------------------
25
26
  # Accuracy tests - Part 1 (1-9)
26
27
  #------------------
@@ -32,50 +33,49 @@ search:
32
33
  replacements:
33
34
  maxRecords: '10'
34
35
  -
35
- pending: true
36
36
  query: Camden, William
37
37
  subauth: person
38
- position: 10
38
+ position: 5
39
39
  subject_uri: "http://id.loc.gov/rwo/agents/n50031528"
40
40
  replacements:
41
- maxRecords: '20'
41
+ maxRecords: '10'
42
42
  -
43
43
  query: King Stephen 1947
44
44
  subauth: person
45
45
  position: 5
46
46
  subject_uri: "http://id.loc.gov/rwo/agents/n79063767"
47
47
  replacements:
48
- maxRecords: '20'
48
+ maxRecords: '10'
49
49
  -
50
50
  query: Tweedy, Jeff
51
51
  subauth: person
52
52
  position: 5
53
53
  subject_uri: "http://id.loc.gov/rwo/agents/no98126226"
54
54
  replacements:
55
- maxRecords: '20'
55
+ maxRecords: '10'
56
56
  -
57
57
  query: Tanaka, Shōzō
58
58
  subauth: person
59
59
  position: 5
60
60
  subject_uri: "http://id.loc.gov/rwo/agents/n81047749"
61
61
  replacements:
62
- maxRecords: '20'
62
+ maxRecords: '10'
63
63
  -
64
- pending: true
65
64
  query: Tanaka, Shozo
66
65
  subauth: person
67
66
  position: 5
68
67
  subject_uri: "http://id.loc.gov/rwo/agents/n81047749"
69
68
  replacements:
70
- maxRecords: '20'
69
+ maxRecords: '10'
71
70
  -
72
71
  query: 田中正造
73
72
  subauth: person
74
73
  position: 5
75
74
  subject_uri: "http://id.loc.gov/rwo/agents/n81047749"
76
75
  replacements:
77
- maxRecords: '20'
76
+ maxRecords: '10'
78
77
  -
78
+ # The ʼ diacritic in ʼEndālagétā Kabada can't simply be removed; it would change the letter in the search.
79
79
  pending: true
80
80
  query: Endalageta Kabada
81
81
  subauth: person
@@ -89,7 +89,7 @@ search:
89
89
  position: 5
90
90
  subject_uri: "http://id.loc.gov/rwo/agents/no2003094541"
91
91
  replacements:
92
- maxRecords: '20'
92
+ maxRecords: '10'
93
93
  term:
94
94
  -
95
95
  identifier: 'http://id.loc.gov/rwo/agents/n79021164'
@@ -12,7 +12,6 @@ search:
12
12
  # Accuracy tests
13
13
  #------------------
14
14
  -
15
- pending: true
16
15
  query: Guitar music (Heavy metal) # example of LCSH with parentheses
17
16
  position: 10
18
17
  subject_uri: "http://id.loc.gov/authorities/subjects/sh85059850"
@@ -31,12 +30,11 @@ search:
31
30
  replacements:
32
31
  maxRecords: '20'
33
32
  -
34
- pending: true
35
33
  query: History
36
34
  position: 5
37
35
  subject_uri: "http://id.loc.gov/authorities/subjects/sh85061212"
38
36
  replacements:
39
- maxRecords: '20'
37
+ maxRecords: '10'
40
38
  term:
41
39
  -
42
40
  identifier: 'http://id.loc.gov/authorities/subjects/sh2003008312'
@@ -6,6 +6,9 @@ authority:
6
6
  service: ld4l_cache
7
7
  context: false
8
8
  search:
9
+ #------------------
10
+ # Connection tests
11
+ #------------------
9
12
  -
10
13
  query: audio
11
14
  subauth: carriers
@@ -182,3 +185,246 @@ search:
182
185
  query: sound
183
186
  subauth: resource_components
184
187
  result_size: 100
188
+ #------------------
189
+ # Accuracy tests
190
+ #------------------
191
+ -
192
+ query: audio
193
+ subauth: carriers
194
+ position: 4
195
+ subject_uri: "http://id.loc.gov/vocabulary/carriers/sq"
196
+ -
197
+ query: image
198
+ subauth: content_types
199
+ position: 4
200
+ subject_uri: "http://id.loc.gov/vocabulary/contentTypes/sti"
201
+ -
202
+ query: rare books
203
+ subauth: description_conventions
204
+ position: 4
205
+ subject_uri: "http://id.loc.gov/vocabulary/descriptionConventions/bdrb"
206
+ -
207
+ query: daily
208
+ subauth: frequencies
209
+ position: 4
210
+ subject_uri: "http://id.loc.gov/vocabulary/frequencies/dyl"
211
+ -
212
+ query: serial
213
+ subauth: issuance
214
+ position: 4
215
+ subject_uri: "http://id.loc.gov/vocabulary/issuance/serl"
216
+ -
217
+ query: ISSN
218
+ subauth: marcauthen
219
+ position: 4
220
+ subject_uri: "http://id.loc.gov/vocabulary/marcauthen/isdsc"
221
+ -
222
+ query: full
223
+ subauth: maspect
224
+ position: 4
225
+ subject_uri: "http://id.loc.gov/vocabulary/maspect/full"
226
+ -
227
+ query: general
228
+ subauth: maudience
229
+ position: 4
230
+ subject_uri: "http://id.loc.gov/vocabulary/maudience/gen"
231
+ -
232
+ query: pal
233
+ subauth: mbroadstd
234
+ position: 4
235
+ subject_uri: "http://id.loc.gov/vocabulary/mbroadstd/pal"
236
+ -
237
+ query: electrical
238
+ subauth: mcapturestorage
239
+ position: 4
240
+ subject_uri: "http://id.loc.gov/vocabulary/mcapturestorage/dist"
241
+ -
242
+ query: gray
243
+ subauth: mcolor
244
+ position: 4
245
+ subject_uri: "http://id.loc.gov/vocabulary/mcolor/gry"
246
+ -
247
+ query: video
248
+ subauth: media_types
249
+ position: 4
250
+ subject_uri: "http://id.loc.gov/vocabulary/mediaTypes/v"
251
+ -
252
+ query: dvd
253
+ subauth: mencformat
254
+ position: 4
255
+ subject_uri: "http://id.loc.gov/vocabulary/mencformat/dvdv"
256
+ -
257
+ query: core
258
+ subauth: menclvl
259
+ position: 4
260
+ subject_uri: "http://id.loc.gov/vocabulary/menclvl/4"
261
+ -
262
+ query: data
263
+ subauth: mfiletype
264
+ position: 4
265
+ subject_uri: "http://id.loc.gov/vocabulary/mfiletype/data"
266
+ -
267
+ query: print
268
+ subauth: mfont
269
+ position: 4
270
+ subject_uri: "http://id.loc.gov/vocabulary/mfont/lp"
271
+ -
272
+ query: original
273
+ subauth: mgeneration
274
+ position: 4
275
+ subject_uri: "http://id.loc.gov/vocabulary/mgeneration/originalneg"
276
+ -
277
+ query: state
278
+ subauth: mgovtpubtype
279
+ position: 4
280
+ subject_uri: "http://id.loc.gov/vocabulary/mgovtpubtype/s"
281
+ -
282
+ query: fine
283
+ subauth: mgroove
284
+ position: 4
285
+ subject_uri: "http://id.loc.gov/vocabulary/mgroove/finepitch"
286
+ -
287
+ query: music
288
+ subauth: millus
289
+ position: 4
290
+ subject_uri: "http://id.loc.gov/vocabulary/millus/mus"
291
+ -
292
+ query: paragraph
293
+ subauth: mlayout
294
+ position: 4
295
+ subject_uri: "http://id.loc.gov/vocabulary/mlayout/para"
296
+ -
297
+ query: vinyl
298
+ subauth: mmaterial
299
+ position: 4
300
+ subject_uri: "http://id.loc.gov/vocabulary/mmaterial/vny"
301
+ -
302
+ query: score
303
+ subauth: mmusicformat
304
+ position: 4
305
+ subject_uri: "http://id.loc.gov/vocabulary/mmusicformat/pianoscore"
306
+ -
307
+ query: tablature
308
+ subauth: mmusnotation
309
+ position: 4
310
+ subject_uri: "http://id.loc.gov/vocabulary/mmusnotation/tabla"
311
+ -
312
+ query: mixed
313
+ subauth: mplayback
314
+ position: 4
315
+ subject_uri: "http://id.loc.gov/vocabulary/mplayback/mix"
316
+ -
317
+ query: 160
318
+ subauth: mplayspeed
319
+ position: 4
320
+ subject_uri: "http://id.loc.gov/vocabulary/mplayspeed/i"
321
+ -
322
+ query: negative
323
+ subauth: mpolarity
324
+ position: 4
325
+ subject_uri: "http://id.loc.gov/vocabulary/mpolarity/neg"
326
+ -
327
+ query: multiscreen
328
+ subauth: mpresformat
329
+ position: 4
330
+ subject_uri: "http://id.loc.gov/vocabulary/mpresformat/mscreen"
331
+ -
332
+ query: etching
333
+ subauth: mproduction
334
+ position: 4
335
+ subject_uri: "http://id.loc.gov/vocabulary/mproduction/etch"
336
+ -
337
+ query: miller
338
+ subauth: mprojection
339
+ position: 4
340
+ subject_uri: "http://id.loc.gov/vocabulary/mprojection/de"
341
+ -
342
+ query: isbd
343
+ subauth: mpunctuation_conventions
344
+ position: 4
345
+ subject_uri: "http://id.loc.gov/vocabulary/mpunctuationConventions/isbd"
346
+ -
347
+ query: optical
348
+ subauth: mrecmedium
349
+ position: 4
350
+ subject_uri: "http://id.loc.gov/vocabulary/mrecmedium/opt"
351
+ -
352
+ query: analog
353
+ subauth: mrectype
354
+ position: 4
355
+ subject_uri: "http://id.loc.gov/vocabulary/mrectype/analog"
356
+ -
357
+ query: high
358
+ subauth: mreductionratio
359
+ position: 4
360
+ subject_uri: "http://id.loc.gov/vocabulary/mreductionratio/veryhigh"
361
+ -
362
+ query: region 8
363
+ subauth: mregencoding
364
+ position: 4
365
+ subject_uri: "http://id.loc.gov/vocabulary/mregencoding/region8"
366
+ -
367
+ query: land
368
+ subauth: mrelief
369
+ position: 4
370
+ subject_uri: "http://id.loc.gov/vocabulary/mrelief/land"
371
+ -
372
+ query: scale
373
+ subauth: mscale
374
+ position: 4
375
+ subject_uri: "http://id.loc.gov/vocabulary/mscale/notdrawn"
376
+ -
377
+ query: chinese
378
+ subauth: mscript
379
+ position: 4
380
+ subject_uri: "http://id.loc.gov/vocabulary/mscript/e"
381
+ -
382
+ query: silent
383
+ subauth: msoundcontent
384
+ position: 4
385
+ subject_uri: "http://id.loc.gov/vocabulary/msoundcontent/silent"
386
+ -
387
+ query: audio
388
+ subauth: mspecplayback
389
+ position: 4
390
+ subject_uri: "http://id.loc.gov/vocabulary/mspecplayback/dtshd51"
391
+ -
392
+ query: invalid
393
+ subauth: mstatus
394
+ position: 4
395
+ subject_uri: "http://id.loc.gov/vocabulary/mstatus/cancinv"
396
+ -
397
+ query: index
398
+ subauth: msupplcont
399
+ position: 4
400
+ subject_uri: "http://id.loc.gov/vocabulary/msupplcont/thematicindex"
401
+ -
402
+ query: braille
403
+ subauth: mtactile
404
+ position: 4
405
+ subject_uri: "http://id.loc.gov/vocabulary/mtactile/math"
406
+ -
407
+ query: half
408
+ subauth: mtapeconfig
409
+ position: 4
410
+ subject_uri: "http://id.loc.gov/vocabulary/mtapeconfig/half"
411
+ -
412
+ query: action
413
+ subauth: mtechnique
414
+ position: 4
415
+ subject_uri: "http://id.loc.gov/vocabulary/mtechnique/animlive"
416
+ -
417
+ query: laser
418
+ subauth: mvidformat
419
+ position: 4
420
+ subject_uri: "http://id.loc.gov/vocabulary/mvidformat/laser"
421
+ -
422
+ query: actor
423
+ subauth: relators
424
+ position: 4
425
+ subject_uri: "http://id.loc.gov/vocabulary/relators/vac"
426
+ -
427
+ query: sound
428
+ subauth: resource_components
429
+ position: 4
430
+ subject_uri: "http://id.loc.gov/vocabulary/resourceComponents/str"
@@ -14,10 +14,6 @@ search:
14
14
  -
15
15
  query: Malignant Hyperthermia
16
16
  subauth: subject
17
- -
18
- query: Spain
19
- subauth: subject
20
- result_size: 75
21
17
  -
22
18
  query: Address
23
19
  subauth: publication_type
@@ -26,7 +22,6 @@ search:
26
22
  # Accuracy tests
27
23
  #------------------
28
24
  -
29
- pending: true
30
25
  query: Malignant Hyperthermia
31
26
  subject_uri: "http://id.nlm.nih.gov/mesh/D008305"
32
27
  position: 3
@@ -47,6 +42,14 @@ search:
47
42
  position: 3
48
43
  replacements:
49
44
  maxRecords: '8'
45
+ -
46
+ pending: true
47
+ query: Spain
48
+ subauth: subject
49
+ subject_uri: "http://id.nlm.nih.gov/mesh/D013030"
50
+ position: 3
51
+ replacements:
52
+ maxRecords: '8'
50
53
  -
51
54
  pending: true
52
55
  query: Email
@@ -26,12 +26,13 @@ search:
26
26
  replacements:
27
27
  maxRecords: '4'
28
28
  # -
29
- # query: War
29
+ # # This is an event at OCLCFAST web-search, but a meeting through OCLCFAST API.
30
+ # query: Bronze Night
30
31
  # subauth: event_name
31
32
  # replacements:
32
33
  # maxRecords: '4'
33
34
  -
34
- query: Festival
35
+ query: convention
35
36
  subauth: meeting
36
37
  replacements:
37
38
  maxRecords: '4'
@@ -71,7 +72,6 @@ search:
71
72
  replacements:
72
73
  maxRecords: '5'
73
74
  -
74
- pending: true
75
75
  query: Sleep-overs
76
76
  subauth: concept
77
77
  subject_uri: "http://id.worldcat.org/fast/1120873"
@@ -79,6 +79,7 @@ search:
79
79
  replacements:
80
80
  maxRecords: '10'
81
81
  -
82
+ # This is a meeting in OCLCFAST_DIRECT, but event in OCLCFAST_LD4L_CACHE.
82
83
  pending: true
83
84
  query: People's International Tribunal on the Rights of Indigenous Hawaiians
84
85
  subauth: event
@@ -86,6 +87,13 @@ search:
86
87
  position: 3
87
88
  replacements:
88
89
  maxRecords: '8'
90
+ -
91
+ query: Science Fiction
92
+ subauth: meeting
93
+ subject_uri: "http://id.worldcat.org/fast/1406163"
94
+ position: 5
95
+ replacements:
96
+ maxRecords: '10'
89
97
  -
90
98
  pending: true
91
99
  query: University of Chicago Library
@@ -102,7 +110,6 @@ search:
102
110
  replacements:
103
111
  maxRecords: '20'
104
112
  -
105
- pending: true
106
113
  query: Sjælland
107
114
  subauth: place
108
115
  result_size: 190
@@ -111,13 +118,12 @@ search:
111
118
  replacements:
112
119
  maxRecords: '10'
113
120
  -
114
- pending: true
115
121
  query: Scream
116
122
  subauth: work
117
123
  subject_uri: "http://id.worldcat.org/fast/1358031"
118
- position: 5
124
+ position: 10
119
125
  replacements:
120
- maxRecords: '10'
126
+ maxRecords: '20'
121
127
  term:
122
128
  -
123
129
  identifier: '1914919'