comparison test_macros.xml @ 0:99e2019c318c draft default tip

planemo upload for repository https://github.com/Helmholtz-UFZ/galaxy-tools/blob/main/tools/saqc/ commit b674325a07b6e964e25cd65967149018dc2671fe
author ufz
date Sat, 16 Aug 2025 11:43:38 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:99e2019c318c
1 <?xml version="1.0" encoding="utf-8"?>
2 <macros>
3 <xml name="config_tests">
4 <test>
5 <param name="data" value="test1/data.csv" ftype="csv" />
6 <param name="run_test_mode" value="true" />
7 <repeat name="methods_repeat">
8 <conditional name="module_cond">
9 <param name="module_select" value="breaks" />
10 <conditional name="method_cond">
11 <param name="method_select" value="flagIsolated" />
12 <param name="field" value="test_variable" />
13 <param name="gap_window" value="default_string" />
14 <param name="group_window" value="default_string" />
15 <param name="flag" value="255.0" />
16 </conditional>
17 </conditional>
18 </repeat>
19 <output name="config_out" ftype="txt">
20 <assert_contents>
21 <has_text_matching expression="test_variable;\s*flagIsolated\(.*\)$" />
22 </assert_contents>
23 </output>
24 </test>
25 <test>
26 <param name="data" value="test1/data.csv" ftype="csv" />
27 <param name="run_test_mode" value="true" />
28 <repeat name="methods_repeat">
29 <conditional name="module_cond">
30 <param name="module_select" value="breaks" />
31 <conditional name="method_cond">
32 <param name="method_select" value="flagJumps" />
33 <param name="field" value="test_variable" />
34 <param name="thresh" value="1.0" />
35 <param name="window" value="default_string" />
36 <param name="min_periods" value="1" />
37 <param name="flag" value="255.0" />
38 <param name="dfilter" value="-inf" />
39 </conditional>
40 </conditional>
41 </repeat>
42 <output name="config_out" ftype="txt">
43 <assert_contents>
44 <has_text_matching expression="test_variable;\s*flagJumps\(.*\)$" />
45 </assert_contents>
46 </output>
47 </test>
48 <test>
49 <param name="data" value="test1/data.csv" ftype="csv" />
50 <param name="run_test_mode" value="true" />
51 <repeat name="methods_repeat">
52 <conditional name="module_cond">
53 <param name="module_select" value="breaks" />
54 <conditional name="method_cond">
55 <param name="method_select" value="flagMissing" />
56 <param name="field" value="test_variable" />
57 <param name="flag" value="255.0" />
58 <param name="dfilter" value="-inf" />
59 </conditional>
60 </conditional>
61 </repeat>
62 <output name="config_out" ftype="txt">
63 <assert_contents>
64 <has_text_matching expression="test_variable;\s*flagMissing\(.*\)$" />
65 </assert_contents>
66 </output>
67 </test>
68 <test>
69 <param name="data" value="test1/data.csv" ftype="csv" />
70 <param name="run_test_mode" value="true" />
71 <repeat name="methods_repeat">
72 <conditional name="module_cond">
73 <param name="module_select" value="changepoints" />
74 <conditional name="method_cond">
75 <param name="method_select" value="assignChangePointCluster" />
76 <param name="field" value="test_variable" />
77 <param name="stat_func" value="default_string" />
78 <param name="thresh_func" value="default_string" />
79 <param name="window" value="default_string" />
80 <param name="min_periods" value="1" />
81 <param name="reduce_window" value="default_string" />
82 <param name="reduce_func" value="&lt;function ChangepointsMixin.&lt;lambda&gt; at 0x714978652160&gt;" />
83 <param name="model_by_resids" value="true" />
84 </conditional>
85 </conditional>
86 </repeat>
87 <output name="config_out" ftype="txt">
88 <assert_contents>
89 <has_text_matching expression="test_variable;\s*assignChangePointCluster\(.*\)$" />
90 </assert_contents>
91 </output>
92 </test>
93 <test>
94 <param name="data" value="test1/data.csv" ftype="csv" />
95 <param name="run_test_mode" value="true" />
96 <repeat name="methods_repeat">
97 <conditional name="module_cond">
98 <param name="module_select" value="changepoints" />
99 <conditional name="method_cond">
100 <param name="method_select" value="assignChangePointCluster" />
101 <param name="field" value="test_variable" />
102 <param name="stat_func" value="default_string" />
103 <param name="thresh_func" value="default_string" />
104 <param name="window" value="a_string" />
105 <param name="min_periods" value="1" />
106 <param name="reduce_window" value="default_string" />
107 <param name="reduce_func" value="&lt;function ChangepointsMixin.&lt;lambda&gt; at 0x714978652160&gt;" />
108 <param name="model_by_resids" value="true" />
109 </conditional>
110 </conditional>
111 </repeat>
112 <output name="config_out" ftype="txt">
113 <assert_contents>
114 <has_text_matching expression="test_variable;\s*assignChangePointCluster\((?=.*window\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
115 </assert_contents>
116 </output>
117 </test>
118 <test>
119 <param name="data" value="test1/data.csv" ftype="csv" />
120 <param name="run_test_mode" value="true" />
121 <repeat name="methods_repeat">
122 <conditional name="module_cond">
123 <param name="module_select" value="changepoints" />
124 <conditional name="method_cond">
125 <param name="method_select" value="assignChangePointCluster" />
126 <param name="field" value="test_variable" />
127 <param name="stat_func" value="default_string" />
128 <param name="thresh_func" value="default_string" />
129 <param name="window" value="default_string" />
130 <param name="min_periods" value="123" />
131 <param name="reduce_window" value="default_string" />
132 <param name="reduce_func" value="&lt;function ChangepointsMixin.&lt;lambda&gt; at 0x714978652160&gt;" />
133 <param name="model_by_resids" value="true" />
134 </conditional>
135 </conditional>
136 </repeat>
137 <output name="config_out" ftype="txt">
138 <assert_contents>
139 <has_text_matching expression="test_variable;\s*assignChangePointCluster\((?=.*min_periods\s*=\s*(?:[&quot;']?123[&quot;']?)).*\)$" />
140 </assert_contents>
141 </output>
142 </test>
143 <test>
144 <param name="data" value="test1/data.csv" ftype="csv" />
145 <param name="run_test_mode" value="true" />
146 <repeat name="methods_repeat">
147 <conditional name="module_cond">
148 <param name="module_select" value="changepoints" />
149 <conditional name="method_cond">
150 <param name="method_select" value="flagChangePoints" />
151 <param name="field" value="test_variable" />
152 <param name="stat_func" value="default_string" />
153 <param name="thresh_func" value="default_string" />
154 <param name="window" value="default_string" />
155 <param name="min_periods" value="1" />
156 <param name="reduce_window" value="default_string" />
157 <param name="reduce_func" value="&lt;function ChangepointsMixin.&lt;lambda&gt; at 0x714978651f80&gt;" />
158 <param name="flag" value="255.0" />
159 </conditional>
160 </conditional>
161 </repeat>
162 <output name="config_out" ftype="txt">
163 <assert_contents>
164 <has_text_matching expression="test_variable;\s*flagChangePoints\(.*\)$" />
165 </assert_contents>
166 </output>
167 </test>
168 <test>
169 <param name="data" value="test1/data.csv" ftype="csv" />
170 <param name="run_test_mode" value="true" />
171 <repeat name="methods_repeat">
172 <conditional name="module_cond">
173 <param name="module_select" value="changepoints" />
174 <conditional name="method_cond">
175 <param name="method_select" value="flagChangePoints" />
176 <param name="field" value="test_variable" />
177 <param name="stat_func" value="default_string" />
178 <param name="thresh_func" value="default_string" />
179 <param name="window" value="a_string" />
180 <param name="min_periods" value="1" />
181 <param name="reduce_window" value="default_string" />
182 <param name="reduce_func" value="&lt;function ChangepointsMixin.&lt;lambda&gt; at 0x714978651f80&gt;" />
183 <param name="flag" value="255.0" />
184 </conditional>
185 </conditional>
186 </repeat>
187 <output name="config_out" ftype="txt">
188 <assert_contents>
189 <has_text_matching expression="test_variable;\s*flagChangePoints\((?=.*window\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
190 </assert_contents>
191 </output>
192 </test>
193 <test>
194 <param name="data" value="test1/data.csv" ftype="csv" />
195 <param name="run_test_mode" value="true" />
196 <repeat name="methods_repeat">
197 <conditional name="module_cond">
198 <param name="module_select" value="changepoints" />
199 <conditional name="method_cond">
200 <param name="method_select" value="flagChangePoints" />
201 <param name="field" value="test_variable" />
202 <param name="stat_func" value="default_string" />
203 <param name="thresh_func" value="default_string" />
204 <param name="window" value="default_string" />
205 <param name="min_periods" value="123" />
206 <param name="reduce_window" value="default_string" />
207 <param name="reduce_func" value="&lt;function ChangepointsMixin.&lt;lambda&gt; at 0x714978651f80&gt;" />
208 <param name="flag" value="255.0" />
209 </conditional>
210 </conditional>
211 </repeat>
212 <output name="config_out" ftype="txt">
213 <assert_contents>
214 <has_text_matching expression="test_variable;\s*flagChangePoints\((?=.*min_periods\s*=\s*(?:[&quot;']?123[&quot;']?)).*\)$" />
215 </assert_contents>
216 </output>
217 </test>
218 <test>
219 <param name="data" value="test1/data.csv" ftype="csv" />
220 <param name="run_test_mode" value="true" />
221 <repeat name="methods_repeat">
222 <conditional name="module_cond">
223 <param name="module_select" value="constants" />
224 <conditional name="method_cond">
225 <param name="method_select" value="flagByVariance" />
226 <param name="field" value="test_variable" />
227 <param name="window" value="default_string" />
228 <param name="thresh" value="1.0" />
229 <param name="maxna" value="1" />
230 <param name="maxna_group" value="1" />
231 <param name="flag" value="255.0" />
232 </conditional>
233 </conditional>
234 </repeat>
235 <output name="config_out" ftype="txt">
236 <assert_contents>
237 <has_text_matching expression="test_variable;\s*flagByVariance\(.*\)$" />
238 </assert_contents>
239 </output>
240 </test>
241 <test>
242 <param name="data" value="test1/data.csv" ftype="csv" />
243 <param name="run_test_mode" value="true" />
244 <repeat name="methods_repeat">
245 <conditional name="module_cond">
246 <param name="module_select" value="constants" />
247 <conditional name="method_cond">
248 <param name="method_select" value="flagConstants" />
249 <param name="field" value="test_variable" />
250 <param name="thresh" value="1.0" />
251 <param name="window" value="default_string" />
252 <param name="min_periods" value="2" />
253 <param name="flag" value="255.0" />
254 </conditional>
255 </conditional>
256 </repeat>
257 <output name="config_out" ftype="txt">
258 <assert_contents>
259 <has_text_matching expression="test_variable;\s*flagConstants\(.*\)$" />
260 </assert_contents>
261 </output>
262 </test>
263 <test>
264 <param name="data" value="test1/data.csv" ftype="csv" />
265 <param name="run_test_mode" value="true" />
266 <repeat name="methods_repeat">
267 <conditional name="module_cond">
268 <param name="module_select" value="curvefit" />
269 <conditional name="method_cond">
270 <param name="method_select" value="fitLowpassFilter" />
271 <param name="field" value="test_variable" />
272 <param name="cutoff" value="default_string" />
273 <param name="nyq" value="0.5" />
274 <param name="filter_order" value="2" />
275 <param name="fill_method" value="linear" />
276 </conditional>
277 </conditional>
278 </repeat>
279 <output name="config_out" ftype="txt">
280 <assert_contents>
281 <has_text_matching expression="test_variable;\s*fitLowpassFilter\(.*\)$" />
282 </assert_contents>
283 </output>
284 </test>
285 <test>
286 <param name="data" value="test1/data.csv" ftype="csv" />
287 <param name="run_test_mode" value="true" />
288 <repeat name="methods_repeat">
289 <conditional name="module_cond">
290 <param name="module_select" value="curvefit" />
291 <conditional name="method_cond">
292 <param name="method_select" value="fitPolynomial" />
293 <param name="field" value="test_variable" />
294 <param name="window" value="default_string" />
295 <param name="order" value="1" />
296 <param name="min_periods" value="0" />
297 </conditional>
298 </conditional>
299 </repeat>
300 <output name="config_out" ftype="txt">
301 <assert_contents>
302 <has_text_matching expression="test_variable;\s*fitPolynomial\(.*\)$" />
303 </assert_contents>
304 </output>
305 </test>
306 <test>
307 <param name="data" value="test1/data.csv" ftype="csv" />
308 <param name="run_test_mode" value="true" />
309 <repeat name="methods_repeat">
310 <conditional name="module_cond">
311 <param name="module_select" value="drift" />
312 <conditional name="method_cond">
313 <param name="method_select" value="assignRegimeAnomaly" />
314 <param name="field" value="test_variable" />
315 <param name="cluster_field" value="default_string" />
316 <param name="spread" value="1.0" />
317 <param name="method" value="single" />
318 <param name="metric" value="&lt;function DriftMixin.&lt;lambda&gt; at 0x7149749f0d60&gt;" />
319 <param name="frac" value="0.5" />
320 </conditional>
321 </conditional>
322 </repeat>
323 <output name="config_out" ftype="txt">
324 <assert_contents>
325 <has_text_matching expression="test_variable;\s*assignRegimeAnomaly\(.*\)$" />
326 </assert_contents>
327 </output>
328 </test>
329 <test>
330 <param name="data" value="test1/data.csv" ftype="csv" />
331 <param name="run_test_mode" value="true" />
332 <repeat name="methods_repeat">
333 <conditional name="module_cond">
334 <param name="module_select" value="drift" />
335 <conditional name="method_cond">
336 <param name="method_select" value="correctDrift" />
337 <param name="field" value="test_variable" />
338 <param name="maintenance_field" value="default_string" />
339 <conditional name="model_cond">
340 <param name="model_select_type" value="custom" />
341 <param name="model" value="default_string" />
342 </conditional>
343 <param name="cal_range" value="5" />
344 </conditional>
345 </conditional>
346 </repeat>
347 <output name="config_out" ftype="txt">
348 <assert_contents>
349 <has_text_matching expression="test_variable;\s*correctDrift\(.*\)$" />
350 </assert_contents>
351 </output>
352 </test>
353 <test>
354 <param name="data" value="test1/data.csv" ftype="csv" />
355 <param name="run_test_mode" value="true" />
356 <repeat name="methods_repeat">
357 <conditional name="module_cond">
358 <param name="module_select" value="drift" />
359 <conditional name="method_cond">
360 <param name="method_select" value="correctOffset" />
361 <param name="field" value="test_variable" />
362 <param name="max_jump" value="1.0" />
363 <param name="spread" value="1.0" />
364 <param name="window" value="default_string" />
365 <param name="min_periods" value="1" />
366 <param name="tolerance" value="default_string" />
367 </conditional>
368 </conditional>
369 </repeat>
370 <output name="config_out" ftype="txt">
371 <assert_contents>
372 <has_text_matching expression="test_variable;\s*correctOffset\(.*\)$" />
373 </assert_contents>
374 </output>
375 </test>
376 <test>
377 <param name="data" value="test1/data.csv" ftype="csv" />
378 <param name="run_test_mode" value="true" />
379 <repeat name="methods_repeat">
380 <conditional name="module_cond">
381 <param name="module_select" value="drift" />
382 <conditional name="method_cond">
383 <param name="method_select" value="correctRegimeAnomaly" />
384 <param name="field" value="test_variable" />
385 <param name="cluster_field" value="default_string" />
386 <param name="model" value="default_string" />
387 <param name="tolerance" value="default_string" />
388 <param name="epoch" value="true" />
389 </conditional>
390 </conditional>
391 </repeat>
392 <output name="config_out" ftype="txt">
393 <assert_contents>
394 <has_text_matching expression="test_variable;\s*correctRegimeAnomaly\(.*\)$" />
395 </assert_contents>
396 </output>
397 </test>
398 <test>
399 <param name="data" value="test1/data.csv" ftype="csv" />
400 <param name="run_test_mode" value="true" />
401 <repeat name="methods_repeat">
402 <conditional name="module_cond">
403 <param name="module_select" value="drift" />
404 <conditional name="method_cond">
405 <param name="method_select" value="flagDriftFromNorm" />
406 <repeat name="field_repeat">
407 <param name="field" value="test_variable" />
408 </repeat>
409 <param name="window" value="default_string" />
410 <param name="spread" value="1.0" />
411 <param name="frac" value="0.5" />
412 <param name="metric" value="&lt;function cityblock at 0x71497525fd80&gt;" />
413 <param name="method" value="single" />
414 <param name="flag" value="255.0" />
415 </conditional>
416 </conditional>
417 </repeat>
418 <output name="config_out" ftype="txt">
419 <assert_contents>
420 <has_text_matching expression="test_variable;\s*flagDriftFromNorm\(.*\)$" />
421 </assert_contents>
422 </output>
423 </test>
424 <test>
425 <param name="data" value="test1/data.csv" ftype="csv" />
426 <param name="run_test_mode" value="true" />
427 <repeat name="methods_repeat">
428 <conditional name="module_cond">
429 <param name="module_select" value="drift" />
430 <conditional name="method_cond">
431 <param name="method_select" value="flagDriftFromReference" />
432 <repeat name="field_repeat">
433 <param name="field" value="test_variable" />
434 </repeat>
435 <param name="reference" value="default_string" />
436 <param name="freq" value="default_string" />
437 <param name="thresh" value="1.0" />
438 <param name="metric" value="&lt;function cityblock at 0x71497525fd80&gt;" />
439 <param name="flag" value="255.0" />
440 </conditional>
441 </conditional>
442 </repeat>
443 <output name="config_out" ftype="txt">
444 <assert_contents>
445 <has_text_matching expression="test_variable;\s*flagDriftFromReference\(.*\)$" />
446 </assert_contents>
447 </output>
448 </test>
449 <test>
450 <param name="data" value="test1/data.csv" ftype="csv" />
451 <param name="run_test_mode" value="true" />
452 <repeat name="methods_repeat">
453 <conditional name="module_cond">
454 <param name="module_select" value="drift" />
455 <conditional name="method_cond">
456 <param name="method_select" value="flagRegimeAnomaly" />
457 <param name="field" value="test_variable" />
458 <param name="cluster_field" value="default_string" />
459 <param name="spread" value="1.0" />
460 <param name="method" value="single" />
461 <param name="metric" value="&lt;function DriftMixin.&lt;lambda&gt; at 0x7149749f0c20&gt;" />
462 <param name="frac" value="0.5" />
463 <param name="flag" value="255.0" />
464 </conditional>
465 </conditional>
466 </repeat>
467 <output name="config_out" ftype="txt">
468 <assert_contents>
469 <has_text_matching expression="test_variable;\s*flagRegimeAnomaly\(.*\)$" />
470 </assert_contents>
471 </output>
472 </test>
473 <test>
474 <param name="data" value="test1/data.csv" ftype="csv" />
475 <param name="run_test_mode" value="true" />
476 <repeat name="methods_repeat">
477 <conditional name="module_cond">
478 <param name="module_select" value="flagtools" />
479 <conditional name="method_cond">
480 <param name="method_select" value="andGroup" />
481 <param name="field" value="test_variable" />
482 <param name="group" value="default_string" />
483 <param name="target" value="test_variable" />
484 <param name="flag" value="255.0" />
485 </conditional>
486 </conditional>
487 </repeat>
488 <output name="config_out" ftype="txt">
489 <assert_contents>
490 <has_text_matching expression="test_variable;\s*andGroup\(.*\)$" />
491 </assert_contents>
492 </output>
493 </test>
494 <test>
495 <param name="data" value="test1/data.csv" ftype="csv" />
496 <param name="run_test_mode" value="true" />
497 <repeat name="methods_repeat">
498 <conditional name="module_cond">
499 <param name="module_select" value="flagtools" />
500 <conditional name="method_cond">
501 <param name="method_select" value="andGroup" />
502 <param name="field" value="test_variable" />
503 <param name="group" value="default_string" />
504 <param name="target" value="a_string" />
505 <param name="flag" value="255.0" />
506 </conditional>
507 </conditional>
508 </repeat>
509 <output name="config_out" ftype="txt">
510 <assert_contents>
511 <has_text_matching expression="test_variable;\s*andGroup\(.*\)$" />
512 </assert_contents>
513 </output>
514 </test>
515 <test>
516 <param name="data" value="test1/data.csv" ftype="csv" />
517 <param name="run_test_mode" value="true" />
518 <repeat name="methods_repeat">
519 <conditional name="module_cond">
520 <param name="module_select" value="flagtools" />
521 <conditional name="method_cond">
522 <param name="method_select" value="clearFlags" />
523 <param name="field" value="test_variable" />
524 </conditional>
525 </conditional>
526 </repeat>
527 <output name="config_out" ftype="txt">
528 <assert_contents>
529 <has_text_matching expression="test_variable;\s*clearFlags\(.*\)$" />
530 </assert_contents>
531 </output>
532 </test>
533 <test>
534 <param name="data" value="test1/data.csv" ftype="csv" />
535 <param name="run_test_mode" value="true" />
536 <repeat name="methods_repeat">
537 <conditional name="module_cond">
538 <param name="module_select" value="flagtools" />
539 <conditional name="method_cond">
540 <param name="method_select" value="flagDummy" />
541 <param name="field" value="test_variable" />
542 </conditional>
543 </conditional>
544 </repeat>
545 <output name="config_out" ftype="txt">
546 <assert_contents>
547 <has_text_matching expression="test_variable;\s*flagDummy\(.*\)$" />
548 </assert_contents>
549 </output>
550 </test>
551 <test>
552 <param name="data" value="test1/data.csv" ftype="csv" />
553 <param name="run_test_mode" value="true" />
554 <repeat name="methods_repeat">
555 <conditional name="module_cond">
556 <param name="module_select" value="flagtools" />
557 <conditional name="method_cond">
558 <param name="method_select" value="flagManual" />
559 <param name="field" value="test_variable" />
560 <param name="mdata" value="default_string" />
561 <param name="method" value="left-open" />
562 <param name="mformat" value="start-end" />
563 <param name="mflag" value="1" />
564 <param name="flag" value="255.0" />
565 </conditional>
566 </conditional>
567 </repeat>
568 <output name="config_out" ftype="txt">
569 <assert_contents>
570 <has_text_matching expression="test_variable;\s*flagManual\(.*\)$" />
571 </assert_contents>
572 </output>
573 </test>
574 <test>
575 <param name="data" value="test1/data.csv" ftype="csv" />
576 <param name="run_test_mode" value="true" />
577 <repeat name="methods_repeat">
578 <conditional name="module_cond">
579 <param name="module_select" value="flagtools" />
580 <conditional name="method_cond">
581 <param name="method_select" value="flagManual" />
582 <param name="field" value="test_variable" />
583 <param name="mdata" value="default_string" />
584 <param name="method" value="left-open" />
585 <param name="mformat" value="start-end" />
586 <param name="mflag" value="1" />
587 <param name="flag" value="255.0" />
588 </conditional>
589 </conditional>
590 </repeat>
591 <output name="config_out" ftype="txt">
592 <assert_contents>
593 <has_text_matching expression="test_variable;\s*flagManual\((?=.*mformat\s*=\s*[&quot;']start\-end[&quot;']).*\)$" />
594 </assert_contents>
595 </output>
596 </test>
597 <test>
598 <param name="data" value="test1/data.csv" ftype="csv" />
599 <param name="run_test_mode" value="true" />
600 <repeat name="methods_repeat">
601 <conditional name="module_cond">
602 <param name="module_select" value="flagtools" />
603 <conditional name="method_cond">
604 <param name="method_select" value="flagManual" />
605 <param name="field" value="test_variable" />
606 <param name="mdata" value="default_string" />
607 <param name="method" value="left-open" />
608 <param name="mformat" value="mflag" />
609 <param name="mflag" value="1" />
610 <param name="flag" value="255.0" />
611 </conditional>
612 </conditional>
613 </repeat>
614 <output name="config_out" ftype="txt">
615 <assert_contents>
616 <has_text_matching expression="test_variable;\s*flagManual\((?=.*mformat\s*=\s*[&quot;']mflag[&quot;']).*\)$" />
617 </assert_contents>
618 </output>
619 </test>
620 <test>
621 <param name="data" value="test1/data.csv" ftype="csv" />
622 <param name="run_test_mode" value="true" />
623 <repeat name="methods_repeat">
624 <conditional name="module_cond">
625 <param name="module_select" value="flagtools" />
626 <conditional name="method_cond">
627 <param name="method_select" value="flagManual" />
628 <param name="field" value="test_variable" />
629 <param name="mdata" value="default_string" />
630 <param name="method" value="left-open" />
631 <param name="mformat" value="start-end" />
632 <param name="mflag" value="1" />
633 <param name="flag" value="255.0" />
634 </conditional>
635 </conditional>
636 </repeat>
637 <output name="config_out" ftype="txt">
638 <assert_contents>
639 <has_text_matching expression="test_variable;\s*flagManual\((?=.*method\s*=\s*[&quot;']left\-open[&quot;']).*\)$" />
640 </assert_contents>
641 </output>
642 </test>
643 <test>
644 <param name="data" value="test1/data.csv" ftype="csv" />
645 <param name="run_test_mode" value="true" />
646 <repeat name="methods_repeat">
647 <conditional name="module_cond">
648 <param name="module_select" value="flagtools" />
649 <conditional name="method_cond">
650 <param name="method_select" value="flagManual" />
651 <param name="field" value="test_variable" />
652 <param name="mdata" value="default_string" />
653 <param name="method" value="right-open" />
654 <param name="mformat" value="start-end" />
655 <param name="mflag" value="1" />
656 <param name="flag" value="255.0" />
657 </conditional>
658 </conditional>
659 </repeat>
660 <output name="config_out" ftype="txt">
661 <assert_contents>
662 <has_text_matching expression="test_variable;\s*flagManual\((?=.*method\s*=\s*[&quot;']right\-open[&quot;']).*\)$" />
663 </assert_contents>
664 </output>
665 </test>
666 <test>
667 <param name="data" value="test1/data.csv" ftype="csv" />
668 <param name="run_test_mode" value="true" />
669 <repeat name="methods_repeat">
670 <conditional name="module_cond">
671 <param name="module_select" value="flagtools" />
672 <conditional name="method_cond">
673 <param name="method_select" value="flagManual" />
674 <param name="field" value="test_variable" />
675 <param name="mdata" value="default_string" />
676 <param name="method" value="closed" />
677 <param name="mformat" value="start-end" />
678 <param name="mflag" value="1" />
679 <param name="flag" value="255.0" />
680 </conditional>
681 </conditional>
682 </repeat>
683 <output name="config_out" ftype="txt">
684 <assert_contents>
685 <has_text_matching expression="test_variable;\s*flagManual\((?=.*method\s*=\s*[&quot;']closed[&quot;']).*\)$" />
686 </assert_contents>
687 </output>
688 </test>
689 <test>
690 <param name="data" value="test1/data.csv" ftype="csv" />
691 <param name="run_test_mode" value="true" />
692 <repeat name="methods_repeat">
693 <conditional name="module_cond">
694 <param name="module_select" value="flagtools" />
695 <conditional name="method_cond">
696 <param name="method_select" value="flagManual" />
697 <param name="field" value="test_variable" />
698 <param name="mdata" value="default_string" />
699 <param name="method" value="plain" />
700 <param name="mformat" value="start-end" />
701 <param name="mflag" value="1" />
702 <param name="flag" value="255.0" />
703 </conditional>
704 </conditional>
705 </repeat>
706 <output name="config_out" ftype="txt">
707 <assert_contents>
708 <has_text_matching expression="test_variable;\s*flagManual\((?=.*method\s*=\s*[&quot;']plain[&quot;']).*\)$" />
709 </assert_contents>
710 </output>
711 </test>
712 <test>
713 <param name="data" value="test1/data.csv" ftype="csv" />
714 <param name="run_test_mode" value="true" />
715 <repeat name="methods_repeat">
716 <conditional name="module_cond">
717 <param name="module_select" value="flagtools" />
718 <conditional name="method_cond">
719 <param name="method_select" value="flagManual" />
720 <param name="field" value="test_variable" />
721 <param name="mdata" value="default_string" />
722 <param name="method" value="ontime" />
723 <param name="mformat" value="start-end" />
724 <param name="mflag" value="1" />
725 <param name="flag" value="255.0" />
726 </conditional>
727 </conditional>
728 </repeat>
729 <output name="config_out" ftype="txt">
730 <assert_contents>
731 <has_text_matching expression="test_variable;\s*flagManual\((?=.*method\s*=\s*[&quot;']ontime[&quot;']).*\)$" />
732 </assert_contents>
733 </output>
734 </test>
735 <test>
736 <param name="data" value="test1/data.csv" ftype="csv" />
737 <param name="run_test_mode" value="true" />
738 <repeat name="methods_repeat">
739 <conditional name="module_cond">
740 <param name="module_select" value="flagtools" />
741 <conditional name="method_cond">
742 <param name="method_select" value="flagUnflagged" />
743 <param name="field" value="test_variable" />
744 <param name="flag" value="255.0" />
745 </conditional>
746 </conditional>
747 </repeat>
748 <output name="config_out" ftype="txt">
749 <assert_contents>
750 <has_text_matching expression="test_variable;\s*flagUnflagged\(.*\)$" />
751 </assert_contents>
752 </output>
753 </test>
754 <test>
755 <param name="data" value="test1/data.csv" ftype="csv" />
756 <param name="run_test_mode" value="true" />
757 <repeat name="methods_repeat">
758 <conditional name="module_cond">
759 <param name="module_select" value="flagtools" />
760 <conditional name="method_cond">
761 <param name="method_select" value="forceFlags" />
762 <param name="field" value="test_variable" />
763 <param name="flag" value="255.0" />
764 </conditional>
765 </conditional>
766 </repeat>
767 <output name="config_out" ftype="txt">
768 <assert_contents>
769 <has_text_matching expression="test_variable;\s*forceFlags\(.*\)$" />
770 </assert_contents>
771 </output>
772 </test>
773 <test>
774 <param name="data" value="test1/data.csv" ftype="csv" />
775 <param name="run_test_mode" value="true" />
776 <repeat name="methods_repeat">
777 <conditional name="module_cond">
778 <param name="module_select" value="flagtools" />
779 <conditional name="method_cond">
780 <param name="method_select" value="orGroup" />
781 <param name="field" value="test_variable" />
782 <param name="group" value="default_string" />
783 <param name="target" value="test_variable" />
784 <param name="flag" value="255.0" />
785 </conditional>
786 </conditional>
787 </repeat>
788 <output name="config_out" ftype="txt">
789 <assert_contents>
790 <has_text_matching expression="test_variable;\s*orGroup\(.*\)$" />
791 </assert_contents>
792 </output>
793 </test>
794 <test>
795 <param name="data" value="test1/data.csv" ftype="csv" />
796 <param name="run_test_mode" value="true" />
797 <repeat name="methods_repeat">
798 <conditional name="module_cond">
799 <param name="module_select" value="flagtools" />
800 <conditional name="method_cond">
801 <param name="method_select" value="orGroup" />
802 <param name="field" value="test_variable" />
803 <param name="group" value="default_string" />
804 <param name="target" value="a_string" />
805 <param name="flag" value="255.0" />
806 </conditional>
807 </conditional>
808 </repeat>
809 <output name="config_out" ftype="txt">
810 <assert_contents>
811 <has_text_matching expression="test_variable;\s*orGroup\(.*\)$" />
812 </assert_contents>
813 </output>
814 </test>
815 <test>
816 <param name="data" value="test1/data.csv" ftype="csv" />
817 <param name="run_test_mode" value="true" />
818 <repeat name="methods_repeat">
819 <conditional name="module_cond">
820 <param name="module_select" value="flagtools" />
821 <conditional name="method_cond">
822 <param name="method_select" value="propagateFlags" />
823 <param name="field" value="test_variable" />
824 <param name="window" value="default_string" />
825 <param name="method" value="ffill" />
826 <param name="flag" value="255.0" />
827 <param name="dfilter" value="-inf" />
828 </conditional>
829 </conditional>
830 </repeat>
831 <output name="config_out" ftype="txt">
832 <assert_contents>
833 <has_text_matching expression="test_variable;\s*propagateFlags\(.*\)$" />
834 </assert_contents>
835 </output>
836 </test>
837 <test>
838 <param name="data" value="test1/data.csv" ftype="csv" />
839 <param name="run_test_mode" value="true" />
840 <repeat name="methods_repeat">
841 <conditional name="module_cond">
842 <param name="module_select" value="flagtools" />
843 <conditional name="method_cond">
844 <param name="method_select" value="propagateFlags" />
845 <param name="field" value="test_variable" />
846 <param name="window" value="default_string" />
847 <param name="method" value="ffill" />
848 <param name="flag" value="255.0" />
849 <param name="dfilter" value="-inf" />
850 </conditional>
851 </conditional>
852 </repeat>
853 <output name="config_out" ftype="txt">
854 <assert_contents>
855 <has_text_matching expression="test_variable;\s*propagateFlags\((?=.*method\s*=\s*[&quot;']ffill[&quot;']).*\)$" />
856 </assert_contents>
857 </output>
858 </test>
859 <test>
860 <param name="data" value="test1/data.csv" ftype="csv" />
861 <param name="run_test_mode" value="true" />
862 <repeat name="methods_repeat">
863 <conditional name="module_cond">
864 <param name="module_select" value="flagtools" />
865 <conditional name="method_cond">
866 <param name="method_select" value="propagateFlags" />
867 <param name="field" value="test_variable" />
868 <param name="window" value="default_string" />
869 <param name="method" value="bfill" />
870 <param name="flag" value="255.0" />
871 <param name="dfilter" value="-inf" />
872 </conditional>
873 </conditional>
874 </repeat>
875 <output name="config_out" ftype="txt">
876 <assert_contents>
877 <has_text_matching expression="test_variable;\s*propagateFlags\((?=.*method\s*=\s*[&quot;']bfill[&quot;']).*\)$" />
878 </assert_contents>
879 </output>
880 </test>
881 <test>
882 <param name="data" value="test1/data.csv" ftype="csv" />
883 <param name="run_test_mode" value="true" />
884 <repeat name="methods_repeat">
885 <conditional name="module_cond">
886 <param name="module_select" value="flagtools" />
887 <conditional name="method_cond">
888 <param name="method_select" value="transferFlags" />
889 <param name="field" value="test_variable" />
890 <param name="target" value="test_variable" />
891 <param name="squeeze" value="true" />
892 <param name="overwrite" value="true" />
893 </conditional>
894 </conditional>
895 </repeat>
896 <output name="config_out" ftype="txt">
897 <assert_contents>
898 <has_text_matching expression="test_variable;\s*transferFlags\(.*\)$" />
899 </assert_contents>
900 </output>
901 </test>
902 <test>
903 <param name="data" value="test1/data.csv" ftype="csv" />
904 <param name="run_test_mode" value="true" />
905 <repeat name="methods_repeat">
906 <conditional name="module_cond">
907 <param name="module_select" value="generic" />
908 <conditional name="method_cond">
909 <param name="method_select" value="flagGeneric" />
910 <param name="field" value="test_variable" />
911 <param name="func" value="default_string" />
912 <param name="target" value="test_variable" />
913 <param name="flag" value="255.0" />
914 </conditional>
915 </conditional>
916 </repeat>
917 <output name="config_out" ftype="txt">
918 <assert_contents>
919 <has_text_matching expression="test_variable;\s*flagGeneric\(.*\)$" />
920 </assert_contents>
921 </output>
922 </test>
923 <test>
924 <param name="data" value="test1/data.csv" ftype="csv" />
925 <param name="run_test_mode" value="true" />
926 <repeat name="methods_repeat">
927 <conditional name="module_cond">
928 <param name="module_select" value="generic" />
929 <conditional name="method_cond">
930 <param name="method_select" value="flagGeneric" />
931 <param name="field" value="test_variable" />
932 <param name="func" value="default_string" />
933 <param name="target" value="a_string" />
934 <param name="flag" value="255.0" />
935 </conditional>
936 </conditional>
937 </repeat>
938 <output name="config_out" ftype="txt">
939 <assert_contents>
940 <has_text_matching expression="test_variable;\s*flagGeneric\(.*\)$" />
941 </assert_contents>
942 </output>
943 </test>
944 <test>
945 <param name="data" value="test1/data.csv" ftype="csv" />
946 <param name="run_test_mode" value="true" />
947 <repeat name="methods_repeat">
948 <conditional name="module_cond">
949 <param name="module_select" value="generic" />
950 <conditional name="method_cond">
951 <param name="method_select" value="flagGeneric" />
952 <param name="field" value="a_string" />
953 <param name="func" value="default_string" />
954 <param name="target" value="test_variable" />
955 <param name="flag" value="255.0" />
956 </conditional>
957 </conditional>
958 </repeat>
959 <output name="config_out" ftype="txt">
960 <assert_contents>
961 <has_text_matching expression="a_string;\s*flagGeneric\(.*\)$" />
962 </assert_contents>
963 </output>
964 </test>
965 <test>
966 <param name="data" value="test1/data.csv" ftype="csv" />
967 <param name="run_test_mode" value="true" />
968 <repeat name="methods_repeat">
969 <conditional name="module_cond">
970 <param name="module_select" value="generic" />
971 <conditional name="method_cond">
972 <param name="method_select" value="processGeneric" />
973 <param name="field" value="test_variable" />
974 <param name="func" value="default_string" />
975 <param name="target" value="test_variable" />
976 <param name="dfilter" value="-inf" />
977 </conditional>
978 </conditional>
979 </repeat>
980 <output name="config_out" ftype="txt">
981 <assert_contents>
982 <has_text_matching expression="test_variable;\s*processGeneric\(.*\)$" />
983 </assert_contents>
984 </output>
985 </test>
986 <test>
987 <param name="data" value="test1/data.csv" ftype="csv" />
988 <param name="run_test_mode" value="true" />
989 <repeat name="methods_repeat">
990 <conditional name="module_cond">
991 <param name="module_select" value="generic" />
992 <conditional name="method_cond">
993 <param name="method_select" value="processGeneric" />
994 <param name="field" value="test_variable" />
995 <param name="func" value="default_string" />
996 <param name="target" value="a_string" />
997 <param name="dfilter" value="-inf" />
998 </conditional>
999 </conditional>
1000 </repeat>
1001 <output name="config_out" ftype="txt">
1002 <assert_contents>
1003 <has_text_matching expression="test_variable;\s*processGeneric\(.*\)$" />
1004 </assert_contents>
1005 </output>
1006 </test>
1007 <test>
1008 <param name="data" value="test1/data.csv" ftype="csv" />
1009 <param name="run_test_mode" value="true" />
1010 <repeat name="methods_repeat">
1011 <conditional name="module_cond">
1012 <param name="module_select" value="generic" />
1013 <conditional name="method_cond">
1014 <param name="method_select" value="processGeneric" />
1015 <param name="field" value="a_string" />
1016 <param name="func" value="default_string" />
1017 <param name="target" value="test_variable" />
1018 <param name="dfilter" value="-inf" />
1019 </conditional>
1020 </conditional>
1021 </repeat>
1022 <output name="config_out" ftype="txt">
1023 <assert_contents>
1024 <has_text_matching expression="a_string;\s*processGeneric\(.*\)$" />
1025 </assert_contents>
1026 </output>
1027 </test>
1028 <test>
1029 <param name="data" value="test1/data.csv" ftype="csv" />
1030 <param name="run_test_mode" value="true" />
1031 <repeat name="methods_repeat">
1032 <conditional name="module_cond">
1033 <param name="module_select" value="interpolation" />
1034 <conditional name="method_cond">
1035 <param name="method_select" value="align" />
1036 <param name="field" value="test_variable" />
1037 <param name="freq" value="default_string" />
1038 <param name="method" value="time" />
1039 <param name="order" value="2" />
1040 <param name="overwrite" value="true" />
1041 </conditional>
1042 </conditional>
1043 </repeat>
1044 <output name="config_out" ftype="txt">
1045 <assert_contents>
1046 <has_text_matching expression="test_variable;\s*align\(.*\)$" />
1047 </assert_contents>
1048 </output>
1049 </test>
1050 <test>
1051 <param name="data" value="test1/data.csv" ftype="csv" />
1052 <param name="run_test_mode" value="true" />
1053 <repeat name="methods_repeat">
1054 <conditional name="module_cond">
1055 <param name="module_select" value="interpolation" />
1056 <conditional name="method_cond">
1057 <param name="method_select" value="interpolateByRolling" />
1058 <param name="field" value="test_variable" />
1059 <param name="window" value="default_string" />
1060 <param name="func" value="median" />
1061 <param name="center" value="false" />
1062 <param name="min_periods" value="0" />
1063 <param name="flag" value="-inf" />
1064 </conditional>
1065 </conditional>
1066 </repeat>
1067 <output name="config_out" ftype="txt">
1068 <assert_contents>
1069 <has_text_matching expression="test_variable;\s*interpolateByRolling\(.*\)$" />
1070 </assert_contents>
1071 </output>
1072 </test>
1073 <test>
1074 <param name="data" value="test1/data.csv" ftype="csv" />
1075 <param name="run_test_mode" value="true" />
1076 <repeat name="methods_repeat">
1077 <conditional name="module_cond">
1078 <param name="module_select" value="noise" />
1079 <conditional name="method_cond">
1080 <param name="method_select" value="flagByScatterLowpass" />
1081 <param name="field" value="test_variable" />
1082 <param name="window" value="default_string" />
1083 <param name="thresh" value="1.0" />
1084 <param name="func" value="std" />
1085 <param name="sub_window" value="1D" />
1086 <param name="sub_thresh" value="1.0" />
1087 <param name="min_periods" value="1" />
1088 <param name="flag" value="255.0" />
1089 </conditional>
1090 </conditional>
1091 </repeat>
1092 <output name="config_out" ftype="txt">
1093 <assert_contents>
1094 <has_text_matching expression="test_variable;\s*flagByScatterLowpass\(.*\)$" />
1095 </assert_contents>
1096 </output>
1097 </test>
1098 <test>
1099 <param name="data" value="test1/data.csv" ftype="csv" />
1100 <param name="run_test_mode" value="true" />
1101 <repeat name="methods_repeat">
1102 <conditional name="module_cond">
1103 <param name="module_select" value="noise" />
1104 <conditional name="method_cond">
1105 <param name="method_select" value="flagByScatterLowpass" />
1106 <param name="field" value="test_variable" />
1107 <param name="window" value="default_string" />
1108 <param name="thresh" value="1.0" />
1109 <param name="func" value="std" />
1110 <param name="sub_window" value="a_string" />
1111 <param name="sub_thresh" value="1.0" />
1112 <param name="min_periods" value="1" />
1113 <param name="flag" value="255.0" />
1114 </conditional>
1115 </conditional>
1116 </repeat>
1117 <output name="config_out" ftype="txt">
1118 <assert_contents>
1119 <has_text_matching expression="test_variable;\s*flagByScatterLowpass\((?=.*sub_window\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
1120 </assert_contents>
1121 </output>
1122 </test>
1123 <test>
1124 <param name="data" value="test1/data.csv" ftype="csv" />
1125 <param name="run_test_mode" value="true" />
1126 <repeat name="methods_repeat">
1127 <conditional name="module_cond">
1128 <param name="module_select" value="noise" />
1129 <conditional name="method_cond">
1130 <param name="method_select" value="flagByScatterLowpass" />
1131 <param name="field" value="test_variable" />
1132 <param name="window" value="default_string" />
1133 <param name="thresh" value="1.0" />
1134 <param name="func" value="std" />
1135 <param name="sub_window" value="2H" />
1136 <param name="sub_thresh" value="1.0" />
1137 <param name="min_periods" value="1" />
1138 <param name="flag" value="255.0" />
1139 </conditional>
1140 </conditional>
1141 </repeat>
1142 <output name="config_out" ftype="txt">
1143 <assert_contents>
1144 <has_text_matching expression="test_variable;\s*flagByScatterLowpass\((?=.*sub_window\s*=\s*[&quot;']2H[&quot;']).*\)$" />
1145 </assert_contents>
1146 </output>
1147 </test>
1148 <test>
1149 <param name="data" value="test1/data.csv" ftype="csv" />
1150 <param name="run_test_mode" value="true" />
1151 <repeat name="methods_repeat">
1152 <conditional name="module_cond">
1153 <param name="module_select" value="noise" />
1154 <conditional name="method_cond">
1155 <param name="method_select" value="flagByStatLowPass" />
1156 <param name="field" value="test_variable" />
1157 <param name="window" value="default_string" />
1158 <param name="thresh" value="1.0" />
1159 <param name="func" value="std" />
1160 <param name="sub_window" value="1D" />
1161 <param name="sub_thresh" value="1.0" />
1162 <param name="min_periods" value="1" />
1163 <param name="flag" value="255.0" />
1164 </conditional>
1165 </conditional>
1166 </repeat>
1167 <output name="config_out" ftype="txt">
1168 <assert_contents>
1169 <has_text_matching expression="test_variable;\s*flagByStatLowPass\(.*\)$" />
1170 </assert_contents>
1171 </output>
1172 </test>
1173 <test>
1174 <param name="data" value="test1/data.csv" ftype="csv" />
1175 <param name="run_test_mode" value="true" />
1176 <repeat name="methods_repeat">
1177 <conditional name="module_cond">
1178 <param name="module_select" value="noise" />
1179 <conditional name="method_cond">
1180 <param name="method_select" value="flagByStatLowPass" />
1181 <param name="field" value="test_variable" />
1182 <param name="window" value="default_string" />
1183 <param name="thresh" value="1.0" />
1184 <param name="func" value="std" />
1185 <param name="sub_window" value="a_string" />
1186 <param name="sub_thresh" value="1.0" />
1187 <param name="min_periods" value="1" />
1188 <param name="flag" value="255.0" />
1189 </conditional>
1190 </conditional>
1191 </repeat>
1192 <output name="config_out" ftype="txt">
1193 <assert_contents>
1194 <has_text_matching expression="test_variable;\s*flagByStatLowPass\((?=.*sub_window\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
1195 </assert_contents>
1196 </output>
1197 </test>
1198 <test>
1199 <param name="data" value="test1/data.csv" ftype="csv" />
1200 <param name="run_test_mode" value="true" />
1201 <repeat name="methods_repeat">
1202 <conditional name="module_cond">
1203 <param name="module_select" value="noise" />
1204 <conditional name="method_cond">
1205 <param name="method_select" value="flagByStatLowPass" />
1206 <param name="field" value="test_variable" />
1207 <param name="window" value="default_string" />
1208 <param name="thresh" value="1.0" />
1209 <param name="func" value="std" />
1210 <param name="sub_window" value="2H" />
1211 <param name="sub_thresh" value="1.0" />
1212 <param name="min_periods" value="1" />
1213 <param name="flag" value="255.0" />
1214 </conditional>
1215 </conditional>
1216 </repeat>
1217 <output name="config_out" ftype="txt">
1218 <assert_contents>
1219 <has_text_matching expression="test_variable;\s*flagByStatLowPass\((?=.*sub_window\s*=\s*[&quot;']2H[&quot;']).*\)$" />
1220 </assert_contents>
1221 </output>
1222 </test>
1223 <test>
1224 <param name="data" value="test1/data.csv" ftype="csv" />
1225 <param name="run_test_mode" value="true" />
1226 <repeat name="methods_repeat">
1227 <conditional name="module_cond">
1228 <param name="module_select" value="outliers" />
1229 <conditional name="method_cond">
1230 <param name="method_select" value="flagByGrubbs" />
1231 <param name="field" value="test_variable" />
1232 <param name="window" value="default_string" />
1233 <param name="alpha" value="0.05" />
1234 <param name="min_periods" value="8" />
1235 <param name="pedantic" value="true" />
1236 <param name="flag" value="255.0" />
1237 </conditional>
1238 </conditional>
1239 </repeat>
1240 <output name="config_out" ftype="txt">
1241 <assert_contents>
1242 <has_text_matching expression="test_variable;\s*flagByGrubbs\(.*\)$" />
1243 </assert_contents>
1244 </output>
1245 </test>
1246 <test>
1247 <param name="data" value="test1/data.csv" ftype="csv" />
1248 <param name="run_test_mode" value="true" />
1249 <repeat name="methods_repeat">
1250 <conditional name="module_cond">
1251 <param name="module_select" value="outliers" />
1252 <conditional name="method_cond">
1253 <param name="method_select" value="flagByStray" />
1254 <param name="field" value="test_variable" />
1255 <conditional name="window_cond">
1256 <param name="window_select_type" value="number" />
1257 <param name="window" value="1" />
1258 </conditional>
1259 <param name="min_periods" value="11" />
1260 <param name="iter_start" value="0.5" />
1261 <param name="alpha" value="0.05" />
1262 <param name="flag" value="255.0" />
1263 </conditional>
1264 </conditional>
1265 </repeat>
1266 <output name="config_out" ftype="txt">
1267 <assert_contents>
1268 <has_text_matching expression="test_variable;\s*flagByStray\(.*\)$" />
1269 </assert_contents>
1270 </output>
1271 </test>
1272 <test>
1273 <param name="data" value="test1/data.csv" ftype="csv" />
1274 <param name="run_test_mode" value="true" />
1275 <repeat name="methods_repeat">
1276 <conditional name="module_cond">
1277 <param name="module_select" value="outliers" />
1278 <conditional name="method_cond">
1279 <param name="method_select" value="flagByStray" />
1280 <param name="field" value="test_variable" />
1281 <conditional name="window_cond">
1282 <param name="window_select_type" value="number" />
1283 <param name="window" value="123" />
1284 </conditional>
1285 <param name="min_periods" value="11" />
1286 <param name="iter_start" value="0.5" />
1287 <param name="alpha" value="0.05" />
1288 <param name="flag" value="255.0" />
1289 </conditional>
1290 </conditional>
1291 </repeat>
1292 <output name="config_out" ftype="txt">
1293 <assert_contents>
1294 <has_text_matching expression="test_variable;\s*flagByStray\((?=.*window\s*=\s*(?:[&quot;']?123[&quot;']?)).*\)$" />
1295 </assert_contents>
1296 </output>
1297 </test>
1298 <test>
1299 <param name="data" value="test1/data.csv" ftype="csv" />
1300 <param name="run_test_mode" value="true" />
1301 <repeat name="methods_repeat">
1302 <conditional name="module_cond">
1303 <param name="module_select" value="outliers" />
1304 <conditional name="method_cond">
1305 <param name="method_select" value="flagByStray" />
1306 <param name="field" value="test_variable" />
1307 <conditional name="window_cond">
1308 <param name="window_select_type" value="timedelta" />
1309 <param name="window" value="a_string" />
1310 </conditional>
1311 <param name="min_periods" value="11" />
1312 <param name="iter_start" value="0.5" />
1313 <param name="alpha" value="0.05" />
1314 <param name="flag" value="255.0" />
1315 </conditional>
1316 </conditional>
1317 </repeat>
1318 <output name="config_out" ftype="txt">
1319 <assert_contents>
1320 <has_text_matching expression="test_variable;\s*flagByStray\((?=.*window\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
1321 </assert_contents>
1322 </output>
1323 </test>
1324 <test>
1325 <param name="data" value="test1/data.csv" ftype="csv" />
1326 <param name="run_test_mode" value="true" />
1327 <repeat name="methods_repeat">
1328 <conditional name="module_cond">
1329 <param name="module_select" value="outliers" />
1330 <conditional name="method_cond">
1331 <param name="method_select" value="flagLOF" />
1332 <repeat name="field_repeat">
1333 <param name="field" value="test_variable" />
1334 </repeat>
1335 <param name="n" value="20" />
1336 <conditional name="thresh_cond">
1337 <param name="thresh_select_type" value="float" />
1338 <param name="thresh" value="1.5" />
1339 </conditional>
1340 <param name="algorithm" value="ball_tree" />
1341 <param name="p" value="1" />
1342 <param name="flag" value="255.0" />
1343 </conditional>
1344 </conditional>
1345 </repeat>
1346 <output name="config_out" ftype="txt">
1347 <assert_contents>
1348 <has_text_matching expression="test_variable;\s*flagLOF\(.*\)$" />
1349 </assert_contents>
1350 </output>
1351 </test>
1352 <test>
1353 <param name="data" value="test1/data.csv" ftype="csv" />
1354 <param name="run_test_mode" value="true" />
1355 <repeat name="methods_repeat">
1356 <conditional name="module_cond">
1357 <param name="module_select" value="outliers" />
1358 <conditional name="method_cond">
1359 <param name="method_select" value="flagLOF" />
1360 <repeat name="field_repeat">
1361 <param name="field" value="test_variable" />
1362 </repeat>
1363 <param name="n" value="20" />
1364 <conditional name="thresh_cond">
1365 <param name="thresh_select_type" value="float" />
1366 <param name="thresh" value="1.5" />
1367 </conditional>
1368 <param name="algorithm" value="ball_tree" />
1369 <param name="p" value="1" />
1370 <param name="flag" value="255.0" />
1371 </conditional>
1372 </conditional>
1373 </repeat>
1374 <output name="config_out" ftype="txt">
1375 <assert_contents>
1376 <has_text_matching expression="test_variable;\s*flagLOF\((?=.*algorithm\s*=\s*[&quot;']ball_tree[&quot;']).*\)$" />
1377 </assert_contents>
1378 </output>
1379 </test>
1380 <test>
1381 <param name="data" value="test1/data.csv" ftype="csv" />
1382 <param name="run_test_mode" value="true" />
1383 <repeat name="methods_repeat">
1384 <conditional name="module_cond">
1385 <param name="module_select" value="outliers" />
1386 <conditional name="method_cond">
1387 <param name="method_select" value="flagLOF" />
1388 <repeat name="field_repeat">
1389 <param name="field" value="test_variable" />
1390 </repeat>
1391 <param name="n" value="20" />
1392 <conditional name="thresh_cond">
1393 <param name="thresh_select_type" value="float" />
1394 <param name="thresh" value="1.5" />
1395 </conditional>
1396 <param name="algorithm" value="kd_tree" />
1397 <param name="p" value="1" />
1398 <param name="flag" value="255.0" />
1399 </conditional>
1400 </conditional>
1401 </repeat>
1402 <output name="config_out" ftype="txt">
1403 <assert_contents>
1404 <has_text_matching expression="test_variable;\s*flagLOF\((?=.*algorithm\s*=\s*[&quot;']kd_tree[&quot;']).*\)$" />
1405 </assert_contents>
1406 </output>
1407 </test>
1408 <test>
1409 <param name="data" value="test1/data.csv" ftype="csv" />
1410 <param name="run_test_mode" value="true" />
1411 <repeat name="methods_repeat">
1412 <conditional name="module_cond">
1413 <param name="module_select" value="outliers" />
1414 <conditional name="method_cond">
1415 <param name="method_select" value="flagLOF" />
1416 <repeat name="field_repeat">
1417 <param name="field" value="test_variable" />
1418 </repeat>
1419 <param name="n" value="20" />
1420 <conditional name="thresh_cond">
1421 <param name="thresh_select_type" value="float" />
1422 <param name="thresh" value="1.5" />
1423 </conditional>
1424 <param name="algorithm" value="brute" />
1425 <param name="p" value="1" />
1426 <param name="flag" value="255.0" />
1427 </conditional>
1428 </conditional>
1429 </repeat>
1430 <output name="config_out" ftype="txt">
1431 <assert_contents>
1432 <has_text_matching expression="test_variable;\s*flagLOF\((?=.*algorithm\s*=\s*[&quot;']brute[&quot;']).*\)$" />
1433 </assert_contents>
1434 </output>
1435 </test>
1436 <test>
1437 <param name="data" value="test1/data.csv" ftype="csv" />
1438 <param name="run_test_mode" value="true" />
1439 <repeat name="methods_repeat">
1440 <conditional name="module_cond">
1441 <param name="module_select" value="outliers" />
1442 <conditional name="method_cond">
1443 <param name="method_select" value="flagLOF" />
1444 <repeat name="field_repeat">
1445 <param name="field" value="test_variable" />
1446 </repeat>
1447 <param name="n" value="20" />
1448 <conditional name="thresh_cond">
1449 <param name="thresh_select_type" value="float" />
1450 <param name="thresh" value="1.5" />
1451 </conditional>
1452 <param name="algorithm" value="auto" />
1453 <param name="p" value="1" />
1454 <param name="flag" value="255.0" />
1455 </conditional>
1456 </conditional>
1457 </repeat>
1458 <output name="config_out" ftype="txt">
1459 <assert_contents>
1460 <has_text_matching expression="test_variable;\s*flagLOF\((?=.*algorithm\s*=\s*[&quot;']auto[&quot;']).*\)$" />
1461 </assert_contents>
1462 </output>
1463 </test>
1464 <test>
1465 <param name="data" value="test1/data.csv" ftype="csv" />
1466 <param name="run_test_mode" value="true" />
1467 <repeat name="methods_repeat">
1468 <conditional name="module_cond">
1469 <param name="module_select" value="outliers" />
1470 <conditional name="method_cond">
1471 <param name="method_select" value="flagLOF" />
1472 <repeat name="field_repeat">
1473 <param name="field" value="test_variable" />
1474 </repeat>
1475 <param name="n" value="20" />
1476 <param name="algorithm" value="ball_tree" />
1477 <param name="p" value="1" />
1478 <param name="flag" value="255.0" />
1479 <conditional name="thresh_cond">
1480 <param name="thresh_select_type" value="float" />
1481 <param name="thresh" value="45.6" />
1482 </conditional>
1483 </conditional>
1484 </conditional>
1485 </repeat>
1486 <output name="config_out" ftype="txt">
1487 <assert_contents>
1488 <has_text_matching expression="test_variable;\s*flagLOF\(.*\)$" />
1489 </assert_contents>
1490 </output>
1491 </test>
1492 <test>
1493 <param name="data" value="test1/data.csv" ftype="csv" />
1494 <param name="run_test_mode" value="true" />
1495 <repeat name="methods_repeat">
1496 <conditional name="module_cond">
1497 <param name="module_select" value="outliers" />
1498 <conditional name="method_cond">
1499 <param name="method_select" value="flagMAD" />
1500 <param name="field" value="test_variable" />
1501 <conditional name="window_cond">
1502 <param name="window_select_type" value="number" />
1503 <param name="window" value="1" />
1504 </conditional>
1505 <param name="z" value="3.5" />
1506 <param name="min_residuals" value="1" />
1507 <param name="min_periods" value="1" />
1508 <param name="center" value="true" />
1509 <param name="flag" value="255.0" />
1510 </conditional>
1511 </conditional>
1512 </repeat>
1513 <output name="config_out" ftype="txt">
1514 <assert_contents>
1515 <has_text_matching expression="test_variable;\s*flagMAD\(.*\)$" />
1516 </assert_contents>
1517 </output>
1518 </test>
1519 <test>
1520 <param name="data" value="test1/data.csv" ftype="csv" />
1521 <param name="run_test_mode" value="true" />
1522 <repeat name="methods_repeat">
1523 <conditional name="module_cond">
1524 <param name="module_select" value="outliers" />
1525 <conditional name="method_cond">
1526 <param name="method_select" value="flagMAD" />
1527 <param name="field" value="test_variable" />
1528 <conditional name="window_cond">
1529 <param name="window_select_type" value="timedelta" />
1530 <param name="window" value="a_string" />
1531 </conditional>
1532 <param name="z" value="3.5" />
1533 <param name="min_residuals" value="1" />
1534 <param name="min_periods" value="1" />
1535 <param name="center" value="true" />
1536 <param name="flag" value="255.0" />
1537 </conditional>
1538 </conditional>
1539 </repeat>
1540 <output name="config_out" ftype="txt">
1541 <assert_contents>
1542 <has_text_matching expression="test_variable;\s*flagMAD\((?=.*window\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
1543 </assert_contents>
1544 </output>
1545 </test>
1546 <test>
1547 <param name="data" value="test1/data.csv" ftype="csv" />
1548 <param name="run_test_mode" value="true" />
1549 <repeat name="methods_repeat">
1550 <conditional name="module_cond">
1551 <param name="module_select" value="outliers" />
1552 <conditional name="method_cond">
1553 <param name="method_select" value="flagMAD" />
1554 <param name="field" value="test_variable" />
1555 <conditional name="window_cond">
1556 <param name="window_select_type" value="number" />
1557 <param name="window" value="123" />
1558 </conditional>
1559 <param name="z" value="3.5" />
1560 <param name="min_residuals" value="1" />
1561 <param name="min_periods" value="1" />
1562 <param name="center" value="true" />
1563 <param name="flag" value="255.0" />
1564 </conditional>
1565 </conditional>
1566 </repeat>
1567 <output name="config_out" ftype="txt">
1568 <assert_contents>
1569 <has_text_matching expression="test_variable;\s*flagMAD\((?=.*window\s*=\s*(?:[&quot;']?123[&quot;']?)).*\)$" />
1570 </assert_contents>
1571 </output>
1572 </test>
1573 <test>
1574 <param name="data" value="test1/data.csv" ftype="csv" />
1575 <param name="run_test_mode" value="true" />
1576 <repeat name="methods_repeat">
1577 <conditional name="module_cond">
1578 <param name="module_select" value="outliers" />
1579 <conditional name="method_cond">
1580 <param name="method_select" value="flagMVScores" />
1581 <repeat name="field_repeat">
1582 <param name="field" value="test_variable" />
1583 </repeat>
1584 <param name="trafo" value="&lt;function OutliersMixin.&lt;lambda&gt; at 0x7149746f11c0&gt;" />
1585 <param name="alpha" value="0.05" />
1586 <param name="n" value="10" />
1587 <param name="func" value="sum" />
1588 <param name="iter_start" value="0.5" />
1589 <conditional name="window_cond">
1590 <param name="window_select_type" value="number" />
1591 <param name="window" value="1" />
1592 </conditional>
1593 <param name="min_periods" value="11" />
1594 <param name="stray_range" value="default_string" />
1595 <param name="drop_flagged" value="true" />
1596 <param name="thresh" value="3.5" />
1597 <param name="min_periods_r" value="1" />
1598 <param name="flag" value="255.0" />
1599 </conditional>
1600 </conditional>
1601 </repeat>
1602 <output name="config_out" ftype="txt">
1603 <assert_contents>
1604 <has_text_matching expression="test_variable;\s*flagMVScores\(.*\)$" />
1605 </assert_contents>
1606 </output>
1607 </test>
1608 <test>
1609 <param name="data" value="test1/data.csv" ftype="csv" />
1610 <param name="run_test_mode" value="true" />
1611 <repeat name="methods_repeat">
1612 <conditional name="module_cond">
1613 <param name="module_select" value="outliers" />
1614 <conditional name="method_cond">
1615 <param name="method_select" value="flagMVScores" />
1616 <repeat name="field_repeat">
1617 <param name="field" value="test_variable" />
1618 </repeat>
1619 <param name="trafo" value="&lt;function OutliersMixin.&lt;lambda&gt; at 0x7149746f11c0&gt;" />
1620 <param name="alpha" value="0.05" />
1621 <param name="n" value="10" />
1622 <param name="func" value="sum" />
1623 <param name="iter_start" value="0.5" />
1624 <conditional name="window_cond">
1625 <param name="window_select_type" value="number" />
1626 <param name="window" value="123" />
1627 </conditional>
1628 <param name="min_periods" value="11" />
1629 <param name="stray_range" value="default_string" />
1630 <param name="drop_flagged" value="true" />
1631 <param name="thresh" value="3.5" />
1632 <param name="min_periods_r" value="1" />
1633 <param name="flag" value="255.0" />
1634 </conditional>
1635 </conditional>
1636 </repeat>
1637 <output name="config_out" ftype="txt">
1638 <assert_contents>
1639 <has_text_matching expression="test_variable;\s*flagMVScores\((?=.*window\s*=\s*(?:[&quot;']?123[&quot;']?)).*\)$" />
1640 </assert_contents>
1641 </output>
1642 </test>
1643 <test>
1644 <param name="data" value="test1/data.csv" ftype="csv" />
1645 <param name="run_test_mode" value="true" />
1646 <repeat name="methods_repeat">
1647 <conditional name="module_cond">
1648 <param name="module_select" value="outliers" />
1649 <conditional name="method_cond">
1650 <param name="method_select" value="flagMVScores" />
1651 <repeat name="field_repeat">
1652 <param name="field" value="test_variable" />
1653 </repeat>
1654 <param name="trafo" value="&lt;function OutliersMixin.&lt;lambda&gt; at 0x7149746f11c0&gt;" />
1655 <param name="alpha" value="0.05" />
1656 <param name="n" value="10" />
1657 <param name="func" value="sum" />
1658 <param name="iter_start" value="0.5" />
1659 <conditional name="window_cond">
1660 <param name="window_select_type" value="timedelta" />
1661 <param name="window" value="a_string" />
1662 </conditional>
1663 <param name="min_periods" value="11" />
1664 <param name="stray_range" value="default_string" />
1665 <param name="drop_flagged" value="true" />
1666 <param name="thresh" value="3.5" />
1667 <param name="min_periods_r" value="1" />
1668 <param name="flag" value="255.0" />
1669 </conditional>
1670 </conditional>
1671 </repeat>
1672 <output name="config_out" ftype="txt">
1673 <assert_contents>
1674 <has_text_matching expression="test_variable;\s*flagMVScores\((?=.*window\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
1675 </assert_contents>
1676 </output>
1677 </test>
1678 <test>
1679 <param name="data" value="test1/data.csv" ftype="csv" />
1680 <param name="run_test_mode" value="true" />
1681 <repeat name="methods_repeat">
1682 <conditional name="module_cond">
1683 <param name="module_select" value="outliers" />
1684 <conditional name="method_cond">
1685 <param name="method_select" value="flagOffset" />
1686 <param name="field" value="test_variable" />
1687 <param name="tolerance" value="1.0" />
1688 <param name="window" value="default_string" />
1689 <param name="thresh" value="1.0" />
1690 <param name="thresh_relative" value="1.0" />
1691 <param name="flag" value="255.0" />
1692 </conditional>
1693 </conditional>
1694 </repeat>
1695 <output name="config_out" ftype="txt">
1696 <assert_contents>
1697 <has_text_matching expression="test_variable;\s*flagOffset\(.*\)$" />
1698 </assert_contents>
1699 </output>
1700 </test>
1701 <test>
1702 <param name="data" value="test1/data.csv" ftype="csv" />
1703 <param name="run_test_mode" value="true" />
1704 <repeat name="methods_repeat">
1705 <conditional name="module_cond">
1706 <param name="module_select" value="outliers" />
1707 <conditional name="method_cond">
1708 <param name="method_select" value="flagRaise" />
1709 <param name="field" value="test_variable" />
1710 <param name="thresh" value="1.0" />
1711 <param name="raise_window" value="default_string" />
1712 <param name="freq" value="default_string" />
1713 <param name="average_window" value="default_string" />
1714 <param name="raise_factor" value="2.0" />
1715 <param name="slope" value="1.0" />
1716 <param name="weight" value="0.8" />
1717 <param name="flag" value="255.0" />
1718 </conditional>
1719 </conditional>
1720 </repeat>
1721 <output name="config_out" ftype="txt">
1722 <assert_contents>
1723 <has_text_matching expression="test_variable;\s*flagRaise\(.*\)$" />
1724 </assert_contents>
1725 </output>
1726 </test>
1727 <test>
1728 <param name="data" value="test1/data.csv" ftype="csv" />
1729 <param name="run_test_mode" value="true" />
1730 <repeat name="methods_repeat">
1731 <conditional name="module_cond">
1732 <param name="module_select" value="outliers" />
1733 <conditional name="method_cond">
1734 <param name="method_select" value="flagRange" />
1735 <param name="field" value="test_variable" />
1736 <param name="min" value="-inf" />
1737 <param name="max" value="inf" />
1738 <param name="flag" value="255.0" />
1739 </conditional>
1740 </conditional>
1741 </repeat>
1742 <output name="config_out" ftype="txt">
1743 <assert_contents>
1744 <has_text_matching expression="test_variable;\s*flagRange\(.*\)$" />
1745 </assert_contents>
1746 </output>
1747 </test>
1748 <test>
1749 <param name="data" value="test1/data.csv" ftype="csv" />
1750 <param name="run_test_mode" value="true" />
1751 <repeat name="methods_repeat">
1752 <conditional name="module_cond">
1753 <param name="module_select" value="outliers" />
1754 <conditional name="method_cond">
1755 <param name="method_select" value="flagUniLOF" />
1756 <param name="field" value="test_variable" />
1757 <param name="n" value="20" />
1758 <conditional name="thresh_cond">
1759 <param name="thresh_select_type" value="float" />
1760 <param name="thresh" value="1.5" />
1761 </conditional>
1762 <param name="algorithm" value="ball_tree" />
1763 <param name="p" value="1" />
1764 <conditional name="density_cond">
1765 <param name="density_select_type" value="auto" />
1766 <param name="density" value="auto" />
1767 </conditional>
1768 <param name="fill_na" value="false" />
1769 <param name="slope_correct" value="false" />
1770 <param name="min_offset" value="1.0" />
1771 <param name="flag" value="255.0" />
1772 </conditional>
1773 </conditional>
1774 </repeat>
1775 <output name="config_out" ftype="txt">
1776 <assert_contents>
1777 <has_text_matching expression="test_variable;\s*flagUniLOF\(.*\)$" />
1778 </assert_contents>
1779 </output>
1780 </test>
1781 <test>
1782 <param name="data" value="test1/data.csv" ftype="csv" />
1783 <param name="run_test_mode" value="true" />
1784 <repeat name="methods_repeat">
1785 <conditional name="module_cond">
1786 <param name="module_select" value="outliers" />
1787 <conditional name="method_cond">
1788 <param name="method_select" value="flagUniLOF" />
1789 <param name="field" value="test_variable" />
1790 <param name="n" value="20" />
1791 <conditional name="thresh_cond">
1792 <param name="thresh_select_type" value="float" />
1793 <param name="thresh" value="1.5" />
1794 </conditional>
1795 <param name="algorithm" value="ball_tree" />
1796 <param name="p" value="1" />
1797 <conditional name="density_cond">
1798 <param name="density_select_type" value="auto" />
1799 <param name="density" value="auto" />
1800 </conditional>
1801 <param name="fill_na" value="false" />
1802 <param name="slope_correct" value="false" />
1803 <param name="min_offset" value="1.0" />
1804 <param name="flag" value="255.0" />
1805 </conditional>
1806 </conditional>
1807 </repeat>
1808 <output name="config_out" ftype="txt">
1809 <assert_contents>
1810 <has_text_matching expression="test_variable;\s*flagUniLOF\((?=.*algorithm\s*=\s*[&quot;']ball_tree[&quot;']).*\)$" />
1811 </assert_contents>
1812 </output>
1813 </test>
1814 <test>
1815 <param name="data" value="test1/data.csv" ftype="csv" />
1816 <param name="run_test_mode" value="true" />
1817 <repeat name="methods_repeat">
1818 <conditional name="module_cond">
1819 <param name="module_select" value="outliers" />
1820 <conditional name="method_cond">
1821 <param name="method_select" value="flagUniLOF" />
1822 <param name="field" value="test_variable" />
1823 <param name="n" value="20" />
1824 <conditional name="thresh_cond">
1825 <param name="thresh_select_type" value="float" />
1826 <param name="thresh" value="1.5" />
1827 </conditional>
1828 <param name="algorithm" value="kd_tree" />
1829 <param name="p" value="1" />
1830 <conditional name="density_cond">
1831 <param name="density_select_type" value="auto" />
1832 <param name="density" value="auto" />
1833 </conditional>
1834 <param name="fill_na" value="false" />
1835 <param name="slope_correct" value="false" />
1836 <param name="min_offset" value="1.0" />
1837 <param name="flag" value="255.0" />
1838 </conditional>
1839 </conditional>
1840 </repeat>
1841 <output name="config_out" ftype="txt">
1842 <assert_contents>
1843 <has_text_matching expression="test_variable;\s*flagUniLOF\((?=.*algorithm\s*=\s*[&quot;']kd_tree[&quot;']).*\)$" />
1844 </assert_contents>
1845 </output>
1846 </test>
1847 <test>
1848 <param name="data" value="test1/data.csv" ftype="csv" />
1849 <param name="run_test_mode" value="true" />
1850 <repeat name="methods_repeat">
1851 <conditional name="module_cond">
1852 <param name="module_select" value="outliers" />
1853 <conditional name="method_cond">
1854 <param name="method_select" value="flagUniLOF" />
1855 <param name="field" value="test_variable" />
1856 <param name="n" value="20" />
1857 <conditional name="thresh_cond">
1858 <param name="thresh_select_type" value="float" />
1859 <param name="thresh" value="1.5" />
1860 </conditional>
1861 <param name="algorithm" value="brute" />
1862 <param name="p" value="1" />
1863 <conditional name="density_cond">
1864 <param name="density_select_type" value="auto" />
1865 <param name="density" value="auto" />
1866 </conditional>
1867 <param name="fill_na" value="false" />
1868 <param name="slope_correct" value="false" />
1869 <param name="min_offset" value="1.0" />
1870 <param name="flag" value="255.0" />
1871 </conditional>
1872 </conditional>
1873 </repeat>
1874 <output name="config_out" ftype="txt">
1875 <assert_contents>
1876 <has_text_matching expression="test_variable;\s*flagUniLOF\((?=.*algorithm\s*=\s*[&quot;']brute[&quot;']).*\)$" />
1877 </assert_contents>
1878 </output>
1879 </test>
1880 <test>
1881 <param name="data" value="test1/data.csv" ftype="csv" />
1882 <param name="run_test_mode" value="true" />
1883 <repeat name="methods_repeat">
1884 <conditional name="module_cond">
1885 <param name="module_select" value="outliers" />
1886 <conditional name="method_cond">
1887 <param name="method_select" value="flagUniLOF" />
1888 <param name="field" value="test_variable" />
1889 <param name="n" value="20" />
1890 <conditional name="thresh_cond">
1891 <param name="thresh_select_type" value="float" />
1892 <param name="thresh" value="1.5" />
1893 </conditional>
1894 <param name="algorithm" value="auto" />
1895 <param name="p" value="1" />
1896 <conditional name="density_cond">
1897 <param name="density_select_type" value="auto" />
1898 <param name="density" value="auto" />
1899 </conditional>
1900 <param name="fill_na" value="false" />
1901 <param name="slope_correct" value="false" />
1902 <param name="min_offset" value="1.0" />
1903 <param name="flag" value="255.0" />
1904 </conditional>
1905 </conditional>
1906 </repeat>
1907 <output name="config_out" ftype="txt">
1908 <assert_contents>
1909 <has_text_matching expression="test_variable;\s*flagUniLOF\((?=.*algorithm\s*=\s*[&quot;']auto[&quot;']).*\)$" />
1910 </assert_contents>
1911 </output>
1912 </test>
1913 <test>
1914 <param name="data" value="test1/data.csv" ftype="csv" />
1915 <param name="run_test_mode" value="true" />
1916 <repeat name="methods_repeat">
1917 <conditional name="module_cond">
1918 <param name="module_select" value="outliers" />
1919 <conditional name="method_cond">
1920 <param name="method_select" value="flagUniLOF" />
1921 <param name="field" value="test_variable" />
1922 <param name="n" value="20" />
1923 <param name="algorithm" value="ball_tree" />
1924 <param name="p" value="1" />
1925 <conditional name="density_cond">
1926 <param name="density_select_type" value="auto" />
1927 <param name="density" value="auto" />
1928 </conditional>
1929 <param name="fill_na" value="false" />
1930 <param name="slope_correct" value="false" />
1931 <param name="min_offset" value="1.0" />
1932 <param name="flag" value="255.0" />
1933 <conditional name="thresh_cond">
1934 <param name="thresh_select_type" value="float" />
1935 <param name="thresh" value="45.6" />
1936 </conditional>
1937 </conditional>
1938 </conditional>
1939 </repeat>
1940 <output name="config_out" ftype="txt">
1941 <assert_contents>
1942 <has_text_matching expression="test_variable;\s*flagUniLOF\(.*\)$" />
1943 </assert_contents>
1944 </output>
1945 </test>
1946 <test>
1947 <param name="data" value="test1/data.csv" ftype="csv" />
1948 <param name="run_test_mode" value="true" />
1949 <repeat name="methods_repeat">
1950 <conditional name="module_cond">
1951 <param name="module_select" value="outliers" />
1952 <conditional name="method_cond">
1953 <param name="method_select" value="flagUniLOF" />
1954 <param name="field" value="test_variable" />
1955 <param name="n" value="20" />
1956 <conditional name="thresh_cond">
1957 <param name="thresh_select_type" value="float" />
1958 <param name="thresh" value="1.5" />
1959 </conditional>
1960 <param name="algorithm" value="ball_tree" />
1961 <param name="p" value="1" />
1962 <param name="fill_na" value="false" />
1963 <param name="slope_correct" value="false" />
1964 <param name="min_offset" value="1.0" />
1965 <param name="flag" value="255.0" />
1966 <conditional name="density_cond">
1967 <param name="density_select_type" value="float" />
1968 <param name="density" value="45.6" />
1969 </conditional>
1970 </conditional>
1971 </conditional>
1972 </repeat>
1973 <output name="config_out" ftype="txt">
1974 <assert_contents>
1975 <has_text_matching expression="test_variable;\s*flagUniLOF\(.*\)$" />
1976 </assert_contents>
1977 </output>
1978 </test>
1979 <test>
1980 <param name="data" value="test1/data.csv" ftype="csv" />
1981 <param name="run_test_mode" value="true" />
1982 <repeat name="methods_repeat">
1983 <conditional name="module_cond">
1984 <param name="module_select" value="outliers" />
1985 <conditional name="method_cond">
1986 <param name="method_select" value="flagZScore" />
1987 <repeat name="field_repeat">
1988 <param name="field" value="test_variable" />
1989 </repeat>
1990 <param name="method" value="standard" />
1991 <conditional name="window_cond">
1992 <param name="window_select_type" value="number" />
1993 <param name="window" value="1" />
1994 </conditional>
1995 <param name="thresh" value="3" />
1996 <param name="min_residuals" value="1" />
1997 <param name="min_periods" value="1" />
1998 <param name="center" value="false" />
1999 <param name="axis" value="0" />
2000 <param name="flag" value="255.0" />
2001 </conditional>
2002 </conditional>
2003 </repeat>
2004 <output name="config_out" ftype="txt">
2005 <assert_contents>
2006 <has_text_matching expression="test_variable;\s*flagZScore\(.*\)$" />
2007 </assert_contents>
2008 </output>
2009 </test>
2010 <test>
2011 <param name="data" value="test1/data.csv" ftype="csv" />
2012 <param name="run_test_mode" value="true" />
2013 <repeat name="methods_repeat">
2014 <conditional name="module_cond">
2015 <param name="module_select" value="outliers" />
2016 <conditional name="method_cond">
2017 <param name="method_select" value="flagZScore" />
2018 <repeat name="field_repeat">
2019 <param name="field" value="test_variable" />
2020 </repeat>
2021 <param name="method" value="standard" />
2022 <conditional name="window_cond">
2023 <param name="window_select_type" value="timedelta" />
2024 <param name="window" value="a_string" />
2025 </conditional>
2026 <param name="thresh" value="3" />
2027 <param name="min_residuals" value="1" />
2028 <param name="min_periods" value="1" />
2029 <param name="center" value="false" />
2030 <param name="axis" value="0" />
2031 <param name="flag" value="255.0" />
2032 </conditional>
2033 </conditional>
2034 </repeat>
2035 <output name="config_out" ftype="txt">
2036 <assert_contents>
2037 <has_text_matching expression="test_variable;\s*flagZScore\((?=.*window\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
2038 </assert_contents>
2039 </output>
2040 </test>
2041 <test>
2042 <param name="data" value="test1/data.csv" ftype="csv" />
2043 <param name="run_test_mode" value="true" />
2044 <repeat name="methods_repeat">
2045 <conditional name="module_cond">
2046 <param name="module_select" value="outliers" />
2047 <conditional name="method_cond">
2048 <param name="method_select" value="flagZScore" />
2049 <repeat name="field_repeat">
2050 <param name="field" value="test_variable" />
2051 </repeat>
2052 <param name="method" value="standard" />
2053 <conditional name="window_cond">
2054 <param name="window_select_type" value="number" />
2055 <param name="window" value="123" />
2056 </conditional>
2057 <param name="thresh" value="3" />
2058 <param name="min_residuals" value="1" />
2059 <param name="min_periods" value="1" />
2060 <param name="center" value="false" />
2061 <param name="axis" value="0" />
2062 <param name="flag" value="255.0" />
2063 </conditional>
2064 </conditional>
2065 </repeat>
2066 <output name="config_out" ftype="txt">
2067 <assert_contents>
2068 <has_text_matching expression="test_variable;\s*flagZScore\((?=.*window\s*=\s*(?:[&quot;']?123[&quot;']?)).*\)$" />
2069 </assert_contents>
2070 </output>
2071 </test>
2072 <test>
2073 <param name="data" value="test1/data.csv" ftype="csv" />
2074 <param name="run_test_mode" value="true" />
2075 <repeat name="methods_repeat">
2076 <conditional name="module_cond">
2077 <param name="module_select" value="outliers" />
2078 <conditional name="method_cond">
2079 <param name="method_select" value="flagZScore" />
2080 <repeat name="field_repeat">
2081 <param name="field" value="test_variable" />
2082 </repeat>
2083 <param name="method" value="standard" />
2084 <conditional name="window_cond">
2085 <param name="window_select_type" value="number" />
2086 <param name="window" value="1" />
2087 </conditional>
2088 <param name="thresh" value="3" />
2089 <param name="min_residuals" value="1" />
2090 <param name="min_periods" value="1" />
2091 <param name="center" value="false" />
2092 <param name="axis" value="0" />
2093 <param name="flag" value="255.0" />
2094 </conditional>
2095 </conditional>
2096 </repeat>
2097 <output name="config_out" ftype="txt">
2098 <assert_contents>
2099 <has_text_matching expression="test_variable;\s*flagZScore\((?=.*method\s*=\s*[&quot;']standard[&quot;']).*\)$" />
2100 </assert_contents>
2101 </output>
2102 </test>
2103 <test>
2104 <param name="data" value="test1/data.csv" ftype="csv" />
2105 <param name="run_test_mode" value="true" />
2106 <repeat name="methods_repeat">
2107 <conditional name="module_cond">
2108 <param name="module_select" value="outliers" />
2109 <conditional name="method_cond">
2110 <param name="method_select" value="flagZScore" />
2111 <repeat name="field_repeat">
2112 <param name="field" value="test_variable" />
2113 </repeat>
2114 <param name="method" value="modified" />
2115 <conditional name="window_cond">
2116 <param name="window_select_type" value="number" />
2117 <param name="window" value="1" />
2118 </conditional>
2119 <param name="thresh" value="3" />
2120 <param name="min_residuals" value="1" />
2121 <param name="min_periods" value="1" />
2122 <param name="center" value="false" />
2123 <param name="axis" value="0" />
2124 <param name="flag" value="255.0" />
2125 </conditional>
2126 </conditional>
2127 </repeat>
2128 <output name="config_out" ftype="txt">
2129 <assert_contents>
2130 <has_text_matching expression="test_variable;\s*flagZScore\((?=.*method\s*=\s*[&quot;']modified[&quot;']).*\)$" />
2131 </assert_contents>
2132 </output>
2133 </test>
2134 <test>
2135 <param name="data" value="test1/data.csv" ftype="csv" />
2136 <param name="run_test_mode" value="true" />
2137 <repeat name="methods_repeat">
2138 <conditional name="module_cond">
2139 <param name="module_select" value="pattern" />
2140 <conditional name="method_cond">
2141 <param name="method_select" value="flagPatternByDTW" />
2142 <param name="field" value="test_variable" />
2143 <param name="reference" value="default_string" />
2144 <param name="max_distance" value="0.0" />
2145 <param name="normalize" value="false" />
2146 <param name="plot" value="true" />
2147 <param name="flag" value="255.0" />
2148 </conditional>
2149 </conditional>
2150 </repeat>
2151 <output name="config_out" ftype="txt">
2152 <assert_contents>
2153 <has_text_matching expression="test_variable;\s*flagPatternByDTW\(.*\)$" />
2154 </assert_contents>
2155 </output>
2156 </test>
2157 <test>
2158 <param name="data" value="test1/data.csv" ftype="csv" />
2159 <param name="run_test_mode" value="true" />
2160 <repeat name="methods_repeat">
2161 <conditional name="module_cond">
2162 <param name="module_select" value="resampling" />
2163 <conditional name="method_cond">
2164 <param name="method_select" value="concatFlags" />
2165 <param name="field" value="test_variable" />
2166 <param name="target" value="test_variable" />
2167 <param name="method" value="auto" />
2168 <param name="invert" value="false" />
2169 <param name="freq" value="default_string" />
2170 <param name="drop" value="true" />
2171 <param name="squeeze" value="true" />
2172 <param name="override" value="true" />
2173 </conditional>
2174 </conditional>
2175 </repeat>
2176 <output name="config_out" ftype="txt">
2177 <assert_contents>
2178 <has_text_matching expression="test_variable;\s*concatFlags\(.*\)$" />
2179 </assert_contents>
2180 </output>
2181 </test>
2182 <test>
2183 <param name="data" value="test1/data.csv" ftype="csv" />
2184 <param name="run_test_mode" value="true" />
2185 <repeat name="methods_repeat">
2186 <conditional name="module_cond">
2187 <param name="module_select" value="resampling" />
2188 <conditional name="method_cond">
2189 <param name="method_select" value="concatFlags" />
2190 <param name="field" value="test_variable" />
2191 <param name="target" value="test_variable" />
2192 <param name="method" value="fagg" />
2193 <param name="invert" value="false" />
2194 <param name="freq" value="default_string" />
2195 <param name="drop" value="true" />
2196 <param name="squeeze" value="true" />
2197 <param name="override" value="true" />
2198 </conditional>
2199 </conditional>
2200 </repeat>
2201 <output name="config_out" ftype="txt">
2202 <assert_contents>
2203 <has_text_matching expression="test_variable;\s*concatFlags\((?=.*method\s*=\s*[&quot;']fagg[&quot;']).*\)$" />
2204 </assert_contents>
2205 </output>
2206 </test>
2207 <test>
2208 <param name="data" value="test1/data.csv" ftype="csv" />
2209 <param name="run_test_mode" value="true" />
2210 <repeat name="methods_repeat">
2211 <conditional name="module_cond">
2212 <param name="module_select" value="resampling" />
2213 <conditional name="method_cond">
2214 <param name="method_select" value="concatFlags" />
2215 <param name="field" value="test_variable" />
2216 <param name="target" value="test_variable" />
2217 <param name="method" value="bagg" />
2218 <param name="invert" value="false" />
2219 <param name="freq" value="default_string" />
2220 <param name="drop" value="true" />
2221 <param name="squeeze" value="true" />
2222 <param name="override" value="true" />
2223 </conditional>
2224 </conditional>
2225 </repeat>
2226 <output name="config_out" ftype="txt">
2227 <assert_contents>
2228 <has_text_matching expression="test_variable;\s*concatFlags\((?=.*method\s*=\s*[&quot;']bagg[&quot;']).*\)$" />
2229 </assert_contents>
2230 </output>
2231 </test>
2232 <test>
2233 <param name="data" value="test1/data.csv" ftype="csv" />
2234 <param name="run_test_mode" value="true" />
2235 <repeat name="methods_repeat">
2236 <conditional name="module_cond">
2237 <param name="module_select" value="resampling" />
2238 <conditional name="method_cond">
2239 <param name="method_select" value="concatFlags" />
2240 <param name="field" value="test_variable" />
2241 <param name="target" value="test_variable" />
2242 <param name="method" value="nagg" />
2243 <param name="invert" value="false" />
2244 <param name="freq" value="default_string" />
2245 <param name="drop" value="true" />
2246 <param name="squeeze" value="true" />
2247 <param name="override" value="true" />
2248 </conditional>
2249 </conditional>
2250 </repeat>
2251 <output name="config_out" ftype="txt">
2252 <assert_contents>
2253 <has_text_matching expression="test_variable;\s*concatFlags\((?=.*method\s*=\s*[&quot;']nagg[&quot;']).*\)$" />
2254 </assert_contents>
2255 </output>
2256 </test>
2257 <test>
2258 <param name="data" value="test1/data.csv" ftype="csv" />
2259 <param name="run_test_mode" value="true" />
2260 <repeat name="methods_repeat">
2261 <conditional name="module_cond">
2262 <param name="module_select" value="resampling" />
2263 <conditional name="method_cond">
2264 <param name="method_select" value="concatFlags" />
2265 <param name="field" value="test_variable" />
2266 <param name="target" value="test_variable" />
2267 <param name="method" value="fshift" />
2268 <param name="invert" value="false" />
2269 <param name="freq" value="default_string" />
2270 <param name="drop" value="true" />
2271 <param name="squeeze" value="true" />
2272 <param name="override" value="true" />
2273 </conditional>
2274 </conditional>
2275 </repeat>
2276 <output name="config_out" ftype="txt">
2277 <assert_contents>
2278 <has_text_matching expression="test_variable;\s*concatFlags\((?=.*method\s*=\s*[&quot;']fshift[&quot;']).*\)$" />
2279 </assert_contents>
2280 </output>
2281 </test>
2282 <test>
2283 <param name="data" value="test1/data.csv" ftype="csv" />
2284 <param name="run_test_mode" value="true" />
2285 <repeat name="methods_repeat">
2286 <conditional name="module_cond">
2287 <param name="module_select" value="resampling" />
2288 <conditional name="method_cond">
2289 <param name="method_select" value="concatFlags" />
2290 <param name="field" value="test_variable" />
2291 <param name="target" value="test_variable" />
2292 <param name="method" value="bshift" />
2293 <param name="invert" value="false" />
2294 <param name="freq" value="default_string" />
2295 <param name="drop" value="true" />
2296 <param name="squeeze" value="true" />
2297 <param name="override" value="true" />
2298 </conditional>
2299 </conditional>
2300 </repeat>
2301 <output name="config_out" ftype="txt">
2302 <assert_contents>
2303 <has_text_matching expression="test_variable;\s*concatFlags\((?=.*method\s*=\s*[&quot;']bshift[&quot;']).*\)$" />
2304 </assert_contents>
2305 </output>
2306 </test>
2307 <test>
2308 <param name="data" value="test1/data.csv" ftype="csv" />
2309 <param name="run_test_mode" value="true" />
2310 <repeat name="methods_repeat">
2311 <conditional name="module_cond">
2312 <param name="module_select" value="resampling" />
2313 <conditional name="method_cond">
2314 <param name="method_select" value="concatFlags" />
2315 <param name="field" value="test_variable" />
2316 <param name="target" value="test_variable" />
2317 <param name="method" value="nshift" />
2318 <param name="invert" value="false" />
2319 <param name="freq" value="default_string" />
2320 <param name="drop" value="true" />
2321 <param name="squeeze" value="true" />
2322 <param name="override" value="true" />
2323 </conditional>
2324 </conditional>
2325 </repeat>
2326 <output name="config_out" ftype="txt">
2327 <assert_contents>
2328 <has_text_matching expression="test_variable;\s*concatFlags\((?=.*method\s*=\s*[&quot;']nshift[&quot;']).*\)$" />
2329 </assert_contents>
2330 </output>
2331 </test>
2332 <test>
2333 <param name="data" value="test1/data.csv" ftype="csv" />
2334 <param name="run_test_mode" value="true" />
2335 <repeat name="methods_repeat">
2336 <conditional name="module_cond">
2337 <param name="module_select" value="resampling" />
2338 <conditional name="method_cond">
2339 <param name="method_select" value="concatFlags" />
2340 <param name="field" value="test_variable" />
2341 <param name="target" value="test_variable" />
2342 <param name="method" value="sshift" />
2343 <param name="invert" value="false" />
2344 <param name="freq" value="default_string" />
2345 <param name="drop" value="true" />
2346 <param name="squeeze" value="true" />
2347 <param name="override" value="true" />
2348 </conditional>
2349 </conditional>
2350 </repeat>
2351 <output name="config_out" ftype="txt">
2352 <assert_contents>
2353 <has_text_matching expression="test_variable;\s*concatFlags\((?=.*method\s*=\s*[&quot;']sshift[&quot;']).*\)$" />
2354 </assert_contents>
2355 </output>
2356 </test>
2357 <test>
2358 <param name="data" value="test1/data.csv" ftype="csv" />
2359 <param name="run_test_mode" value="true" />
2360 <repeat name="methods_repeat">
2361 <conditional name="module_cond">
2362 <param name="module_select" value="resampling" />
2363 <conditional name="method_cond">
2364 <param name="method_select" value="concatFlags" />
2365 <param name="field" value="test_variable" />
2366 <param name="target" value="test_variable" />
2367 <param name="method" value="match" />
2368 <param name="invert" value="false" />
2369 <param name="freq" value="default_string" />
2370 <param name="drop" value="true" />
2371 <param name="squeeze" value="true" />
2372 <param name="override" value="true" />
2373 </conditional>
2374 </conditional>
2375 </repeat>
2376 <output name="config_out" ftype="txt">
2377 <assert_contents>
2378 <has_text_matching expression="test_variable;\s*concatFlags\((?=.*method\s*=\s*[&quot;']match[&quot;']).*\)$" />
2379 </assert_contents>
2380 </output>
2381 </test>
2382 <test>
2383 <param name="data" value="test1/data.csv" ftype="csv" />
2384 <param name="run_test_mode" value="true" />
2385 <repeat name="methods_repeat">
2386 <conditional name="module_cond">
2387 <param name="module_select" value="resampling" />
2388 <conditional name="method_cond">
2389 <param name="method_select" value="concatFlags" />
2390 <param name="field" value="test_variable" />
2391 <param name="target" value="test_variable" />
2392 <param name="method" value="auto" />
2393 <param name="invert" value="false" />
2394 <param name="freq" value="default_string" />
2395 <param name="drop" value="true" />
2396 <param name="squeeze" value="true" />
2397 <param name="override" value="true" />
2398 </conditional>
2399 </conditional>
2400 </repeat>
2401 <output name="config_out" ftype="txt">
2402 <assert_contents>
2403 <has_text_matching expression="test_variable;\s*concatFlags\((?=.*method\s*=\s*[&quot;']auto[&quot;']).*\)$" />
2404 </assert_contents>
2405 </output>
2406 </test>
2407 <test>
2408 <param name="data" value="test1/data.csv" ftype="csv" />
2409 <param name="run_test_mode" value="true" />
2410 <repeat name="methods_repeat">
2411 <conditional name="module_cond">
2412 <param name="module_select" value="resampling" />
2413 <conditional name="method_cond">
2414 <param name="method_select" value="reindex" />
2415 <param name="field" value="test_variable" />
2416 <param name="index" value="default_string" />
2417 <param name="method" value="match" />
2418 <param name="tolerance" value="default_string" />
2419 <param name="data_aggregation" value="default_string" />
2420 <param name="flags_aggregation" value="default_string" />
2421 <param name="broadcast" value="false" />
2422 <param name="squeeze" value="true" />
2423 <param name="override" value="true" />
2424 </conditional>
2425 </conditional>
2426 </repeat>
2427 <output name="config_out" ftype="txt">
2428 <assert_contents>
2429 <has_text_matching expression="test_variable;\s*reindex\(.*\)$" />
2430 </assert_contents>
2431 </output>
2432 </test>
2433 <test>
2434 <param name="data" value="test1/data.csv" ftype="csv" />
2435 <param name="run_test_mode" value="true" />
2436 <repeat name="methods_repeat">
2437 <conditional name="module_cond">
2438 <param name="module_select" value="resampling" />
2439 <conditional name="method_cond">
2440 <param name="method_select" value="resample" />
2441 <param name="field" value="test_variable" />
2442 <param name="freq" value="default_string" />
2443 <param name="func" value="mean" />
2444 <param name="method" value="bagg" />
2445 <param name="maxna" value="1" />
2446 <param name="maxna_group" value="1" />
2447 <param name="squeeze" value="true" />
2448 </conditional>
2449 </conditional>
2450 </repeat>
2451 <output name="config_out" ftype="txt">
2452 <assert_contents>
2453 <has_text_matching expression="test_variable;\s*resample\(.*\)$" />
2454 </assert_contents>
2455 </output>
2456 </test>
2457 <test>
2458 <param name="data" value="test1/data.csv" ftype="csv" />
2459 <param name="run_test_mode" value="true" />
2460 <repeat name="methods_repeat">
2461 <conditional name="module_cond">
2462 <param name="module_select" value="resampling" />
2463 <conditional name="method_cond">
2464 <param name="method_select" value="resample" />
2465 <param name="field" value="test_variable" />
2466 <param name="freq" value="default_string" />
2467 <param name="func" value="mean" />
2468 <param name="method" value="fagg" />
2469 <param name="maxna" value="1" />
2470 <param name="maxna_group" value="1" />
2471 <param name="squeeze" value="true" />
2472 </conditional>
2473 </conditional>
2474 </repeat>
2475 <output name="config_out" ftype="txt">
2476 <assert_contents>
2477 <has_text_matching expression="test_variable;\s*resample\((?=.*method\s*=\s*[&quot;']fagg[&quot;']).*\)$" />
2478 </assert_contents>
2479 </output>
2480 </test>
2481 <test>
2482 <param name="data" value="test1/data.csv" ftype="csv" />
2483 <param name="run_test_mode" value="true" />
2484 <repeat name="methods_repeat">
2485 <conditional name="module_cond">
2486 <param name="module_select" value="resampling" />
2487 <conditional name="method_cond">
2488 <param name="method_select" value="resample" />
2489 <param name="field" value="test_variable" />
2490 <param name="freq" value="default_string" />
2491 <param name="func" value="mean" />
2492 <param name="method" value="bagg" />
2493 <param name="maxna" value="1" />
2494 <param name="maxna_group" value="1" />
2495 <param name="squeeze" value="true" />
2496 </conditional>
2497 </conditional>
2498 </repeat>
2499 <output name="config_out" ftype="txt">
2500 <assert_contents>
2501 <has_text_matching expression="test_variable;\s*resample\((?=.*method\s*=\s*[&quot;']bagg[&quot;']).*\)$" />
2502 </assert_contents>
2503 </output>
2504 </test>
2505 <test>
2506 <param name="data" value="test1/data.csv" ftype="csv" />
2507 <param name="run_test_mode" value="true" />
2508 <repeat name="methods_repeat">
2509 <conditional name="module_cond">
2510 <param name="module_select" value="resampling" />
2511 <conditional name="method_cond">
2512 <param name="method_select" value="resample" />
2513 <param name="field" value="test_variable" />
2514 <param name="freq" value="default_string" />
2515 <param name="func" value="mean" />
2516 <param name="method" value="nagg" />
2517 <param name="maxna" value="1" />
2518 <param name="maxna_group" value="1" />
2519 <param name="squeeze" value="true" />
2520 </conditional>
2521 </conditional>
2522 </repeat>
2523 <output name="config_out" ftype="txt">
2524 <assert_contents>
2525 <has_text_matching expression="test_variable;\s*resample\((?=.*method\s*=\s*[&quot;']nagg[&quot;']).*\)$" />
2526 </assert_contents>
2527 </output>
2528 </test>
2529 <test>
2530 <param name="data" value="test1/data.csv" ftype="csv" />
2531 <param name="run_test_mode" value="true" />
2532 <repeat name="methods_repeat">
2533 <conditional name="module_cond">
2534 <param name="module_select" value="residuals" />
2535 <conditional name="method_cond">
2536 <param name="method_select" value="calculatePolynomialResiduals" />
2537 <param name="field" value="test_variable" />
2538 <param name="window" value="default_string" />
2539 <param name="order" value="1" />
2540 <param name="min_periods" value="0" />
2541 </conditional>
2542 </conditional>
2543 </repeat>
2544 <output name="config_out" ftype="txt">
2545 <assert_contents>
2546 <has_text_matching expression="test_variable;\s*calculatePolynomialResiduals\(.*\)$" />
2547 </assert_contents>
2548 </output>
2549 </test>
2550 <test>
2551 <param name="data" value="test1/data.csv" ftype="csv" />
2552 <param name="run_test_mode" value="true" />
2553 <repeat name="methods_repeat">
2554 <conditional name="module_cond">
2555 <param name="module_select" value="residuals" />
2556 <conditional name="method_cond">
2557 <param name="method_select" value="calculateRollingResiduals" />
2558 <param name="field" value="test_variable" />
2559 <param name="window" value="default_string" />
2560 <param name="func" value="mean" />
2561 <param name="min_periods" value="0" />
2562 <param name="center" value="false" />
2563 </conditional>
2564 </conditional>
2565 </repeat>
2566 <output name="config_out" ftype="txt">
2567 <assert_contents>
2568 <has_text_matching expression="test_variable;\s*calculateRollingResiduals\(.*\)$" />
2569 </assert_contents>
2570 </output>
2571 </test>
2572 <test>
2573 <param name="data" value="test1/data.csv" ftype="csv" />
2574 <param name="run_test_mode" value="true" />
2575 <repeat name="methods_repeat">
2576 <conditional name="module_cond">
2577 <param name="module_select" value="rolling" />
2578 <conditional name="method_cond">
2579 <param name="method_select" value="rolling" />
2580 <param name="field" value="test_variable" />
2581 <param name="window" value="default_string" />
2582 <param name="func" value="mean" />
2583 <param name="min_periods" value="0" />
2584 <param name="center" value="false" />
2585 </conditional>
2586 </conditional>
2587 </repeat>
2588 <output name="config_out" ftype="txt">
2589 <assert_contents>
2590 <has_text_matching expression="test_variable;\s*rolling\(.*\)$" />
2591 </assert_contents>
2592 </output>
2593 </test>
2594 <test>
2595 <param name="data" value="test1/data.csv" ftype="csv" />
2596 <param name="run_test_mode" value="true" />
2597 <repeat name="methods_repeat">
2598 <conditional name="module_cond">
2599 <param name="module_select" value="scores" />
2600 <conditional name="method_cond">
2601 <param name="method_select" value="assignKNNScore" />
2602 <repeat name="field_repeat">
2603 <param name="field" value="test_variable" />
2604 </repeat>
2605 <param name="target" value="test_variable" />
2606 <param name="n" value="10" />
2607 <param name="func" value="sum" />
2608 <conditional name="freq_cond">
2609 <param name="freq_select_type" value="number" />
2610 <param name="freq" value="inf" />
2611 </conditional>
2612 <param name="min_periods" value="2" />
2613 <param name="algorithm" value="ball_tree" />
2614 <param name="metric" value="minkowski" />
2615 <param name="p" value="2" />
2616 </conditional>
2617 </conditional>
2618 </repeat>
2619 <output name="config_out" ftype="txt">
2620 <assert_contents>
2621 <has_text_matching expression="test_variable;\s*assignKNNScore\(.*\)$" />
2622 </assert_contents>
2623 </output>
2624 </test>
2625 <test>
2626 <param name="data" value="test1/data.csv" ftype="csv" />
2627 <param name="run_test_mode" value="true" />
2628 <repeat name="methods_repeat">
2629 <conditional name="module_cond">
2630 <param name="module_select" value="scores" />
2631 <conditional name="method_cond">
2632 <param name="method_select" value="assignKNNScore" />
2633 <repeat name="field_repeat">
2634 <param name="field" value="test_variable" />
2635 </repeat>
2636 <param name="target" value="test_variable" />
2637 <param name="n" value="10" />
2638 <param name="func" value="sum" />
2639 <conditional name="freq_cond">
2640 <param name="freq_select_type" value="number" />
2641 <param name="freq" value="inf" />
2642 </conditional>
2643 <param name="min_periods" value="2" />
2644 <param name="algorithm" value="ball_tree" />
2645 <param name="metric" value="minkowski" />
2646 <param name="p" value="2" />
2647 </conditional>
2648 </conditional>
2649 </repeat>
2650 <output name="config_out" ftype="txt">
2651 <assert_contents>
2652 <has_text_matching expression="test_variable;\s*assignKNNScore\((?=.*algorithm\s*=\s*[&quot;']ball_tree[&quot;']).*\)$" />
2653 </assert_contents>
2654 </output>
2655 </test>
2656 <test>
2657 <param name="data" value="test1/data.csv" ftype="csv" />
2658 <param name="run_test_mode" value="true" />
2659 <repeat name="methods_repeat">
2660 <conditional name="module_cond">
2661 <param name="module_select" value="scores" />
2662 <conditional name="method_cond">
2663 <param name="method_select" value="assignKNNScore" />
2664 <repeat name="field_repeat">
2665 <param name="field" value="test_variable" />
2666 </repeat>
2667 <param name="target" value="test_variable" />
2668 <param name="n" value="10" />
2669 <param name="func" value="sum" />
2670 <conditional name="freq_cond">
2671 <param name="freq_select_type" value="number" />
2672 <param name="freq" value="inf" />
2673 </conditional>
2674 <param name="min_periods" value="2" />
2675 <param name="algorithm" value="kd_tree" />
2676 <param name="metric" value="minkowski" />
2677 <param name="p" value="2" />
2678 </conditional>
2679 </conditional>
2680 </repeat>
2681 <output name="config_out" ftype="txt">
2682 <assert_contents>
2683 <has_text_matching expression="test_variable;\s*assignKNNScore\((?=.*algorithm\s*=\s*[&quot;']kd_tree[&quot;']).*\)$" />
2684 </assert_contents>
2685 </output>
2686 </test>
2687 <test>
2688 <param name="data" value="test1/data.csv" ftype="csv" />
2689 <param name="run_test_mode" value="true" />
2690 <repeat name="methods_repeat">
2691 <conditional name="module_cond">
2692 <param name="module_select" value="scores" />
2693 <conditional name="method_cond">
2694 <param name="method_select" value="assignKNNScore" />
2695 <repeat name="field_repeat">
2696 <param name="field" value="test_variable" />
2697 </repeat>
2698 <param name="target" value="test_variable" />
2699 <param name="n" value="10" />
2700 <param name="func" value="sum" />
2701 <conditional name="freq_cond">
2702 <param name="freq_select_type" value="number" />
2703 <param name="freq" value="inf" />
2704 </conditional>
2705 <param name="min_periods" value="2" />
2706 <param name="algorithm" value="brute" />
2707 <param name="metric" value="minkowski" />
2708 <param name="p" value="2" />
2709 </conditional>
2710 </conditional>
2711 </repeat>
2712 <output name="config_out" ftype="txt">
2713 <assert_contents>
2714 <has_text_matching expression="test_variable;\s*assignKNNScore\((?=.*algorithm\s*=\s*[&quot;']brute[&quot;']).*\)$" />
2715 </assert_contents>
2716 </output>
2717 </test>
2718 <test>
2719 <param name="data" value="test1/data.csv" ftype="csv" />
2720 <param name="run_test_mode" value="true" />
2721 <repeat name="methods_repeat">
2722 <conditional name="module_cond">
2723 <param name="module_select" value="scores" />
2724 <conditional name="method_cond">
2725 <param name="method_select" value="assignKNNScore" />
2726 <repeat name="field_repeat">
2727 <param name="field" value="test_variable" />
2728 </repeat>
2729 <param name="target" value="test_variable" />
2730 <param name="n" value="10" />
2731 <param name="func" value="sum" />
2732 <conditional name="freq_cond">
2733 <param name="freq_select_type" value="number" />
2734 <param name="freq" value="inf" />
2735 </conditional>
2736 <param name="min_periods" value="2" />
2737 <param name="algorithm" value="auto" />
2738 <param name="metric" value="minkowski" />
2739 <param name="p" value="2" />
2740 </conditional>
2741 </conditional>
2742 </repeat>
2743 <output name="config_out" ftype="txt">
2744 <assert_contents>
2745 <has_text_matching expression="test_variable;\s*assignKNNScore\((?=.*algorithm\s*=\s*[&quot;']auto[&quot;']).*\)$" />
2746 </assert_contents>
2747 </output>
2748 </test>
2749 <test>
2750 <param name="data" value="test1/data.csv" ftype="csv" />
2751 <param name="run_test_mode" value="true" />
2752 <repeat name="methods_repeat">
2753 <conditional name="module_cond">
2754 <param name="module_select" value="scores" />
2755 <conditional name="method_cond">
2756 <param name="method_select" value="assignKNNScore" />
2757 <repeat name="field_repeat">
2758 <param name="field" value="test_variable" />
2759 </repeat>
2760 <param name="target" value="test_variable" />
2761 <param name="n" value="10" />
2762 <param name="func" value="sum" />
2763 <conditional name="freq_cond">
2764 <param name="freq_select_type" value="number" />
2765 <param name="freq" value="45.6" />
2766 </conditional>
2767 <param name="min_periods" value="2" />
2768 <param name="algorithm" value="ball_tree" />
2769 <param name="metric" value="minkowski" />
2770 <param name="p" value="2" />
2771 </conditional>
2772 </conditional>
2773 </repeat>
2774 <output name="config_out" ftype="txt">
2775 <assert_contents>
2776 <has_text_matching expression="test_variable;\s*assignKNNScore\((?=.*freq\s*=\s*45\.6).*\)$" />
2777 </assert_contents>
2778 </output>
2779 </test>
2780 <test>
2781 <param name="data" value="test1/data.csv" ftype="csv" />
2782 <param name="run_test_mode" value="true" />
2783 <repeat name="methods_repeat">
2784 <conditional name="module_cond">
2785 <param name="module_select" value="scores" />
2786 <conditional name="method_cond">
2787 <param name="method_select" value="assignKNNScore" />
2788 <repeat name="field_repeat">
2789 <param name="field" value="test_variable" />
2790 </repeat>
2791 <param name="target" value="test_variable" />
2792 <param name="n" value="10" />
2793 <param name="func" value="sum" />
2794 <conditional name="freq_cond">
2795 <param name="freq_select_type" value="offset" />
2796 <param name="freq" value="a_string" />
2797 </conditional>
2798 <param name="min_periods" value="2" />
2799 <param name="algorithm" value="ball_tree" />
2800 <param name="metric" value="minkowski" />
2801 <param name="p" value="2" />
2802 </conditional>
2803 </conditional>
2804 </repeat>
2805 <output name="config_out" ftype="txt">
2806 <assert_contents>
2807 <has_text_matching expression="test_variable;\s*assignKNNScore\((?=.*freq\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
2808 </assert_contents>
2809 </output>
2810 </test>
2811 <test>
2812 <param name="data" value="test1/data.csv" ftype="csv" />
2813 <param name="run_test_mode" value="true" />
2814 <repeat name="methods_repeat">
2815 <conditional name="module_cond">
2816 <param name="module_select" value="scores" />
2817 <conditional name="method_cond">
2818 <param name="method_select" value="assignLOF" />
2819 <repeat name="field_repeat">
2820 <param name="field" value="test_variable" />
2821 </repeat>
2822 <param name="target" value="test_variable" />
2823 <param name="n" value="20" />
2824 <conditional name="freq_cond">
2825 <param name="freq_select_type" value="number" />
2826 <param name="freq" value="inf" />
2827 </conditional>
2828 <param name="min_periods" value="2" />
2829 <param name="algorithm" value="ball_tree" />
2830 <param name="p" value="2" />
2831 </conditional>
2832 </conditional>
2833 </repeat>
2834 <output name="config_out" ftype="txt">
2835 <assert_contents>
2836 <has_text_matching expression="test_variable;\s*assignLOF\(.*\)$" />
2837 </assert_contents>
2838 </output>
2839 </test>
2840 <test>
2841 <param name="data" value="test1/data.csv" ftype="csv" />
2842 <param name="run_test_mode" value="true" />
2843 <repeat name="methods_repeat">
2844 <conditional name="module_cond">
2845 <param name="module_select" value="scores" />
2846 <conditional name="method_cond">
2847 <param name="method_select" value="assignLOF" />
2848 <repeat name="field_repeat">
2849 <param name="field" value="test_variable" />
2850 </repeat>
2851 <param name="target" value="test_variable" />
2852 <param name="n" value="20" />
2853 <conditional name="freq_cond">
2854 <param name="freq_select_type" value="number" />
2855 <param name="freq" value="inf" />
2856 </conditional>
2857 <param name="min_periods" value="2" />
2858 <param name="algorithm" value="ball_tree" />
2859 <param name="p" value="2" />
2860 </conditional>
2861 </conditional>
2862 </repeat>
2863 <output name="config_out" ftype="txt">
2864 <assert_contents>
2865 <has_text_matching expression="test_variable;\s*assignLOF\((?=.*algorithm\s*=\s*[&quot;']ball_tree[&quot;']).*\)$" />
2866 </assert_contents>
2867 </output>
2868 </test>
2869 <test>
2870 <param name="data" value="test1/data.csv" ftype="csv" />
2871 <param name="run_test_mode" value="true" />
2872 <repeat name="methods_repeat">
2873 <conditional name="module_cond">
2874 <param name="module_select" value="scores" />
2875 <conditional name="method_cond">
2876 <param name="method_select" value="assignLOF" />
2877 <repeat name="field_repeat">
2878 <param name="field" value="test_variable" />
2879 </repeat>
2880 <param name="target" value="test_variable" />
2881 <param name="n" value="20" />
2882 <conditional name="freq_cond">
2883 <param name="freq_select_type" value="number" />
2884 <param name="freq" value="inf" />
2885 </conditional>
2886 <param name="min_periods" value="2" />
2887 <param name="algorithm" value="kd_tree" />
2888 <param name="p" value="2" />
2889 </conditional>
2890 </conditional>
2891 </repeat>
2892 <output name="config_out" ftype="txt">
2893 <assert_contents>
2894 <has_text_matching expression="test_variable;\s*assignLOF\((?=.*algorithm\s*=\s*[&quot;']kd_tree[&quot;']).*\)$" />
2895 </assert_contents>
2896 </output>
2897 </test>
2898 <test>
2899 <param name="data" value="test1/data.csv" ftype="csv" />
2900 <param name="run_test_mode" value="true" />
2901 <repeat name="methods_repeat">
2902 <conditional name="module_cond">
2903 <param name="module_select" value="scores" />
2904 <conditional name="method_cond">
2905 <param name="method_select" value="assignLOF" />
2906 <repeat name="field_repeat">
2907 <param name="field" value="test_variable" />
2908 </repeat>
2909 <param name="target" value="test_variable" />
2910 <param name="n" value="20" />
2911 <conditional name="freq_cond">
2912 <param name="freq_select_type" value="number" />
2913 <param name="freq" value="inf" />
2914 </conditional>
2915 <param name="min_periods" value="2" />
2916 <param name="algorithm" value="brute" />
2917 <param name="p" value="2" />
2918 </conditional>
2919 </conditional>
2920 </repeat>
2921 <output name="config_out" ftype="txt">
2922 <assert_contents>
2923 <has_text_matching expression="test_variable;\s*assignLOF\((?=.*algorithm\s*=\s*[&quot;']brute[&quot;']).*\)$" />
2924 </assert_contents>
2925 </output>
2926 </test>
2927 <test>
2928 <param name="data" value="test1/data.csv" ftype="csv" />
2929 <param name="run_test_mode" value="true" />
2930 <repeat name="methods_repeat">
2931 <conditional name="module_cond">
2932 <param name="module_select" value="scores" />
2933 <conditional name="method_cond">
2934 <param name="method_select" value="assignLOF" />
2935 <repeat name="field_repeat">
2936 <param name="field" value="test_variable" />
2937 </repeat>
2938 <param name="target" value="test_variable" />
2939 <param name="n" value="20" />
2940 <conditional name="freq_cond">
2941 <param name="freq_select_type" value="number" />
2942 <param name="freq" value="inf" />
2943 </conditional>
2944 <param name="min_periods" value="2" />
2945 <param name="algorithm" value="auto" />
2946 <param name="p" value="2" />
2947 </conditional>
2948 </conditional>
2949 </repeat>
2950 <output name="config_out" ftype="txt">
2951 <assert_contents>
2952 <has_text_matching expression="test_variable;\s*assignLOF\((?=.*algorithm\s*=\s*[&quot;']auto[&quot;']).*\)$" />
2953 </assert_contents>
2954 </output>
2955 </test>
2956 <test>
2957 <param name="data" value="test1/data.csv" ftype="csv" />
2958 <param name="run_test_mode" value="true" />
2959 <repeat name="methods_repeat">
2960 <conditional name="module_cond">
2961 <param name="module_select" value="scores" />
2962 <conditional name="method_cond">
2963 <param name="method_select" value="assignLOF" />
2964 <repeat name="field_repeat">
2965 <param name="field" value="test_variable" />
2966 </repeat>
2967 <param name="target" value="test_variable" />
2968 <param name="n" value="20" />
2969 <conditional name="freq_cond">
2970 <param name="freq_select_type" value="number" />
2971 <param name="freq" value="45.6" />
2972 </conditional>
2973 <param name="min_periods" value="2" />
2974 <param name="algorithm" value="ball_tree" />
2975 <param name="p" value="2" />
2976 </conditional>
2977 </conditional>
2978 </repeat>
2979 <output name="config_out" ftype="txt">
2980 <assert_contents>
2981 <has_text_matching expression="test_variable;\s*assignLOF\((?=.*freq\s*=\s*45\.6).*\)$" />
2982 </assert_contents>
2983 </output>
2984 </test>
2985 <test>
2986 <param name="data" value="test1/data.csv" ftype="csv" />
2987 <param name="run_test_mode" value="true" />
2988 <repeat name="methods_repeat">
2989 <conditional name="module_cond">
2990 <param name="module_select" value="scores" />
2991 <conditional name="method_cond">
2992 <param name="method_select" value="assignLOF" />
2993 <repeat name="field_repeat">
2994 <param name="field" value="test_variable" />
2995 </repeat>
2996 <param name="target" value="test_variable" />
2997 <param name="n" value="20" />
2998 <conditional name="freq_cond">
2999 <param name="freq_select_type" value="offset" />
3000 <param name="freq" value="a_string" />
3001 </conditional>
3002 <param name="min_periods" value="2" />
3003 <param name="algorithm" value="ball_tree" />
3004 <param name="p" value="2" />
3005 </conditional>
3006 </conditional>
3007 </repeat>
3008 <output name="config_out" ftype="txt">
3009 <assert_contents>
3010 <has_text_matching expression="test_variable;\s*assignLOF\((?=.*freq\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
3011 </assert_contents>
3012 </output>
3013 </test>
3014 <test>
3015 <param name="data" value="test1/data.csv" ftype="csv" />
3016 <param name="run_test_mode" value="true" />
3017 <repeat name="methods_repeat">
3018 <conditional name="module_cond">
3019 <param name="module_select" value="scores" />
3020 <conditional name="method_cond">
3021 <param name="method_select" value="assignUniLOF" />
3022 <param name="field" value="test_variable" />
3023 <param name="n" value="20" />
3024 <param name="algorithm" value="ball_tree" />
3025 <param name="p" value="1" />
3026 <conditional name="density_cond">
3027 <param name="density_select_type" value="auto" />
3028 <param name="density" value="auto" />
3029 </conditional>
3030 <param name="fill_na" value="false" />
3031 </conditional>
3032 </conditional>
3033 </repeat>
3034 <output name="config_out" ftype="txt">
3035 <assert_contents>
3036 <has_text_matching expression="test_variable;\s*assignUniLOF\(.*\)$" />
3037 </assert_contents>
3038 </output>
3039 </test>
3040 <test>
3041 <param name="data" value="test1/data.csv" ftype="csv" />
3042 <param name="run_test_mode" value="true" />
3043 <repeat name="methods_repeat">
3044 <conditional name="module_cond">
3045 <param name="module_select" value="scores" />
3046 <conditional name="method_cond">
3047 <param name="method_select" value="assignUniLOF" />
3048 <param name="field" value="test_variable" />
3049 <param name="n" value="20" />
3050 <param name="algorithm" value="ball_tree" />
3051 <param name="p" value="1" />
3052 <conditional name="density_cond">
3053 <param name="density_select_type" value="auto" />
3054 <param name="density" value="auto" />
3055 </conditional>
3056 <param name="fill_na" value="false" />
3057 </conditional>
3058 </conditional>
3059 </repeat>
3060 <output name="config_out" ftype="txt">
3061 <assert_contents>
3062 <has_text_matching expression="test_variable;\s*assignUniLOF\((?=.*algorithm\s*=\s*[&quot;']ball_tree[&quot;']).*\)$" />
3063 </assert_contents>
3064 </output>
3065 </test>
3066 <test>
3067 <param name="data" value="test1/data.csv" ftype="csv" />
3068 <param name="run_test_mode" value="true" />
3069 <repeat name="methods_repeat">
3070 <conditional name="module_cond">
3071 <param name="module_select" value="scores" />
3072 <conditional name="method_cond">
3073 <param name="method_select" value="assignUniLOF" />
3074 <param name="field" value="test_variable" />
3075 <param name="n" value="20" />
3076 <param name="algorithm" value="kd_tree" />
3077 <param name="p" value="1" />
3078 <conditional name="density_cond">
3079 <param name="density_select_type" value="auto" />
3080 <param name="density" value="auto" />
3081 </conditional>
3082 <param name="fill_na" value="false" />
3083 </conditional>
3084 </conditional>
3085 </repeat>
3086 <output name="config_out" ftype="txt">
3087 <assert_contents>
3088 <has_text_matching expression="test_variable;\s*assignUniLOF\((?=.*algorithm\s*=\s*[&quot;']kd_tree[&quot;']).*\)$" />
3089 </assert_contents>
3090 </output>
3091 </test>
3092 <test>
3093 <param name="data" value="test1/data.csv" ftype="csv" />
3094 <param name="run_test_mode" value="true" />
3095 <repeat name="methods_repeat">
3096 <conditional name="module_cond">
3097 <param name="module_select" value="scores" />
3098 <conditional name="method_cond">
3099 <param name="method_select" value="assignUniLOF" />
3100 <param name="field" value="test_variable" />
3101 <param name="n" value="20" />
3102 <param name="algorithm" value="brute" />
3103 <param name="p" value="1" />
3104 <conditional name="density_cond">
3105 <param name="density_select_type" value="auto" />
3106 <param name="density" value="auto" />
3107 </conditional>
3108 <param name="fill_na" value="false" />
3109 </conditional>
3110 </conditional>
3111 </repeat>
3112 <output name="config_out" ftype="txt">
3113 <assert_contents>
3114 <has_text_matching expression="test_variable;\s*assignUniLOF\((?=.*algorithm\s*=\s*[&quot;']brute[&quot;']).*\)$" />
3115 </assert_contents>
3116 </output>
3117 </test>
3118 <test>
3119 <param name="data" value="test1/data.csv" ftype="csv" />
3120 <param name="run_test_mode" value="true" />
3121 <repeat name="methods_repeat">
3122 <conditional name="module_cond">
3123 <param name="module_select" value="scores" />
3124 <conditional name="method_cond">
3125 <param name="method_select" value="assignUniLOF" />
3126 <param name="field" value="test_variable" />
3127 <param name="n" value="20" />
3128 <param name="algorithm" value="auto" />
3129 <param name="p" value="1" />
3130 <conditional name="density_cond">
3131 <param name="density_select_type" value="auto" />
3132 <param name="density" value="auto" />
3133 </conditional>
3134 <param name="fill_na" value="false" />
3135 </conditional>
3136 </conditional>
3137 </repeat>
3138 <output name="config_out" ftype="txt">
3139 <assert_contents>
3140 <has_text_matching expression="test_variable;\s*assignUniLOF\((?=.*algorithm\s*=\s*[&quot;']auto[&quot;']).*\)$" />
3141 </assert_contents>
3142 </output>
3143 </test>
3144 <test>
3145 <param name="data" value="test1/data.csv" ftype="csv" />
3146 <param name="run_test_mode" value="true" />
3147 <repeat name="methods_repeat">
3148 <conditional name="module_cond">
3149 <param name="module_select" value="scores" />
3150 <conditional name="method_cond">
3151 <param name="method_select" value="assignUniLOF" />
3152 <param name="field" value="test_variable" />
3153 <param name="n" value="20" />
3154 <param name="algorithm" value="ball_tree" />
3155 <param name="p" value="1" />
3156 <param name="fill_na" value="false" />
3157 <conditional name="density_cond">
3158 <param name="density_select_type" value="float" />
3159 <param name="density" value="45.6" />
3160 </conditional>
3161 </conditional>
3162 </conditional>
3163 </repeat>
3164 <output name="config_out" ftype="txt">
3165 <assert_contents>
3166 <has_text_matching expression="test_variable;\s*assignUniLOF\(.*\)$" />
3167 </assert_contents>
3168 </output>
3169 </test>
3170 <test>
3171 <param name="data" value="test1/data.csv" ftype="csv" />
3172 <param name="run_test_mode" value="true" />
3173 <repeat name="methods_repeat">
3174 <conditional name="module_cond">
3175 <param name="module_select" value="scores" />
3176 <conditional name="method_cond">
3177 <param name="method_select" value="assignZScore" />
3178 <param name="field" value="test_variable" />
3179 <param name="window" value="default_string" />
3180 <param name="norm_func" value="std" />
3181 <param name="model_func" value="mean" />
3182 <param name="center" value="false" />
3183 <param name="min_periods" value="1" />
3184 </conditional>
3185 </conditional>
3186 </repeat>
3187 <output name="config_out" ftype="txt">
3188 <assert_contents>
3189 <has_text_matching expression="test_variable;\s*assignZScore\(.*\)$" />
3190 </assert_contents>
3191 </output>
3192 </test>
3193 <test>
3194 <param name="data" value="test1/data.csv" ftype="csv" />
3195 <param name="run_test_mode" value="true" />
3196 <repeat name="methods_repeat">
3197 <conditional name="module_cond">
3198 <param name="module_select" value="tools" />
3199 <conditional name="method_cond">
3200 <param name="method_select" value="copyField" />
3201 <param name="field" value="test_variable" />
3202 <param name="target" value="test_variable" />
3203 <param name="overwrite" value="true" />
3204 </conditional>
3205 </conditional>
3206 </repeat>
3207 <output name="config_out" ftype="txt">
3208 <assert_contents>
3209 <has_text_matching expression="test_variable;\s*copyField\(.*\)$" />
3210 </assert_contents>
3211 </output>
3212 </test>
3213 <test>
3214 <param name="data" value="test1/data.csv" ftype="csv" />
3215 <param name="run_test_mode" value="true" />
3216 <repeat name="methods_repeat">
3217 <conditional name="module_cond">
3218 <param name="module_select" value="tools" />
3219 <conditional name="method_cond">
3220 <param name="method_select" value="dropField" />
3221 <param name="field" value="test_variable" />
3222 </conditional>
3223 </conditional>
3224 </repeat>
3225 <output name="config_out" ftype="txt">
3226 <assert_contents>
3227 <has_text_matching expression="test_variable;\s*dropField\(.*\)$" />
3228 </assert_contents>
3229 </output>
3230 </test>
3231 <test>
3232 <param name="data" value="test1/data.csv" ftype="csv" />
3233 <param name="run_test_mode" value="true" />
3234 <repeat name="methods_repeat">
3235 <conditional name="module_cond">
3236 <param name="module_select" value="tools" />
3237 <conditional name="method_cond">
3238 <param name="method_select" value="flagByClick" />
3239 <param name="field" value="test_variable" />
3240 <param name="max_gap" value="default_string" />
3241 <param name="gui_mode" value="GUI" />
3242 <param name="dfilter" value="255.0" />
3243 </conditional>
3244 </conditional>
3245 </repeat>
3246 <output name="config_out" ftype="txt">
3247 <assert_contents>
3248 <has_text_matching expression="test_variable;\s*flagByClick\(.*\)$" />
3249 </assert_contents>
3250 </output>
3251 </test>
3252 <test>
3253 <param name="data" value="test1/data.csv" ftype="csv" />
3254 <param name="run_test_mode" value="true" />
3255 <repeat name="methods_repeat">
3256 <conditional name="module_cond">
3257 <param name="module_select" value="tools" />
3258 <conditional name="method_cond">
3259 <param name="method_select" value="flagByClick" />
3260 <param name="field" value="test_variable" />
3261 <param name="max_gap" value="default_string" />
3262 <param name="gui_mode" value="GUI" />
3263 <param name="dfilter" value="255.0" />
3264 </conditional>
3265 </conditional>
3266 </repeat>
3267 <output name="config_out" ftype="txt">
3268 <assert_contents>
3269 <has_text_matching expression="test_variable;\s*flagByClick\((?=.*gui_mode\s*=\s*[&quot;']GUI[&quot;']).*\)$" />
3270 </assert_contents>
3271 </output>
3272 </test>
3273 <test>
3274 <param name="data" value="test1/data.csv" ftype="csv" />
3275 <param name="run_test_mode" value="true" />
3276 <repeat name="methods_repeat">
3277 <conditional name="module_cond">
3278 <param name="module_select" value="tools" />
3279 <conditional name="method_cond">
3280 <param name="method_select" value="flagByClick" />
3281 <param name="field" value="test_variable" />
3282 <param name="max_gap" value="default_string" />
3283 <param name="gui_mode" value="overlay" />
3284 <param name="dfilter" value="255.0" />
3285 </conditional>
3286 </conditional>
3287 </repeat>
3288 <output name="config_out" ftype="txt">
3289 <assert_contents>
3290 <has_text_matching expression="test_variable;\s*flagByClick\((?=.*gui_mode\s*=\s*[&quot;']overlay[&quot;']).*\)$" />
3291 </assert_contents>
3292 </output>
3293 </test>
3294 <test>
3295 <param name="data" value="test1/data.csv" ftype="csv" />
3296 <param name="run_test_mode" value="true" />
3297 <repeat name="methods_repeat">
3298 <conditional name="module_cond">
3299 <param name="module_select" value="tools" />
3300 <conditional name="method_cond">
3301 <param name="method_select" value="plot" />
3302 <param name="field" value="test_variable" />
3303 <param name="path" value="default_string" />
3304 <param name="max_gap" value="default_string" />
3305 <param name="mode" value="oneplot" />
3306 <conditional name="history_cond">
3307 <param name="history_select_type" value="valid" />
3308 <param name="history" value="valid" />
3309 </conditional>
3310 <param name="xscope" value="default_string" />
3311 <param name="yscope" value="default_string" />
3312 <param name="ax" value="default_string" />
3313 <param name="dfilter" value="inf" />
3314 </conditional>
3315 </conditional>
3316 </repeat>
3317 <output name="config_out" ftype="txt">
3318 <assert_contents>
3319 <has_text_matching expression="test_variable;\s*plot\(.*\)$" />
3320 </assert_contents>
3321 </output>
3322 </test>
3323 <test>
3324 <param name="data" value="test1/data.csv" ftype="csv" />
3325 <param name="run_test_mode" value="true" />
3326 <repeat name="methods_repeat">
3327 <conditional name="module_cond">
3328 <param name="module_select" value="tools" />
3329 <conditional name="method_cond">
3330 <param name="method_select" value="plot" />
3331 <param name="field" value="test_variable" />
3332 <param name="path" value="default_string" />
3333 <param name="max_gap" value="default_string" />
3334 <param name="mode" value="a_string" />
3335 <conditional name="history_cond">
3336 <param name="history_select_type" value="valid" />
3337 <param name="history" value="valid" />
3338 </conditional>
3339 <param name="xscope" value="default_string" />
3340 <param name="yscope" value="default_string" />
3341 <param name="ax" value="default_string" />
3342 <param name="dfilter" value="inf" />
3343 </conditional>
3344 </conditional>
3345 </repeat>
3346 <output name="config_out" ftype="txt">
3347 <assert_contents>
3348 <has_text_matching expression="test_variable;\s*plot\((?=.*mode\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
3349 </assert_contents>
3350 </output>
3351 </test>
3352 <test>
3353 <param name="data" value="test1/data.csv" ftype="csv" />
3354 <param name="run_test_mode" value="true" />
3355 <repeat name="methods_repeat">
3356 <conditional name="module_cond">
3357 <param name="module_select" value="tools" />
3358 <conditional name="method_cond">
3359 <param name="method_select" value="plot" />
3360 <param name="field" value="test_variable" />
3361 <param name="path" value="default_string" />
3362 <param name="max_gap" value="default_string" />
3363 <param name="mode" value="oneplot" />
3364 <conditional name="history_cond">
3365 <param name="history_select_type" value="valid" />
3366 <param name="history" value="valid" />
3367 </conditional>
3368 <param name="xscope" value="a_string" />
3369 <param name="yscope" value="default_string" />
3370 <param name="ax" value="default_string" />
3371 <param name="dfilter" value="inf" />
3372 </conditional>
3373 </conditional>
3374 </repeat>
3375 <output name="config_out" ftype="txt">
3376 <assert_contents>
3377 <has_text_matching expression="test_variable;\s*plot\((?=.*xscope\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
3378 </assert_contents>
3379 </output>
3380 </test>
3381 <test>
3382 <param name="data" value="test1/data.csv" ftype="csv" />
3383 <param name="run_test_mode" value="true" />
3384 <repeat name="methods_repeat">
3385 <conditional name="module_cond">
3386 <param name="module_select" value="tools" />
3387 <conditional name="method_cond">
3388 <param name="method_select" value="renameField" />
3389 <param name="field" value="test_variable" />
3390 <param name="new_name" value="default_string" />
3391 </conditional>
3392 </conditional>
3393 </repeat>
3394 <output name="config_out" ftype="txt">
3395 <assert_contents>
3396 <has_text_matching expression="test_variable;\s*renameField\(.*\)$" />
3397 </assert_contents>
3398 </output>
3399 </test>
3400 <test>
3401 <param name="data" value="test1/data.csv" ftype="csv" />
3402 <param name="run_test_mode" value="true" />
3403 <repeat name="methods_repeat">
3404 <conditional name="module_cond">
3405 <param name="module_select" value="tools" />
3406 <conditional name="method_cond">
3407 <param name="method_select" value="selectTime" />
3408 <param name="field" value="test_variable" />
3409 <param name="mode" value="periodic" />
3410 <param name="selection_field" value="default_string" />
3411 <param name="start" value="default_string" />
3412 <param name="end" value="default_string" />
3413 <param name="closed" value="false" />
3414 </conditional>
3415 </conditional>
3416 </repeat>
3417 <output name="config_out" ftype="txt">
3418 <assert_contents>
3419 <has_text_matching expression="test_variable;\s*selectTime\(.*\)$" />
3420 </assert_contents>
3421 </output>
3422 </test>
3423 <test>
3424 <param name="data" value="test1/data.csv" ftype="csv" />
3425 <param name="run_test_mode" value="true" />
3426 <repeat name="methods_repeat">
3427 <conditional name="module_cond">
3428 <param name="module_select" value="tools" />
3429 <conditional name="method_cond">
3430 <param name="method_select" value="selectTime" />
3431 <param name="field" value="test_variable" />
3432 <param name="mode" value="periodic" />
3433 <param name="selection_field" value="default_string" />
3434 <param name="start" value="default_string" />
3435 <param name="end" value="default_string" />
3436 <param name="closed" value="false" />
3437 </conditional>
3438 </conditional>
3439 </repeat>
3440 <output name="config_out" ftype="txt">
3441 <assert_contents>
3442 <has_text_matching expression="test_variable;\s*selectTime\((?=.*mode\s*=\s*[&quot;']periodic[&quot;']).*\)$" />
3443 </assert_contents>
3444 </output>
3445 </test>
3446 <test>
3447 <param name="data" value="test1/data.csv" ftype="csv" />
3448 <param name="run_test_mode" value="true" />
3449 <repeat name="methods_repeat">
3450 <conditional name="module_cond">
3451 <param name="module_select" value="tools" />
3452 <conditional name="method_cond">
3453 <param name="method_select" value="selectTime" />
3454 <param name="field" value="test_variable" />
3455 <param name="mode" value="selection_field" />
3456 <param name="selection_field" value="default_string" />
3457 <param name="start" value="default_string" />
3458 <param name="end" value="default_string" />
3459 <param name="closed" value="false" />
3460 </conditional>
3461 </conditional>
3462 </repeat>
3463 <output name="config_out" ftype="txt">
3464 <assert_contents>
3465 <has_text_matching expression="test_variable;\s*selectTime\((?=.*mode\s*=\s*[&quot;']selection_field[&quot;']).*\)$" />
3466 </assert_contents>
3467 </output>
3468 </test>
3469 <test>
3470 <param name="data" value="test1/data.csv" ftype="csv" />
3471 <param name="run_test_mode" value="true" />
3472 <repeat name="methods_repeat">
3473 <conditional name="module_cond">
3474 <param name="module_select" value="transformation" />
3475 <conditional name="method_cond">
3476 <param name="method_select" value="transform" />
3477 <param name="field" value="test_variable" />
3478 <param name="func" value="default_string" />
3479 <conditional name="freq_cond">
3480 <param name="freq_select_type" value="number" />
3481 <param name="freq" value="1.0" />
3482 </conditional>
3483 </conditional>
3484 </conditional>
3485 </repeat>
3486 <output name="config_out" ftype="txt">
3487 <assert_contents>
3488 <has_text_matching expression="test_variable;\s*transform\(.*\)$" />
3489 </assert_contents>
3490 </output>
3491 </test>
3492 <test>
3493 <param name="data" value="test1/data.csv" ftype="csv" />
3494 <param name="run_test_mode" value="true" />
3495 <repeat name="methods_repeat">
3496 <conditional name="module_cond">
3497 <param name="module_select" value="transformation" />
3498 <conditional name="method_cond">
3499 <param name="method_select" value="transform" />
3500 <param name="field" value="test_variable" />
3501 <param name="func" value="default_string" />
3502 <conditional name="freq_cond">
3503 <param name="freq_select_type" value="number" />
3504 <param name="freq" value="45.6" />
3505 </conditional>
3506 </conditional>
3507 </conditional>
3508 </repeat>
3509 <output name="config_out" ftype="txt">
3510 <assert_contents>
3511 <has_text_matching expression="test_variable;\s*transform\((?=.*freq\s*=\s*45\.6).*\)$" />
3512 </assert_contents>
3513 </output>
3514 </test>
3515 <test>
3516 <param name="data" value="test1/data.csv" ftype="csv" />
3517 <param name="run_test_mode" value="true" />
3518 <repeat name="methods_repeat">
3519 <conditional name="module_cond">
3520 <param name="module_select" value="transformation" />
3521 <conditional name="method_cond">
3522 <param name="method_select" value="transform" />
3523 <param name="field" value="test_variable" />
3524 <param name="func" value="default_string" />
3525 <conditional name="freq_cond">
3526 <param name="freq_select_type" value="offset" />
3527 <param name="freq" value="a_string" />
3528 </conditional>
3529 </conditional>
3530 </conditional>
3531 </repeat>
3532 <output name="config_out" ftype="txt">
3533 <assert_contents>
3534 <has_text_matching expression="test_variable;\s*transform\((?=.*freq\s*=\s*[&quot;']a_string[&quot;']).*\)$" />
3535 </assert_contents>
3536 </output>
3537 </test>
3538 </xml>
3539 </macros>