GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 4984d7...2915fd )
by Oana
16:42
created

DefaultConfig.processUnit()   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1.125

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 2
ccs 1
cts 2
cp 0.5
rs 10
c 0
b 0
f 0
cc 1
nop 2
crap 1.125
1 1
class DefaultConfig():
2
    """Define default configuration for cases when users do not provide a custom one"""
3
4 1
    name = '' # collection name
5 1
    inputColumns = [] # inputColumns to use
6 1
    outputColumns = [] # outputColumns to use
7 1
    customPlatformColumns = []
8 1
    open_ended_task = True
9 1
    annotation_vector = []
10
11 1
    units = []  # units to use
12 1
    workers = [] # workers to use
13 1
    jobs = [] # jobs to use
14
15 1
    csv_file_separator = ','
16 1
    annotation_separator = ','
17
18
19 1
    def processJudgments(self, judgments):
20
        """ Custom configuration of the judgments """
21
        return judgments
22
23 1
    def processResults(self, results, config=[]):
24
        """ Processing of the reuslts using the provided configuration """
25
        return results
26