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 ( d75a64...aeff40 )
by Oana
22:51
created

crowdtruth.configuration   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Test Coverage

Coverage 80%

Importance

Changes 0
Metric Value
wmc 4
eloc 21
dl 0
loc 28
ccs 16
cts 20
cp 0.8
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A DefaultConfig.processJudgments() 0 2 1
A DefaultConfig.processUnit() 0 2 1
A DefaultConfig.processWorker() 0 2 1
A DefaultConfig.processResults() 0 2 1
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