-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode.py
More file actions
82 lines (62 loc) · 3.05 KB
/
code.py
File metadata and controls
82 lines (62 loc) · 3.05 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
if chosen_arrangement_first_three_themes= economy, environment, energy
then selected_party=partyA
if chosen_arrangement_first_three_themes= environment, energy, transport
then selected_party=partyB
if chosen_arrangement_first_three_themes= economy, environment, agriculture
then selected_party=partyC
if chosen_arrangement_first_three_themes= immigration, safety, health care
then selected_party=partyD
if chosen_arrangement_first_three_themes= education, science, culture
then selected_party=partyE
if chosen_arrangement_first_three_themes= immigration, economy, infrastructure
then selected_party=partyF
if chosen_arrangement_first_three_themes= economy, infrastructure, transport
then selected_party=partyG
# Give parties a label with a local party name for displaying purposes
partyA= set_local_party_name_here
partyB= set_local_party_name_here
partyC= set_local_party_name_here
partyD= set_local_party_name_here
partyE= set_local_party_name_here
partyF= set_local_party_name_here
partyG= set_local_party_name_here
# Display chosen party
if selected_party=partyA
Then display "You have chosen for [display label:partyA]"
if selected_party=partyB
Then display "You have chosen for [display label:partyB]"
if selected_party=partyC
Then display "You have chosen for [display label:partyC]"
if selected_party=partyD
Then display "You have chosen for [display label:partyD]"
if selected_party=partyE
Then display "You have chosen for [display label:partyE]"
if selected_party=partyF
Then display "You have chosen for [display label:partyF]"
if selected_party=partyG
Then display "You have chosen for [display label:partyG]"
# Now start the questions on the chosen themes for increased opinion precision
If chosen_arrangement_first_three_themes includes economy
then launch q10r/questionnaires/economy_questions.json
If chosen_arrangement_first_three_themes includes environment
then launch q10r/questionnaires/environment_questions.json
If chosen_arrangement_first_three_themes includes energy
then launch q10r/questionnaires/energy_questions.json
If chosen_arrangement_first_three_themes includes transport
then launch q10r/questionnaires/transport_questions.json
If chosen_arrangement_first_three_themes includes immigration
then launch q10r/questionnaires/immigration_questions.json
If chosen_arrangement_first_three_themes includes safety
then launch q10r/questionnaires/safety_questions.json
If chosen_arrangement_first_three_themes includes health care
then launch q10r/questionnaires/healthcare_questions.json
If chosen_arrangement_first_three_themes includes education
then launch q10r/questionnaires/education_questions.json
If chosen_arrangement_first_three_themes includes science
then launch q10r/questionnaires/science_questions.json
If chosen_arrangement_first_three_themes includes culture
then launch q10r/questionnaires/culture_questions.json
If chosen_arrangement_first_three_themes includes infrastructure
then launch q10r/questionnaires/infrastructure_questions.json
If chosen_arrangement_first_three_themes includes agriculture
then launch q10r/questionnaires/agriculture_questions.json