forked from molsonkiko/JsonToolsNppPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
most recent errors.txt
347 lines (300 loc) · 17.9 KB
/
most recent errors.txt
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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
Test results for JsonTools v7.1.0.4 on Notepad++ 8.6.4 64bit
NOTE: Ctrl-F (regular expressions *on*) for "Failed [1-9]\d*" to find all failed tests
Tests failed: YAML dumper
=========================
Testing JNode Copy method
=========================
Failed 0 tests.
Passed 12 tests.
=========================
Testing JSON parser
=========================
obj =
/*foo*/ //bar
{"a": [1, 2, 3], "b": {}, "Я草": [], "😀": [[100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112], [100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113], [100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112,//😀
[113, 114]]],/*cömment*/"d":[{"o":"öyster"},"cät",#python
"dog"],"e":false,//cömment
"f":null}//baz
# more python
/*quz
zuq*/
Failed 0 tests.
Passed 134 tests.
=========================
Testing if JSON parser throws errors on bad inputs
=========================
Failed 0 tests.
Passed 5 tests.
=========================
Testing JSON parser advanced options
=========================
Failed 0 tests.
Passed 29 tests.
=========================
Testing JSON parser's linter
=========================
Failed 0 tests.
Passed 71 tests.
=========================
Testing JSON Lines parser
=========================
Failed 0 tests.
Passed 8 tests.
=========================
Testing parsing of numbers does not depend on current culture
=========================
Failed 0 tests.
Passed 1 tests.
=========================
Testing JsonParser.TryParseNumber method
=========================
Failed 0 tests.
Passed 39 tests.
=========================
Testing YAML dumper
=========================
Test 19 (Value contains quotes and colon) failed:
Expected
a: 'RT @blah: MondayMo"r''ing'
Got
a: "RT @blah: MondayMo\"r\'ing"
Test 20 (Value contains quotes and newline) failed:
Expected
a: "a\n'big'\ndog"
Got
a: "a\n\'big\'\ndog"
Test 22 (key contains quotes and colon) failed:
Expected
'"a: ''b''': a
Got
"\"a: ''b''": a
Failed 3 tests.
Passed 19 tests.
=========================
Testing slice extension
=========================
Failed 0 tests.
Passed 80 tests.
=========================
Testing Least Recently Used (LRU) cache implementation
=========================
Ran 15 tests for LruCache with size 5 and failed 0
Ran 30 tests for LruCache with size 10 and failed 0
Ran 51 tests for LruCache with size 17 and failed 0
Ran 135 tests for LruCache with size 45 and failed 0
Ran 192 tests for LruCache with size 64 and failed 0
=========================
Testing RemesPath parser and compiler
=========================
The queried JSON in the RemesParser tests is named foo:{"foo": [[0, 1, 2], [3.0, 4.0, 5.0], [6.0, 7.0, 8.0]], "bar": {"a": false, "b": ["a`g", "bah"]}, "baz": "z", "quz": {}, "jub": [], "guzo": [[[1]], [[2], [3]]], "7": [{"foo": 2}, 1], "_": {"0": 0}}
Failed 0 tests.
Passed 513 tests.
=========================
Testing RemesPath throws errors on bad inputs
=========================
Failed 0 tests.
Passed 651 tests.
=========================
Testing RemesPath assignment operations
=========================
Failed 0 tests.
Passed 26 tests.
=========================
Testing RemesPath produces sane outputs on randomly generated queries
=========================
Fuzz tests query
{"a": [-4, -3.0, -2.0, -1, 0, 1, 2.0, 3.0, 4], "bc": NaN,"c`d": "df", "q": ["", "a", "jk", "ian", "", "32", "u", "aa", "moun"],"f": 1,"g": 1,"h": 1,"i": 1,"j": 1}
Ran 3750 fuzz tests
Failed 0 fuzz tests
=========================
Testing multi-statement queries in RemesPath
=========================
The queried JSON in the RemesParser complex query tests is named foo:{"foo": [[0, 1, 2], [3.0, 4.0, 5.0], [6.0, 7.0, 8.0]], "bar": {"a": false, "b": ["a`g", "bah"]}, "baz": "z", "quz": {}, "jub": [], "guzo": [[[1]], [[2], [3]]], "7": [{"foo": 2}, 1], "_": {"0": 0}}
Failed 0 tests.
Passed 20 tests.
=========================
Testing JsonSchema generator
=========================
Failed 0 tests.
Passed 9 tests.
=========================
Testing JsonSchema validator
=========================
Failed 0 tests.
Passed 229 tests.
=========================
Testing JSON tabularizer
=========================
Failed 0 tests.
Passed 61 tests.
=========================
Testing CSV sniffer
=========================
Failed 0 tests.
Passed 23 tests.
=========================
Testing JSON grepper's file reading ability
=========================
Failed 0 tests.
Passed 6 tests.
=========================
Testing generation of random JSON from schema
=========================
Failed 0 tests.
Passed 16 tests.
=========================
Testing conversion of JSON to DSON (see https://dogeon.xyz/)
=========================
Failed 0 tests.
Passed 8 tests.
=========================
Testing JNode PathToPosition method
=========================
Failed 0 tests.
Passed 24 tests.
=========================
Testing INI file parser
=========================
Failed 0 tests.
Passed 28 tests.
=========================
Testing UI tests
=========================
Failed 0 tests
Passed 346 tests
=========================
Testing JsonParser performance
=========================
Preview of json: [{"A": "Ky'c^g#~)0", "a": 1850111954, "b": 9318359041, "B": "Oyi:/ xxe2", "C": "sKCSa_^7Gg", "c": 7974777124, "d": 2670309238, "D": "0d_K)HmX!.", "E": ".uM*Z{0EJ_", "e": 6958410336, "f": 8050244728, "F": "1%SG_A!xB\t", "g": 3799657125, "G": "il1^k\\\nat*", "H": {"a": 6079042826, "b": 7292804611, "c"
...
To convert JSON string of size 89556 into JNode took 15.171 +/- 14.585 ms over 32 trials
Load times (ms): 6, 57, 13, 41, 4, 6, 7, 62, 4, 14, 26, 3, 16, 13, 18, 3, 7, 8, 5, 34, 8, 9, 11, 11, 27, 3, 8, 9, 9, 10, 15, 3
=========================
Performance tests for RemesPath (float arithmetic)
=========================
Compiling query "@[@[:].a * @[:].t < @[:].e]" took 0.104 ms the first time, including approximately 0.094 ms to tokenize the query. Subsequent executions are effectively free due to caching.
To run pre-compiled query "@[@[:].a * @[:].t < @[:].e]" on JNode from JSON of size 89556 into took 0.119 +/- 0.397 ms over 40 trials
Query times (ms): 0.254, 0.09, 0.045, 0.048, 0.046, 0.053, 0.067, 0.067, 0.044, 0.044, 0.046, 0.046, 0.047, 0.064, 0.041, 0.077, 0.042, 0.041, 0.045, 0.06, 0.041, 0.039, 0.041, 0.04, 0.04, 0.058, 0.04, 0.067, 0.059, 0.041, 0.039, 0.063, 0.039, 0.043, 0.042, 0.045, 0.045, 0.065, 0.039, 2.592
Preview of result: [{"A": "Ky'c^g#~)0", "a": 1850111954, "b": 9318359041, "B": "Oyi:/ xxe2", "C": "sKCSa_^7Gg", "c": 7974777124, "d": 2670309238, "D": "0d_K)HmX!.", "E": ".uM*Z{0EJ_", "e": 6958410336, "f": 8050244728, "F": "1%SG_A!xB\t", "g": 3799657125, "G": "il1^k\\\nat*", "H": {"a": 6079042826, "b": 7292804611, "c"
...
=========================
Performance tests for RemesPath (string operations)
=========================
Compiling query "@[@[:].z =~ `(?i)[a-z]{5}`]" took 0.099 ms the first time, including approximately 0.089 ms to tokenize the query. Subsequent executions are effectively free due to caching.
To run pre-compiled query "@[@[:].z =~ `(?i)[a-z]{5}`]" on JNode from JSON of size 89556 into took 0.156 +/- 0.088 ms over 40 trials
Query times (ms): 0.174, 0.607, 0.19, 0.126, 0.126, 0.128, 0.128, 0.192, 0.388, 0.137, 0.121, 0.172, 0.124, 0.131, 0.138, 0.14, 0.179, 0.175, 0.176, 0.176, 0.131, 0.252, 0.107, 0.151, 0.126, 0.116, 0.111, 0.111, 0.12, 0.112, 0.116, 0.124, 0.116, 0.134, 0.102, 0.105, 0.115, 0.127, 0.117, 0.108
Preview of result: [{"A": "\n]o1VQ5t6g", "a": 4710024278, "b": 3268860721, "B": "g4Y7+ew^.v", "C": "<E_7XL7YS`", "c": 4921465277, "d": 9420665097, "D": "Q&S>NK<OOn", "E": "M?6Ll1W\nFM", "e": 4146283970, "f": 8384193493, "F": "z[jPvslL\tc", "g": 1578133296, "G": "m'M4h,`|Wk", "H": {"a": 5184250383, "b": 5337791147, "c"
...
=========================
Performance tests for RemesPath (basic recursive search)
=========================
Compiling query "@..*" took 0.042 ms the first time, including approximately 0.034 ms to tokenize the query. Subsequent executions are effectively free due to caching.
To run pre-compiled query "@..*" on JNode from JSON of size 89556 into took 1.021 +/- 2.162 ms over 40 trials
Query times (ms): 1.76, 0.408, 1.028, 0.992, 0.548, 0.432, 0.455, 0.509, 0.442, 0.404, 1.148, 0.396, 0.378, 0.419, 0.372, 0.358, 0.391, 0.4, 0.407, 0.39, 1.098, 0.396, 0.393, 0.4, 0.374, 0.414, 0.381, 0.378, 14.154, 0.62, 1.171, 1.724, 0.453, 0.411, 2.47, 0.596, 2.04, 0.862, 0.445, 0.44
Preview of result: [1850111954, 9318359041, 7974777124, 2670309238, 6958410336, 8050244728, 3799657125, 2612807147, 7785993340, 9842767454, 2257474583, 2736529372, 4821265864, 3302084501, null, Infinity, true, false, true, 0.201077552261751, 0.110978036654776, 0.50917270025261, 0.798199326980627, 0.615212956451379, 0.
...
=========================
Performance tests for RemesPath (group_by, projections and aggregations)
=========================
Compiling query "group_by(@, s).*{
Hmax: max((@[:].H)..*[is_num(@)][abs(@) < Infinity]),
min_N: min((@[:].N)..*[is_num(@)][abs(@) < Infinity])
}" took 0.679 ms the first time, including approximately 0.267 ms to tokenize the query. Subsequent executions are effectively free due to caching.
To run pre-compiled query "group_by(@, s).*{
Hmax: max((@[:].H)..*[is_num(@)][abs(@) < Infinity]),
min_N: min((@[:].N)..*[is_num(@)][abs(@) < Infinity])
}" on JNode from JSON of size 89556 into took 0.415 +/- 0.151 ms over 40 trials
Query times (ms): 0.563, 0.348, 0.338, 0.429, 0.331, 0.727, 0.308, 0.307, 0.329, 0.298, 0.294, 0.295, 0.391, 0.631, 0.327, 0.345, 0.34, 0.31, 0.33, 0.315, 0.307, 0.601, 0.329, 0.314, 0.338, 0.326, 0.296, 0.288, 0.369, 0.55, 0.336, 0.414, 0.37, 0.324, 0.728, 0.626, 0.565, 0.375, 0.693, 0.885
Preview of result: {"false": {"Hmax": 9703256074.0, "min_N": 0.0395243372266771}, "true": {"Hmax": 9695512197.0, "min_N": 0.0231773915713427}}
...
=========================
Performance tests for RemesPath (variable assignments and simple aggregations)
=========================
Compiling query "var qmask = @[:].q;
var nmax_q = max(@[qmask].n);
var nmax_notq = max(@[not qmask].n);
ifelse(nmax_q > nmax_notq, `when q=true, nmax = ` + str(nmax_q), `when q=false, nmax= ` + str(nmax_notq))" took 0.231 ms the first time, including approximately 0.364 ms to tokenize the query. Subsequent executions are effectively free due to caching.
To run pre-compiled query "var qmask = @[:].q;
var nmax_q = max(@[qmask].n);
var nmax_notq = max(@[not qmask].n);
ifelse(nmax_q > nmax_notq, `when q=true, nmax = ` + str(nmax_q), `when q=false, nmax= ` + str(nmax_notq))" on JNode from JSON of size 89556 into took 0.032 +/- 0.014 ms over 40 trials
Query times (ms): 0.116, 0.034, 0.031, 0.026, 0.029, 0.041, 0.026, 0.052, 0.027, 0.026, 0.026, 0.026, 0.029, 0.028, 0.026, 0.026, 0.028, 0.026, 0.025, 0.03, 0.032, 0.029, 0.048, 0.034, 0.028, 0.036, 0.032, 0.037, 0.027, 0.027, 0.03, 0.032, 0.03, 0.028, 0.028, 0.028, 0.027, 0.029, 0.028, 0.028
Preview of result: "when q=false, nmax= 9830935647.0"
...
=========================
Performance tests for RemesPath (references to compile-time constant variables)
=========================
Compiling query "var X = X;
var onetwo = j`[1, 2]`;
@[:]->at(@, X)->at(@, onetwo)" took 0.238 ms the first time, including approximately 0.145 ms to tokenize the query. Subsequent executions are effectively free due to caching.
To run pre-compiled query "var X = X;
var onetwo = j`[1, 2]`;
@[:]->at(@, X)->at(@, onetwo)" on JNode from JSON of size 89556 into took 0.042 +/- 0.065 ms over 40 trials
Query times (ms): 0.081, 0.028, 0.039, 0.028, 0.025, 0.027, 0.026, 0.027, 0.03, 0.044, 0.035, 0.034, 0.044, 0.027, 0.026, 0.024, 0.028, 0.035, 0.031, 0.038, 0.028, 0.03, 0.025, 0.054, 0.028, 0.027, 0.033, 0.03, 0.028, 0.031, 0.024, 0.03, 0.445, 0.037, 0.026, 0.025, 0.027, 0.026, 0.023, 0.028
Preview of result: [[1695727848, 0.287562638736685], [2126430375, 0.00767794129708177], [5310550656, 0.380769772645687], [2519183283, 0.153176220930558], [6610062385, 0.662996225870666], [987168256, 0.924410189999928], [6615003609, 0.917112691225947], [4465232046, 0.684311931851536], [8654414565, 0.631485392105992], [
...
=========================
Performance tests for RemesPath (references to variables that are not compile-time constants)
=========================
Compiling query "var X = @->`X`;
var onetwo = @{1, 2};
@[:]->at(@, X)->at(@, onetwo)" took 0.171 ms the first time, including approximately 0.157 ms to tokenize the query. Subsequent executions are effectively free due to caching.
To run pre-compiled query "var X = @->`X`;
var onetwo = @{1, 2};
@[:]->at(@, X)->at(@, onetwo)" on JNode from JSON of size 89556 into took 0.046 +/- 0.021 ms over 40 trials
Query times (ms): 0.101, 0.042, 0.124, 0.069, 0.033, 0.034, 0.039, 0.038, 0.036, 0.035, 0.036, 0.036, 0.038, 0.04, 0.037, 0.038, 0.041, 0.039, 0.036, 0.039, 0.037, 0.064, 0.035, 0.035, 0.04, 0.036, 0.038, 0.034, 0.033, 0.07, 0.037, 0.034, 0.036, 0.036, 0.035, 0.105, 0.066, 0.033, 0.033, 0.057
Preview of result: [[1695727848, 0.287562638736685], [2126430375, 0.00767794129708177], [5310550656, 0.380769772645687], [2519183283, 0.153176220930558], [6610062385, 0.662996225870666], [987168256, 0.924410189999928], [6615003609, 0.917112691225947], [4465232046, 0.684311931851536], [8654414565, 0.631485392105992], [
...
=========================
Performance tests for RemesPath (simple string mutations)
=========================
Compiling query "@[:].z = s_sub(@, g, B)" took 0.08 ms the first time, including approximately 0.108 ms to tokenize the query. Subsequent executions are effectively free due to caching.
To run pre-compiled query "@[:].z = s_sub(@, g, B)" on JNode from JSON of size 89556 into took 0.052 +/- 0.047 ms over 40 trials
Query times (ms): 0.043, 0.042, 0.044, 0.042, 0.036, 0.032, 0.028, 0.045, 0.029, 0.026, 0.03, 0.042, 0.033, 0.035, 0.024, 0.026, 0.047, 0.255, 0.041, 0.064, 0.028, 0.043, 0.042, 0.049, 0.042, 0.044, 0.041, 0.032, 0.032, 0.05, 0.03, 0.041, 0.035, 0.14, 0.038, 0.032, 0.045, 0.072, 0.041, 0.223
Preview of result: [{"A": "Ky'c^g#~)0", "a": 1850111954, "b": 9318359041, "B": "Oyi:/ xxe2", "C": "sKCSa_^7Gg", "c": 7974777124, "d": 2670309238, "D": "0d_K)HmX!.", "E": ".uM*Z{0EJ_", "e": 6958410336, "f": 8050244728, "F": "1%SG_A!xB\t", "g": 3799657125, "G": "il1^k\\\nat*", "H": {"a": 6079042826, "b": 7292804611, "c"
...
=========================
Performance tests for RemesPath (simple number mutations)
=========================
Compiling query "@[:].x = ifelse(@ < 0.5, @ + 3, @ - 3)" took 0.331 ms the first time, including approximately 0.235 ms to tokenize the query. Subsequent executions are effectively free due to caching.
To run pre-compiled query "@[:].x = ifelse(@ < 0.5, @ + 3, @ - 3)" on JNode from JSON of size 89556 into took 0.058 +/- 0.015 ms over 40 trials
Query times (ms): 0.073, 0.069, 0.069, 0.038, 0.037, 0.036, 0.058, 0.053, 0.047, 0.049, 0.074, 0.062, 0.062, 0.055, 0.04, 0.058, 0.038, 0.044, 0.039, 0.061, 0.064, 0.088, 0.065, 0.05, 0.057, 0.063, 0.056, 0.055, 0.054, 0.047, 0.051, 0.059, 0.044, 0.063, 0.064, 0.056, 0.052, 0.06, 0.114, 0.076
Preview of result: [{"A": "Ky'c^g#~)0", "a": 1850111954, "b": 9318359041, "B": "Oyi:/ xxe2", "C": "sKCSa_^7Gg", "c": 7974777124, "d": 2670309238, "D": "0d_K)HmX!.", "E": ".uM*Z{0EJ_", "e": 6958410336, "f": 8050244728, "F": "1%SG_A!xB\t", "g": 3799657125, "G": "il1^k\\\nat*", "H": {"a": 6079042826, "b": 7292804611, "c"
...
=========================
Performance tests for RemesPath (mutations with a for loop)
=========================
Compiling query "var xhalf = @[:].x < 0.5;
for lx = zip(@[:].l, xhalf);
lx[0] = ifelse(lx[1], foo, bar);
end for;" took 0.237 ms the first time, including approximately 0.21 ms to tokenize the query. Subsequent executions are effectively free due to caching.
To run pre-compiled query "var xhalf = @[:].x < 0.5;
for lx = zip(@[:].l, xhalf);
lx[0] = ifelse(lx[1], foo, bar);
end for;" on JNode from JSON of size 89556 into took 0.123 +/- 0.066 ms over 40 trials
Query times (ms): 0.114, 0.109, 0.088, 0.086, 0.104, 0.093, 0.087, 0.09, 0.12, 0.108, 0.229, 0.117, 0.139, 0.089, 0.092, 0.089, 0.085, 0.108, 0.16, 0.11, 0.197, 0.113, 0.098, 0.096, 0.094, 0.124, 0.198, 0.168, 0.112, 0.116, 0.103, 0.093, 0.164, 0.47, 0.139, 0.097, 0.081, 0.077, 0.08, 0.082
Preview of result: [["bar", false], ["bar", false], ["foo", true], ["foo", true], ["foo", true], ["foo", true], ["foo", true], ["bar", false], ["bar", false], ["bar", false], ["foo", true], ["foo", true], ["bar", false], ["bar", false], ["foo", true], ["bar", false], ["bar", false], ["bar", false], ["foo", true], ["ba
...
=========================
Testing performance of JSON compression and pretty-printing
=========================
Preview of json: [{"A": "Ky'c^g#~)0", "a": 1850111954, "b": 9318359041, "B": "Oyi:/ xxe2", "C": "sKCSa_^7Gg", "c": 7974777124, "d": 2670309238, "D": "0d_K)HmX!.", "E": ".uM*Z{0EJ_", "e": 6958410336, "f": 8050244728, "F": "1%SG_A!xB\t", "g": 3799657125, "G": "il1^k\\\nat*", "H": {"a": 6079042826, "b": 7292804611, "c"
...
To compress JNode from JSON string of 89556 took 10.102 +/- 4.004 ms over 64 trials (minimal whitespace, sortKeys=TRUE)
To compress JNode from JSON string of 89556 took 5.26 +/- 1.762 ms over 64 trials (minimal whitespace, sortKeys=FALSE)
To Google-style pretty-print JNode from JSON string of 89556 took 13.331 +/- 7.014 ms over 64 trials (sortKeys=true, indent=4)
To Whitesmith-style pretty-print JNode from JSON string of 89556 took 10.406 +/- 3.214 ms over 64 trials (sortKeys=true, indent=4)
To PPrint-style pretty-print JNode from JSON string of 89556 took 14.778 +/- 3.836 ms over 64 trials (sortKeys=true, indent=4)
=========================
Testing performance of JsonSchemaValidator and random JSON creation
=========================
To create a random set of tweet JSON of size 165437 (15 tweets) based on the matching schema took 21.284 +/- 8.768 ms over 64 trials
To compile the tweet schema to a validation function took 0.87 +/- 1.167 ms over 64 trials
To validate tweet JSON of size 165437 (15 tweets) based on the compiled schema took 2.997 +/- 1.263 ms over 64 trials
=========================
Testing JSON grepper's API request tool
=========================
Testing with 3 urls
Testing with 1 urls
Failed 0 tests.
Passed 4 tests.