forked from joanbp-dk/Repbased_voting_playground
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestdata.py
49 lines (40 loc) · 1.14 KB
/
Testdata.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
from Definitions import *
voters_1 = {
"V1": {},
"V2": {NFT.FELLOWSHIP_COMM: True,
NFT.FUNDA_1_v1: True,
NFT.FUNDA_2_v2: True,
NFT.FUNDA_3_v1: True,
NFT.FUNDA_4_v1: True,
NFT.FUNDA_4_v2: True,
NFT.FUNDA_5_v1: True},
"V3": {},
"V4": {NFT.FUNDA_1_v2: True},
"V5": {NFT.FUNDA_1_v2: True,
NFT.FUNDA_2_v2: True},
"V6": {NFT.ETHCC_SPEAKER_1: True},
"V7": {NFT.STUDY_SEASON_REGISTRATION: True,
NFT.LIVE_TRACK_4: True},
"V8": {NFT.STUDY_SEASON_REGISTRATION: True},
"V9": {NFT.STUDY_SEASON_REGISTRATION: True,
NFT.LIVE_TRACK_1: True,
NFT.LIVE_TRACK_2: True},
"V10": {NFT.LIVE_TRACK_4: True,
NFT.LIVE_TRACK_5: True},
}
voter_choices_1 = {
"V1": "C4",
"V2": "C2",
"V3": "C2",
"V4": "C3",
"V5": "C4",
"V6": "C3",
"V7": "C1",
"V8": "C4",
"V9": "C2",
"V10": "C4",
}
def getSample(sampleID = 1):
if sampleID != 1:
raise Exception("Only one sample available at this point. Use default sampleID = 1.")
return (voters_1, voter_choices_1)