@webex/internal-plugin-locus 3.0.0-beta.2 → 3.0.0-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,694 +1,522 @@
1
1
  {
2
2
  "version": "1.0",
3
- "sequences": {
4
- "seq0": {
5
- "entries": [],
6
- "rangeEnd":0,
7
- "rangeStart":0
8
- },
9
- "seq1": {
10
- "entries": [
11
- 259005341176400
12
- ],
13
- "rangeEnd":0,
14
- "rangeStart":0
15
- },
16
- "seq1b": {
17
- "entries": [
18
- ],
19
- "rangeEnd":259005341176383,
20
- "rangeStart":259005341176380
21
- },
22
- "seq1c": {
23
- "entries": [
24
- 259005341176400
25
- ],
26
- "rangeEnd":259005341176383,
27
- "rangeStart":259005341176380
28
- },
29
- "seq2": {
30
- "entries": [
31
- 259005341176400,
32
- 259005341176402,
33
- 259005341176404,
34
- 259005341176406,
35
- 259005341176408,
36
- 259005341176410,
37
- 259005341176412,
38
- 259005341176414,
39
- 259005341176416,
40
- 259005341176418
41
- ],
42
- "rangeEnd":0,
43
- "rangeStart":0
44
- },
45
- "seq2b": {
46
- "entries": [
47
- 259005341176402,
48
- 259005341176404,
49
- 259005341176406,
50
- 259005341176408,
51
- 259005341176410,
52
- 259005341176412,
53
- 259005341176414,
54
- 259005341176416,
55
- 259005341176418
56
- ],
57
- "rangeEnd":259005341176383,
58
- "rangeStart":259005341176381
59
- },
60
- "seq3": {
61
- "entries": [
62
- 259005341176400,
63
- 259005341176402,
64
- 259005341176404,
65
- 259005341176406,
66
- 259005341176408,
67
- 259005341176410,
68
- 259005341176412,
69
- 259005341176414,
70
- 259005341176416,
71
- 259005341176418
72
- ],
73
- "rangeEnd":259005341176383,
74
- "rangeStart":259005341176380
75
- },
76
- "seq3b": {
77
- "entries": [
78
- 259005341176402,
79
- 259005341176404,
80
- 259005341176406,
81
- 259005341176408,
82
- 259005341176410,
83
- 259005341176412,
84
- 259005341176414,
85
- 259005341176416,
86
- 259005341176418
87
- ],
88
- "rangeEnd":0,
89
- "rangeStart":0
90
- },
91
- "seq3c": {
92
- "entries": [
93
- 259005341176400,
94
- 259005341176402,
95
- 259005341176404,
96
- 259005341176406,
97
- 259005341176408,
98
- 259005341176410,
99
- 259005341176412,
100
- 259005341176414,
101
- 259005341176416,
102
- 259005341176418
103
- ],
104
- "rangeEnd":259005341176383,
105
- "rangeStart":259005341176381
106
- },
107
- "seq3d": {
108
- "entries": [
109
- 259005341176402,
110
- 259005341176404,
111
- 259005341176406,
112
- 259005341176408,
113
- 259005341176410,
114
- 259005341176412,
115
- 259005341176414,
116
- 259005341176416,
117
- 259005341176418,
118
- 259005341176420,
119
- 259005341176422
120
- ],
121
- "rangeEnd":0,
122
- "rangeStart":0
123
- },
124
- "seq3e": {
125
- "entries": [
126
- 259005341176400,
127
- 259005341176402,
128
- 259005341176404,
129
- 259005341176406,
130
- 259005341176408,
131
- 259005341176410,
132
- 259005341176412,
133
- 259005341176414,
134
- 259005341176416,
135
- 259005341176418,
136
- 259005341176420,
137
- 259005341176422
138
- ],
139
- "rangeEnd":259005341176383,
140
- "rangeStart":259005341176381
141
- },
142
- "seq3f": {
143
- "entries": [
144
- 259005341176404,
145
- 259005341176406,
146
- 259005341176408,
147
- 259005341176410,
148
- 259005341176412,
149
- 259005341176414,
150
- 259005341176416,
151
- 259005341176418,
152
- 259005341176420,
153
- 259005341176422,
154
- 259005341176424,
155
- 259005341176426
156
- ],
157
- "rangeEnd":0,
158
- "rangeStart":0
159
- },
160
- "seq3g": {
161
- "entries": [
162
- 259005341176400,
163
- 259005341176402,
164
- 259005341176404,
165
- 259005341176406,
166
- 259005341176408,
167
- 259005341176410,
168
- 259005341176412,
169
- 259005341176414
170
- ],
171
- "rangeEnd":259005341176383,
172
- "rangeStart":259005341176370
173
- },
174
- "seq4": {
175
- "entries": [
176
- 259005341176400,
177
- 259005341176402,
178
- 259005341176404,
179
- 259005341176405,
180
- 259005341176406,
181
- 259005341176408,
182
- 259005341176410,
183
- 259005341176412,
184
- 259005341176414,
185
- 259005341176416,
186
- 259005341176418
187
- ],
188
- "rangeEnd":259005341176383,
189
- "rangeStart":259005341176380
190
- },
191
- "seq4b": {
192
- "entries": [
193
- 259005341176400,
194
- 259005341176402,
195
- 259005341176404,
196
- 259005341176405,
197
- 259005341176406,
198
- 259005341176408,
199
- 259005341176410,
200
- 259005341176412,
201
- 259005341176414,
202
- 259005341176416,
203
- 259005341176418
204
- ],
205
- "rangeEnd":0,
206
- "rangeStart":0
207
- },
208
- "seq4c": {
209
- "entries": [
210
- 259005341176400,
211
- 259005341176402,
212
- 259005341176406,
213
- 259005341176407,
214
- 259005341176408,
215
- 259005341176410,
216
- 259005341176412,
217
- 259005341176414,
218
- 259005341176416
219
- ],
220
- "rangeEnd":259005341176383,
221
- "rangeStart":259005341176380
222
- },
223
- "seq4d": {
224
- "entries": [
225
- 259005341176400,
226
- 259005341176402,
227
- 259005341176404,
228
- 259005341176405,
229
- 259005341176406,
230
- 259005341176408,
231
- 259005341176410,
232
- 259005341176412,
233
- 259005341176414,
234
- 259005341176416,
235
- 259005341176417
236
- ],
237
- "rangeEnd":0,
238
- "rangeStart":0
239
- },
240
- "seq4e": {
241
- "entries": [
242
- 259005341176400,
243
- 259005341176402,
244
- 259005341176404,
245
- 259005341176405,
246
- 259005341176406,
247
- 259005341176408,
248
- 259005341176410,
249
- 259005341176412,
250
- 259005341176414,
251
- 259005341176416,
252
- 259005341176417
253
- ],
254
- "rangeEnd":259005341176383,
255
- "rangeStart":259005341176380
256
- },
257
- "seq4f": {
258
- "entries": [
259
- 259005341176400,
260
- 259005341176402,
261
- 259005341176404,
262
- 259005341176405,
263
- 259005341176406,
264
- 259005341176408,
265
- 259005341176410,
266
- 259005341176412,
267
- 259005341176414,
268
- 259005341176416,
269
- 259005341176418
270
- ],
271
- "rangeEnd":259005341176380,
272
- "rangeStart":259005341176380,
273
- "note":"rangeStart equals rangeEnd"
274
- },
275
- "seq4g": {
276
- "entries": [
277
- 259005341176400,
278
- 259005341176402,
279
- 259005341176404,
280
- 259005341176405,
281
- 259005341176406,
282
- 259005341176408,
283
- 259005341176410,
284
- 259005341176412,
285
- 259005341176414,
286
- 259005341176416,
287
- 259005341176418,
288
- 259005341176420,
289
- 259005341176422
290
- ],
291
- "rangeEnd":259005341176383,
292
- "rangeStart":259005341176380
293
- },
294
- "seq5": {
295
- "entries": [
296
- 259005341176700,
297
- 259005341176702,
298
- 259005341176704,
299
- 259005341176706,
300
- 259005341176708,
301
- 259005341176710,
302
- 259005341176712,
303
- 259005341176714,
304
- 259005341176716,
305
- 259005341176718
306
- ],
307
- "rangeEnd":0,
308
- "rangeStart":0
309
- },
310
- "seq5b": {
311
- "entries": [
312
- 259005341176700,
313
- 259005341176702,
314
- 259005341176704,
315
- 259005341176706,
316
- 259005341176708,
317
- 259005341176710,
318
- 259005341176712,
319
- 259005341176714,
320
- 259005341176716,
321
- 259005341176718
322
- ],
323
- "rangeEnd":259005341176600,
324
- "rangeStart":259005341176500
325
- },
326
- "seq5c": {
327
- "entries": [
328
- 259005341176700,
329
- 259005341176702,
330
- 259005341176704,
331
- 259005341176706,
332
- 259005341176708,
333
- 259005341176710,
334
- 259005341176712,
335
- 259005341176714,
336
- 259005341176716,
337
- 259005341176718
338
- ],
339
- "rangeEnd":259005341176418,
340
- "rangeStart":259005341176380
341
- },
342
- "seq5d": {
343
- "entries": [],
344
- "rangeEnd":259005341176418,
345
- "rangeStart":259005341176380,
346
- "note":"This sequence is not real as it has no entry but has range."
347
- },
348
- "seq5e": {
349
- "entries": [],
350
- "rangeEnd":259005341176418,
351
- "rangeStart":259005341176383,
352
- "note":"This sequence is not real as it has no entry but has range."
353
- },
354
- "seq5f": {
355
- "entries": [
356
- 259005341176700,
357
- 259005341176702,
358
- 259005341176704,
359
- 259005341176706,
360
- 259005341176708
361
- ],
362
- "rangeEnd":259005341176386,
363
- "rangeStart":259005341176381
364
- },
365
- "seq5g": {
366
- "entries": [
367
- 259005341176702,
368
- 259005341176704,
369
- 259005341176706,
370
- 259005341176708
371
- ],
372
- "rangeEnd":259005341176386,
373
- "rangeStart":259005341176381
374
- },
375
- "seq6": {
376
- "entries": [
377
- 259005341176400,
378
- 259005341176403,
379
- 259005341176406,
380
- 259005341176408,
381
- 259005341176412,
382
- 259005341176414,
383
- 259005341176418
384
- ],
385
- "rangeEnd":0,
386
- "rangeStart":0
387
- },
388
- "seq7": {
389
- "entries": [
390
- 259005341176818
391
- ],
392
- "rangeEnd":259005341176418,
393
- "rangeStart":259005341176380
394
- }
3
+ "sequences": {
4
+ "seq0": {
5
+ "entries": [],
6
+ "rangeEnd": 0,
7
+ "rangeStart": 0
395
8
  },
9
+ "seq1": {
10
+ "entries": [259005341176400],
11
+ "rangeEnd": 0,
12
+ "rangeStart": 0
13
+ },
14
+ "seq1b": {
15
+ "entries": [],
16
+ "rangeEnd": 259005341176383,
17
+ "rangeStart": 259005341176380
18
+ },
19
+ "seq1c": {
20
+ "entries": [259005341176400],
21
+ "rangeEnd": 259005341176383,
22
+ "rangeStart": 259005341176380
23
+ },
24
+ "seq2": {
25
+ "entries": [
26
+ 259005341176400, 259005341176402, 259005341176404, 259005341176406, 259005341176408,
27
+ 259005341176410, 259005341176412, 259005341176414, 259005341176416, 259005341176418
28
+ ],
29
+ "rangeEnd": 0,
30
+ "rangeStart": 0
31
+ },
32
+ "seq2b": {
33
+ "entries": [
34
+ 259005341176402, 259005341176404, 259005341176406, 259005341176408, 259005341176410,
35
+ 259005341176412, 259005341176414, 259005341176416, 259005341176418
36
+ ],
37
+ "rangeEnd": 259005341176383,
38
+ "rangeStart": 259005341176381
39
+ },
40
+ "seq3": {
41
+ "entries": [
42
+ 259005341176400, 259005341176402, 259005341176404, 259005341176406, 259005341176408,
43
+ 259005341176410, 259005341176412, 259005341176414, 259005341176416, 259005341176418
44
+ ],
45
+ "rangeEnd": 259005341176383,
46
+ "rangeStart": 259005341176380
47
+ },
48
+ "seq3b": {
49
+ "entries": [
50
+ 259005341176402, 259005341176404, 259005341176406, 259005341176408, 259005341176410,
51
+ 259005341176412, 259005341176414, 259005341176416, 259005341176418
52
+ ],
53
+ "rangeEnd": 0,
54
+ "rangeStart": 0
55
+ },
56
+ "seq3c": {
57
+ "entries": [
58
+ 259005341176400, 259005341176402, 259005341176404, 259005341176406, 259005341176408,
59
+ 259005341176410, 259005341176412, 259005341176414, 259005341176416, 259005341176418
60
+ ],
61
+ "rangeEnd": 259005341176383,
62
+ "rangeStart": 259005341176381
63
+ },
64
+ "seq3d": {
65
+ "entries": [
66
+ 259005341176402, 259005341176404, 259005341176406, 259005341176408, 259005341176410,
67
+ 259005341176412, 259005341176414, 259005341176416, 259005341176418, 259005341176420,
68
+ 259005341176422
69
+ ],
70
+ "rangeEnd": 0,
71
+ "rangeStart": 0
72
+ },
73
+ "seq3e": {
74
+ "entries": [
75
+ 259005341176400, 259005341176402, 259005341176404, 259005341176406, 259005341176408,
76
+ 259005341176410, 259005341176412, 259005341176414, 259005341176416, 259005341176418,
77
+ 259005341176420, 259005341176422
78
+ ],
79
+ "rangeEnd": 259005341176383,
80
+ "rangeStart": 259005341176381
81
+ },
82
+ "seq3f": {
83
+ "entries": [
84
+ 259005341176404, 259005341176406, 259005341176408, 259005341176410, 259005341176412,
85
+ 259005341176414, 259005341176416, 259005341176418, 259005341176420, 259005341176422,
86
+ 259005341176424, 259005341176426
87
+ ],
88
+ "rangeEnd": 0,
89
+ "rangeStart": 0
90
+ },
91
+ "seq3g": {
92
+ "entries": [
93
+ 259005341176400, 259005341176402, 259005341176404, 259005341176406, 259005341176408,
94
+ 259005341176410, 259005341176412, 259005341176414
95
+ ],
96
+ "rangeEnd": 259005341176383,
97
+ "rangeStart": 259005341176370
98
+ },
99
+ "seq4": {
100
+ "entries": [
101
+ 259005341176400, 259005341176402, 259005341176404, 259005341176405, 259005341176406,
102
+ 259005341176408, 259005341176410, 259005341176412, 259005341176414, 259005341176416,
103
+ 259005341176418
104
+ ],
105
+ "rangeEnd": 259005341176383,
106
+ "rangeStart": 259005341176380
107
+ },
108
+ "seq4b": {
109
+ "entries": [
110
+ 259005341176400, 259005341176402, 259005341176404, 259005341176405, 259005341176406,
111
+ 259005341176408, 259005341176410, 259005341176412, 259005341176414, 259005341176416,
112
+ 259005341176418
113
+ ],
114
+ "rangeEnd": 0,
115
+ "rangeStart": 0
116
+ },
117
+ "seq4c": {
118
+ "entries": [
119
+ 259005341176400, 259005341176402, 259005341176406, 259005341176407, 259005341176408,
120
+ 259005341176410, 259005341176412, 259005341176414, 259005341176416
121
+ ],
122
+ "rangeEnd": 259005341176383,
123
+ "rangeStart": 259005341176380
124
+ },
125
+ "seq4d": {
126
+ "entries": [
127
+ 259005341176400, 259005341176402, 259005341176404, 259005341176405, 259005341176406,
128
+ 259005341176408, 259005341176410, 259005341176412, 259005341176414, 259005341176416,
129
+ 259005341176417
130
+ ],
131
+ "rangeEnd": 0,
132
+ "rangeStart": 0
133
+ },
134
+ "seq4e": {
135
+ "entries": [
136
+ 259005341176400, 259005341176402, 259005341176404, 259005341176405, 259005341176406,
137
+ 259005341176408, 259005341176410, 259005341176412, 259005341176414, 259005341176416,
138
+ 259005341176417
139
+ ],
140
+ "rangeEnd": 259005341176383,
141
+ "rangeStart": 259005341176380
142
+ },
143
+ "seq4f": {
144
+ "entries": [
145
+ 259005341176400, 259005341176402, 259005341176404, 259005341176405, 259005341176406,
146
+ 259005341176408, 259005341176410, 259005341176412, 259005341176414, 259005341176416,
147
+ 259005341176418
148
+ ],
149
+ "rangeEnd": 259005341176380,
150
+ "rangeStart": 259005341176380,
151
+ "note": "rangeStart equals rangeEnd"
152
+ },
153
+ "seq4g": {
154
+ "entries": [
155
+ 259005341176400, 259005341176402, 259005341176404, 259005341176405, 259005341176406,
156
+ 259005341176408, 259005341176410, 259005341176412, 259005341176414, 259005341176416,
157
+ 259005341176418, 259005341176420, 259005341176422
158
+ ],
159
+ "rangeEnd": 259005341176383,
160
+ "rangeStart": 259005341176380
161
+ },
162
+ "seq5": {
163
+ "entries": [
164
+ 259005341176700, 259005341176702, 259005341176704, 259005341176706, 259005341176708,
165
+ 259005341176710, 259005341176712, 259005341176714, 259005341176716, 259005341176718
166
+ ],
167
+ "rangeEnd": 0,
168
+ "rangeStart": 0
169
+ },
170
+ "seq5b": {
171
+ "entries": [
172
+ 259005341176700, 259005341176702, 259005341176704, 259005341176706, 259005341176708,
173
+ 259005341176710, 259005341176712, 259005341176714, 259005341176716, 259005341176718
174
+ ],
175
+ "rangeEnd": 259005341176600,
176
+ "rangeStart": 259005341176500
177
+ },
178
+ "seq5c": {
179
+ "entries": [
180
+ 259005341176700, 259005341176702, 259005341176704, 259005341176706, 259005341176708,
181
+ 259005341176710, 259005341176712, 259005341176714, 259005341176716, 259005341176718
182
+ ],
183
+ "rangeEnd": 259005341176418,
184
+ "rangeStart": 259005341176380
185
+ },
186
+ "seq5d": {
187
+ "entries": [],
188
+ "rangeEnd": 259005341176418,
189
+ "rangeStart": 259005341176380,
190
+ "note": "This sequence is not real as it has no entry but has range."
191
+ },
192
+ "seq5e": {
193
+ "entries": [],
194
+ "rangeEnd": 259005341176418,
195
+ "rangeStart": 259005341176383,
196
+ "note": "This sequence is not real as it has no entry but has range."
197
+ },
198
+ "seq5f": {
199
+ "entries": [
200
+ 259005341176700, 259005341176702, 259005341176704, 259005341176706, 259005341176708
201
+ ],
202
+ "rangeEnd": 259005341176386,
203
+ "rangeStart": 259005341176381
204
+ },
205
+ "seq5g": {
206
+ "entries": [259005341176702, 259005341176704, 259005341176706, 259005341176708],
207
+ "rangeEnd": 259005341176386,
208
+ "rangeStart": 259005341176381
209
+ },
210
+ "seq6": {
211
+ "entries": [
212
+ 259005341176400, 259005341176403, 259005341176406, 259005341176408, 259005341176412,
213
+ 259005341176414, 259005341176418
214
+ ],
215
+ "rangeEnd": 0,
216
+ "rangeStart": 0
217
+ },
218
+ "seq7": {
219
+ "entries": [259005341176818],
220
+ "rangeEnd": 259005341176418,
221
+ "rangeStart": 259005341176380
222
+ }
223
+ },
396
224
  "comparisons": {
397
- "cmp1": {
398
- "current":"seq1",
399
- "new":"seq2",
400
- "result":"LESS_THAN",
401
- "description":"New seq has newer entries than current"
402
- },
403
- "cmp2": {
404
- "current":"seq2",
405
- "new":"seq2",
406
- "result":"EQUAL",
407
- "description":"Current and new seq are the same"
408
- },
409
- "cmp3": {
410
- "current":"seq2",
411
- "new":"seq3",
412
- "result":"LESS_THAN",
413
- "description":"Current has no range while new seq has a range. Both have same entries."
414
- },
415
- "cmp4": {
416
- "current":"seq3",
417
- "new":"seq4",
418
- "result":"LESS_THAN",
419
- "description":"New seq has a new entry, in middle of entries of current. Both have same range."
420
- },
421
- "cmp5": {
422
- "current":"seq3",
423
- "new":"seq2",
424
- "result":"GREATER_THAN",
425
- "description":"Current has a range while new seq has no range. Both have same entries."
426
- },
427
- "cmp6": {
428
- "current":"seq4",
429
- "new":"seq5",
430
- "result":"LESS_THAN",
431
- "description":"New seq is newer and has no overlap with current"
432
- },
433
- "cmp7": {
434
- "current":"seq2",
435
- "new":"seq6",
436
- "result":"DESYNC",
437
- "description":"Current has unique entry in between the entries of new seq. New seq also has unique entry in between the entries of current."
438
- },
439
- "cmp8": {
440
- "current":"seq4",
441
- "new":"seq7",
442
- "result":"LESS_THAN",
443
- "description":"New seq has an entry while its range cover min and max of current"
444
- },
445
- "cmp9": {
446
- "current":"seq1b",
447
- "new":"seq0",
448
- "result":"GREATER_THAN",
449
- "description":"New seq is empty while current has a range"
450
- },
451
- "cmp10": {
452
- "current":"seq4b",
453
- "new":"seq5",
454
- "result":"LESS_THAN",
455
- "description":"New seq is newer and has no overlap with current. Both have no range"
456
- },
457
- "cmp11": {
458
- "current":"seq4",
459
- "new":"seq5b",
460
- "result":"LESS_THAN",
461
- "description":"Both have range. New seq is newer and has no overlap with current."
462
- },
463
- "cmp12": {
464
- "current":"seq2",
465
- "new":"seq3b",
466
- "result":"GREATER_THAN",
467
- "description":"Current has an older entry than new seq. The rest are the same. Both have no range."
468
- },
469
- "cmp13": {
470
- "current":"seq3",
471
- "new":"seq3c",
472
- "result":"GREATER_THAN",
473
- "description":"Both current and new seq have same entries, while current has range start at an earlier time than new seq"
474
- },
475
- "cmp14": {
476
- "current":"seq3b",
477
- "new":"seq3d",
478
- "result":"LESS_THAN",
479
- "description":"New seq has additional new entries. Both have no range."
480
- },
481
- "cmp15": {
482
- "current":"seq3c",
483
- "new":"seq3e",
484
- "result":"LESS_THAN",
485
- "description":"New seq has additional new entries. Both have same range."
486
- },
487
- "cmp16": {
488
- "current":"seq3d",
489
- "new":"seq3f",
490
- "result":"DESYNC",
491
- "description":"Current has an older entry while new seq has additional new entries. Both have no range."
492
- },
493
- "cmp17": {
494
- "current":"seq3g",
495
- "new":"seq3",
496
- "result":"LESS_THAN",
497
- "description":"New seq has additional new entries, while current has range start at an earlier time than new seq"
498
- },
499
- "cmp18": {
500
- "current":"seq4c",
501
- "new":"seq4",
502
- "result":"DESYNC",
503
- "description":"Both current and new seq have some unique entries. Both have same range."
504
- },
505
- "cmp19": {
506
- "current":"seq4d",
507
- "new":"seq4b",
508
- "result":"DESYNC",
509
- "description":"Both current and new seq have one unique entry at the end. Both have no range."
510
- },
511
- "cmp20": {
512
- "current":"seq4e",
513
- "new":"seq4",
514
- "result":"DESYNC",
515
- "description":"Both current and new seq have one unique entry at the end. Both have same range."
516
- },
517
- "cmp21": {
518
- "current":"seq0",
519
- "new":"seq0",
520
- "result":"EQUAL",
521
- "description":"Both current and new seq are empty"
522
- },
523
- "cmp22": {
524
- "current":"seq2",
525
- "new":"seq0",
526
- "result":"GREATER_THAN",
527
- "description":"Current has entries but no range. New seq is empty"
528
- },
529
- "cmp23": {
530
- "current":"seq3",
531
- "new":"seq0",
532
- "result":"GREATER_THAN",
533
- "description":"Current has entries and range. New seq is empty"
534
- },
535
- "cmp24": {
536
- "current":"seq3",
537
- "new":"seq3",
538
- "result":"EQUAL",
539
- "description":"Both current and new seq have same entries and range"
540
- },
541
- "cmp27": {
542
- "current":"seq4",
543
- "new":"seq4f",
544
- "result":"GREATER_THAN",
545
- "description":"New seq has same entries as current. New seq has same rangeStart as current, even though rangeEnd is different."
546
- }
225
+ "cmp1": {
226
+ "current": "seq1",
227
+ "new": "seq2",
228
+ "result": "LESS_THAN",
229
+ "description": "New seq has newer entries than current"
547
230
  },
548
- "update_action_results": {
549
- "descriptions": {
550
- "ACCEPT_NEW": "If there is a newbase in the incoming data, merge the incoming data with the current working copy, otherwise, replace the working copy with the incoming data. Note that the client does not need to copy the newbase value itself when merging.",
551
- "KEEP_CURRENT": "ignore the incoming data",
552
- "DESYNC": "performa a GET on the client's current working syncUrl or, if the client has no syncUrl, perform a GET on the Locus URL. Reapply the sequencing algorithm using the returned data."
553
- }
231
+ "cmp2": {
232
+ "current": "seq2",
233
+ "new": "seq2",
234
+ "result": "EQUAL",
235
+ "description": "Current and new seq are the same"
236
+ },
237
+ "cmp3": {
238
+ "current": "seq2",
239
+ "new": "seq3",
240
+ "result": "LESS_THAN",
241
+ "description": "Current has no range while new seq has a range. Both have same entries."
242
+ },
243
+ "cmp4": {
244
+ "current": "seq3",
245
+ "new": "seq4",
246
+ "result": "LESS_THAN",
247
+ "description": "New seq has a new entry, in middle of entries of current. Both have same range."
248
+ },
249
+ "cmp5": {
250
+ "current": "seq3",
251
+ "new": "seq2",
252
+ "result": "GREATER_THAN",
253
+ "description": "Current has a range while new seq has no range. Both have same entries."
254
+ },
255
+ "cmp6": {
256
+ "current": "seq4",
257
+ "new": "seq5",
258
+ "result": "LESS_THAN",
259
+ "description": "New seq is newer and has no overlap with current"
260
+ },
261
+ "cmp7": {
262
+ "current": "seq2",
263
+ "new": "seq6",
264
+ "result": "DESYNC",
265
+ "description": "Current has unique entry in between the entries of new seq. New seq also has unique entry in between the entries of current."
266
+ },
267
+ "cmp8": {
268
+ "current": "seq4",
269
+ "new": "seq7",
270
+ "result": "LESS_THAN",
271
+ "description": "New seq has an entry while its range cover min and max of current"
272
+ },
273
+ "cmp9": {
274
+ "current": "seq1b",
275
+ "new": "seq0",
276
+ "result": "GREATER_THAN",
277
+ "description": "New seq is empty while current has a range"
278
+ },
279
+ "cmp10": {
280
+ "current": "seq4b",
281
+ "new": "seq5",
282
+ "result": "LESS_THAN",
283
+ "description": "New seq is newer and has no overlap with current. Both have no range"
554
284
  },
285
+ "cmp11": {
286
+ "current": "seq4",
287
+ "new": "seq5b",
288
+ "result": "LESS_THAN",
289
+ "description": "Both have range. New seq is newer and has no overlap with current."
290
+ },
291
+ "cmp12": {
292
+ "current": "seq2",
293
+ "new": "seq3b",
294
+ "result": "GREATER_THAN",
295
+ "description": "Current has an older entry than new seq. The rest are the same. Both have no range."
296
+ },
297
+ "cmp13": {
298
+ "current": "seq3",
299
+ "new": "seq3c",
300
+ "result": "GREATER_THAN",
301
+ "description": "Both current and new seq have same entries, while current has range start at an earlier time than new seq"
302
+ },
303
+ "cmp14": {
304
+ "current": "seq3b",
305
+ "new": "seq3d",
306
+ "result": "LESS_THAN",
307
+ "description": "New seq has additional new entries. Both have no range."
308
+ },
309
+ "cmp15": {
310
+ "current": "seq3c",
311
+ "new": "seq3e",
312
+ "result": "LESS_THAN",
313
+ "description": "New seq has additional new entries. Both have same range."
314
+ },
315
+ "cmp16": {
316
+ "current": "seq3d",
317
+ "new": "seq3f",
318
+ "result": "DESYNC",
319
+ "description": "Current has an older entry while new seq has additional new entries. Both have no range."
320
+ },
321
+ "cmp17": {
322
+ "current": "seq3g",
323
+ "new": "seq3",
324
+ "result": "LESS_THAN",
325
+ "description": "New seq has additional new entries, while current has range start at an earlier time than new seq"
326
+ },
327
+ "cmp18": {
328
+ "current": "seq4c",
329
+ "new": "seq4",
330
+ "result": "DESYNC",
331
+ "description": "Both current and new seq have some unique entries. Both have same range."
332
+ },
333
+ "cmp19": {
334
+ "current": "seq4d",
335
+ "new": "seq4b",
336
+ "result": "DESYNC",
337
+ "description": "Both current and new seq have one unique entry at the end. Both have no range."
338
+ },
339
+ "cmp20": {
340
+ "current": "seq4e",
341
+ "new": "seq4",
342
+ "result": "DESYNC",
343
+ "description": "Both current and new seq have one unique entry at the end. Both have same range."
344
+ },
345
+ "cmp21": {
346
+ "current": "seq0",
347
+ "new": "seq0",
348
+ "result": "EQUAL",
349
+ "description": "Both current and new seq are empty"
350
+ },
351
+ "cmp22": {
352
+ "current": "seq2",
353
+ "new": "seq0",
354
+ "result": "GREATER_THAN",
355
+ "description": "Current has entries but no range. New seq is empty"
356
+ },
357
+ "cmp23": {
358
+ "current": "seq3",
359
+ "new": "seq0",
360
+ "result": "GREATER_THAN",
361
+ "description": "Current has entries and range. New seq is empty"
362
+ },
363
+ "cmp24": {
364
+ "current": "seq3",
365
+ "new": "seq3",
366
+ "result": "EQUAL",
367
+ "description": "Both current and new seq have same entries and range"
368
+ },
369
+ "cmp27": {
370
+ "current": "seq4",
371
+ "new": "seq4f",
372
+ "result": "GREATER_THAN",
373
+ "description": "New seq has same entries as current. New seq has same rangeStart as current, even though rangeEnd is different."
374
+ }
375
+ },
376
+ "update_action_results": {
377
+ "descriptions": {
378
+ "ACCEPT_NEW": "If there is a newbase in the incoming data, merge the incoming data with the current working copy, otherwise, replace the working copy with the incoming data. Note that the client does not need to copy the newbase value itself when merging.",
379
+ "KEEP_CURRENT": "ignore the incoming data",
380
+ "DESYNC": "performa a GET on the client's current working syncUrl or, if the client has no syncUrl, perform a GET on the Locus URL. Reapply the sequencing algorithm using the returned data."
381
+ }
382
+ },
555
383
  "update_actions": {
556
- "updt1": {
557
- "current":"seq2",
558
- "newbase":"seq2",
559
- "new":"seq5",
560
- "result":"ACCEPT_NEW",
561
- "description":"New base is same as current, and new seq is newer and has no overlap with current."
562
- },
563
- "updt2": {
564
- "current":"seq2",
565
- "newbase":"seq2",
566
- "new":"seq4",
567
- "result":"ACCEPT_NEW",
568
- "description":"New base is same as current, and new seq has a new entry, in middle of entries of current."
569
- },
570
- "updt3": {
571
- "current":"seq3",
572
- "newbase":"seq2",
573
- "new":"seq4",
574
- "result":"ACCEPT_NEW",
575
- "description":"Current is less than new seq, and current is greater than new base."
576
- },
577
- "updt4": {
578
- "current":"seq4",
579
- "newbase":"seq4",
580
- "new":"seq7",
581
- "result":"ACCEPT_NEW",
582
- "description":"New base is same as current, and new seq has an entry while its range cover min and max of current"
583
- },
584
- "updt5": {
585
- "current":"seq0",
586
- "new":"seq0",
587
- "result":"ACCEPT_NEW",
588
- "description":"Special case: current is empty"
589
- },
590
- "updt6": {
591
- "current":"seq1",
592
- "new":"seq0",
593
- "result":"ACCEPT_NEW",
594
- "description":"Special case: new seq is empty while current has entries and no range. Update anyway."
595
- },
596
- "updt6b": {
597
- "current":"seq2b",
598
- "new":"seq0",
599
- "result":"ACCEPT_NEW",
600
- "description":"Special case: new seq is empty while current has entries and range. Update anyway."
601
- },
602
- "updt7": {
603
- "current":"seq0",
604
- "new":"seq1",
605
- "result":"ACCEPT_NEW",
606
- "description":"Special case: current is empty"
607
- },
608
- "updt8": {
609
- "current":"seq4",
610
- "newbase":"seq4",
611
- "new":"seq4",
612
- "result":"KEEP_CURRENT",
613
- "description":"New seq and new base are same as current. See updt9 also."
614
- },
615
- "updt9": {
616
- "current":"seq4",
617
- "newbase":"seq5",
618
- "new":"seq5",
619
- "result":"DESYNC",
620
- "description":"Both new seq and new base are newer than current. This happens when Locus wants to force a desync, eg. when it has a change too large to send"
621
- },
622
- "updt10": {
623
- "current":"seq2",
624
- "new":"seq2",
625
- "result":"KEEP_CURRENT",
626
- "description":"New seq is same as current, and there is no new base"
627
- },
628
- "updt11": {
629
- "current":"seq4",
630
- "new":"seq5b",
631
- "result":"ACCEPT_NEW",
632
- "description":"New seq is newer and has no overlap with current, including range."
633
- },
634
- "updt12": {
635
- "current":"seq2",
636
- "new":"seq3b",
637
- "result":"KEEP_CURRENT",
638
- "description":"Current an older entry than new seq. The rest are the same. Both have no range."
639
- },
640
- "updt13": {
641
- "current":"seq3",
642
- "new":"seq2b",
643
- "result":"KEEP_CURRENT",
644
- "description":"Current an older entry than new seq. Current also has range start earlier than new."
645
- },
646
- "updt14": {
647
- "current":"seq3d",
648
- "new":"seq3f",
649
- "result":"DESYNC",
650
- "description":"Current has an older entry while new seq has additional new entries. Both have no range."
651
- },
652
- "updt15": {
653
- "current":"seq4",
654
- "new":"seq5c",
655
- "result":"ACCEPT_NEW",
656
- "description":"New seq has new entries and its range covers all range and entries of current."
657
- },
658
- "updt18": {
659
- "current":"seq5f",
660
- "newbase":"seq1c",
661
- "new":"seq3",
662
- "result":"DESYNC",
663
- "description":"New seq has entries less than current, but it has range overlap with current. New base has same range as new seq, and subset of entries."
664
- },
665
- "updt19": {
666
- "current":"seq5f",
667
- "newbase":"seq3",
668
- "new":"seq3",
669
- "result":"DESYNC",
670
- "description":"New seq has entries less than current, but it has range overlap with current. New base and new seq are the same."
671
- },
672
- "updt21": {
673
- "current":"seq3",
674
- "newbase":"seq0",
675
- "new":"seq5f",
676
- "result":"DESYNC",
677
- "description":"New seq has entries greater than current, but it has range overlap with current. New base is empty, which normally doesn't happen. Base will be omitted when there is no base Locus."
678
- },
679
- "updt23": {
680
- "current":"seq5f",
681
- "newbase":"seq5g",
682
- "new":"seq5g",
683
- "result":"KEEP_CURRENT",
684
- "description":"New seq one less entry than current. Both have same range. New base and new seq are the same."
685
- },
686
- "updt24": {
687
- "current":"seq4",
688
- "newbase":"seq4c",
689
- "new":"seq4g",
690
- "result":"DESYNC",
691
- "description":"New seq is greater than current, but both current and new base have some unique entries."
692
- }
384
+ "updt1": {
385
+ "current": "seq2",
386
+ "newbase": "seq2",
387
+ "new": "seq5",
388
+ "result": "ACCEPT_NEW",
389
+ "description": "New base is same as current, and new seq is newer and has no overlap with current."
390
+ },
391
+ "updt2": {
392
+ "current": "seq2",
393
+ "newbase": "seq2",
394
+ "new": "seq4",
395
+ "result": "ACCEPT_NEW",
396
+ "description": "New base is same as current, and new seq has a new entry, in middle of entries of current."
397
+ },
398
+ "updt3": {
399
+ "current": "seq3",
400
+ "newbase": "seq2",
401
+ "new": "seq4",
402
+ "result": "ACCEPT_NEW",
403
+ "description": "Current is less than new seq, and current is greater than new base."
404
+ },
405
+ "updt4": {
406
+ "current": "seq4",
407
+ "newbase": "seq4",
408
+ "new": "seq7",
409
+ "result": "ACCEPT_NEW",
410
+ "description": "New base is same as current, and new seq has an entry while its range cover min and max of current"
411
+ },
412
+ "updt5": {
413
+ "current": "seq0",
414
+ "new": "seq0",
415
+ "result": "ACCEPT_NEW",
416
+ "description": "Special case: current is empty"
417
+ },
418
+ "updt6": {
419
+ "current": "seq1",
420
+ "new": "seq0",
421
+ "result": "ACCEPT_NEW",
422
+ "description": "Special case: new seq is empty while current has entries and no range. Update anyway."
423
+ },
424
+ "updt6b": {
425
+ "current": "seq2b",
426
+ "new": "seq0",
427
+ "result": "ACCEPT_NEW",
428
+ "description": "Special case: new seq is empty while current has entries and range. Update anyway."
429
+ },
430
+ "updt7": {
431
+ "current": "seq0",
432
+ "new": "seq1",
433
+ "result": "ACCEPT_NEW",
434
+ "description": "Special case: current is empty"
435
+ },
436
+ "updt8": {
437
+ "current": "seq4",
438
+ "newbase": "seq4",
439
+ "new": "seq4",
440
+ "result": "KEEP_CURRENT",
441
+ "description": "New seq and new base are same as current. See updt9 also."
442
+ },
443
+ "updt9": {
444
+ "current": "seq4",
445
+ "newbase": "seq5",
446
+ "new": "seq5",
447
+ "result": "DESYNC",
448
+ "description": "Both new seq and new base are newer than current. This happens when Locus wants to force a desync, eg. when it has a change too large to send"
449
+ },
450
+ "updt10": {
451
+ "current": "seq2",
452
+ "new": "seq2",
453
+ "result": "KEEP_CURRENT",
454
+ "description": "New seq is same as current, and there is no new base"
455
+ },
456
+ "updt11": {
457
+ "current": "seq4",
458
+ "new": "seq5b",
459
+ "result": "ACCEPT_NEW",
460
+ "description": "New seq is newer and has no overlap with current, including range."
461
+ },
462
+ "updt12": {
463
+ "current": "seq2",
464
+ "new": "seq3b",
465
+ "result": "KEEP_CURRENT",
466
+ "description": "Current an older entry than new seq. The rest are the same. Both have no range."
467
+ },
468
+ "updt13": {
469
+ "current": "seq3",
470
+ "new": "seq2b",
471
+ "result": "KEEP_CURRENT",
472
+ "description": "Current an older entry than new seq. Current also has range start earlier than new."
473
+ },
474
+ "updt14": {
475
+ "current": "seq3d",
476
+ "new": "seq3f",
477
+ "result": "DESYNC",
478
+ "description": "Current has an older entry while new seq has additional new entries. Both have no range."
479
+ },
480
+ "updt15": {
481
+ "current": "seq4",
482
+ "new": "seq5c",
483
+ "result": "ACCEPT_NEW",
484
+ "description": "New seq has new entries and its range covers all range and entries of current."
485
+ },
486
+ "updt18": {
487
+ "current": "seq5f",
488
+ "newbase": "seq1c",
489
+ "new": "seq3",
490
+ "result": "DESYNC",
491
+ "description": "New seq has entries less than current, but it has range overlap with current. New base has same range as new seq, and subset of entries."
492
+ },
493
+ "updt19": {
494
+ "current": "seq5f",
495
+ "newbase": "seq3",
496
+ "new": "seq3",
497
+ "result": "DESYNC",
498
+ "description": "New seq has entries less than current, but it has range overlap with current. New base and new seq are the same."
499
+ },
500
+ "updt21": {
501
+ "current": "seq3",
502
+ "newbase": "seq0",
503
+ "new": "seq5f",
504
+ "result": "DESYNC",
505
+ "description": "New seq has entries greater than current, but it has range overlap with current. New base is empty, which normally doesn't happen. Base will be omitted when there is no base Locus."
506
+ },
507
+ "updt23": {
508
+ "current": "seq5f",
509
+ "newbase": "seq5g",
510
+ "new": "seq5g",
511
+ "result": "KEEP_CURRENT",
512
+ "description": "New seq one less entry than current. Both have same range. New base and new seq are the same."
513
+ },
514
+ "updt24": {
515
+ "current": "seq4",
516
+ "newbase": "seq4c",
517
+ "new": "seq4g",
518
+ "result": "DESYNC",
519
+ "description": "New seq is greater than current, but both current and new base have some unique entries."
693
520
  }
521
+ }
694
522
  }