Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Coverage | 80% |
Changes | 0 |
1 | 1 | class DefaultConfig(): |
|
2 | |||
3 | 1 | name = '' # collection name |
|
4 | 1 | inputColumns = [] # inputColumns to use |
|
5 | 1 | outputColumns = [] # outputColumns to use |
|
6 | 1 | customPlatformColumns = [] |
|
7 | 1 | open_ended_task = True |
|
8 | 1 | annotation_vector = [] |
|
9 | |||
10 | 1 | units = [] # units to use |
|
11 | 1 | workers = [] # workers to use |
|
12 | 1 | jobs = [] # jobs to use |
|
13 | |||
14 | 1 | csv_file_separator = ',' |
|
15 | 1 | annotation_separator = ',' |
|
16 | |||
17 | 1 | def processUnit(self, unit): |
|
18 | return True |
||
19 | |||
20 | 1 | def processWorker(self, worker): |
|
21 | return True |
||
22 | |||
23 | 1 | def processJudgments(self, judgments): |
|
24 | return judgments |
||
25 | |||
26 | def processResults(self, results, config=[]): |
||
27 | return results |