krishaamer commited on
Commit
3d271a9
·
1 Parent(s): 7093520

Separate all field definitions to different files

Browse files
fields/choice_xp_flat_fields.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ choice_xp_flat_fields = [
2
+ '你/妳會買哪一種番茄?',
3
+ '你/妳會買哪種雞蛋?',
4
+ '你/妳買哪種牛奶?',
5
+ '你/妳選哪個投資?',
6
+ '* 例如搭飛機會產生碳排放,可以購買碳抵消來種樹',
7
+ '每月你/妳願意支付多少錢讓AI陪伴你/妳做更環保的財務決策?'
8
+ ]
fields/field_translation_mapping.py ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation mapping for the field names in each category
2
+ field_translation_mapping = {
3
+ '購物習慣': [
4
+ "Would you still buy a tomato if you suspected it was picked by forced labor?",
5
+ "Do you care about food safety?",
6
+ "Will you buy a car within 7 years?",
7
+ "Will you buy a house within 7 years?",
8
+ "Do you know if the product is environmentally friendly when shopping?",
9
+ "Do you think companies with environmental certifications are better?",
10
+ "Do you support a meat tax?",
11
+ "Do you care about the living conditions of chickens you consume?",
12
+ "Do you avoid eating meat?",
13
+ "Do you think your spending affects the environment?"
14
+ ],
15
+ '存錢和投資習慣': [
16
+ "Do you feel anxious about money?",
17
+ "Are you frugal with money?",
18
+ "Do you save money regularly?",
19
+ "Are you satisfied with your financial knowledge?",
20
+ "Do you consider environmental impact when investing?"
21
+ ],
22
+ '台灣的經濟': [
23
+ "Do you think the economic goal of Taiwan is growth?",
24
+ "Do you think that environmental degradation is a prerequisite for Taiwan's economic growth?",
25
+ "Do you think Taiwan's economic growth contributes to environmental protection?",
26
+ "Do you think the economy can grow without emitting CO2?",
27
+ "Do you think economic growth has material limits?"
28
+ ],
29
+ 'AI使用習慣': [
30
+ "Do you use AI every day?",
31
+ "Do you trust AI?",
32
+ "Would you like AI to have a form?"
33
+ ],
34
+ '台灣的大自然': [
35
+ "Do you like to be in nature?",
36
+ "Are you worried about climate change?",
37
+ "Do you feel anxious about environmental pollution?",
38
+ "Do you know the names of many plants and animals?",
39
+ "Do you feel close to nature?"
40
+ ],
41
+ '環保習慣': [
42
+ "Do you strive to live a low-carbon life?",
43
+ "Would you like to do more for the environment?",
44
+ "Are you interested in environmental political issues?",
45
+ "Do you trust carbon offset credits?",
46
+ "Do you think your environmental actions are effective for environmental protection?",
47
+ "Would you like to promote environmental protection in your industry?"
48
+ ],
49
+ '學習環境': [
50
+ "Are you open to new ideas?",
51
+ "Does your university support sustainability?"
52
+ ]
53
+ }
fields/likert_fields.py ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ likert_fields = {
2
+ '購物習慣': [
3
+ '如果你/妳懷疑你/妳要買的番茄可能是由強迫勞工(現代奴隸)採摘的,你/妳仍然會買它嗎?',
4
+ '你/妳關心食安嗎?',
5
+ '你/妳7年內買車嗎?🚘',
6
+ '你/妳7年內買房嗎?🏡',
7
+ '你/妳購物時知道產品環保嗎?',
8
+ '你/妳覺得認證環保的公司更好嗎?',
9
+ '你/妳支持肉稅嗎?',
10
+ '你/妳關心食用雞的生活嗎?',
11
+ '你/妳避免吃肉嗎?',
12
+ '你/妳覺得你/妳花錢會影響環境嗎?'
13
+ ],
14
+ '存錢和投資習慣': [
15
+ '你/妳會對金錢感到焦慮嗎?',
16
+ '你/妳會對金錢很節儉嗎?',
17
+ '你/妳會經常存錢嗎?',
18
+ '你/妳對自己的財務知識滿意嗎?',
19
+ '你/妳投資會考慮環保嗎?'
20
+ ],
21
+ '台灣的經濟': [
22
+ '你/妳覺得台灣的經濟目標是增長嗎?',
23
+ '你/妳覺台灣的得環境退化是台灣的經濟增長的前提嗎?',
24
+ '你/妳覺得台灣的經濟增長有助於保護環境嗎?',
25
+ '你/妳覺得經濟能不排CO2也增長嗎?',
26
+ '你/妳覺得經濟增長有物質限制嗎?'
27
+ ],
28
+ 'AI使用習慣': [
29
+ '你/妳會每天都用AI嗎?',
30
+ '你/妳會信任AI嗎?',
31
+ '你/妳想要AI有個造型嗎?',
32
+ ],
33
+ '台灣的大自然': [
34
+ '你/妳喜歡待在大自然嗎?',
35
+ '你/妳擔心氣候變化嗎?',
36
+ '你/妳對環境污染情況會感到焦慮嗎?',
37
+ '你/妳知道許多植物和動物的名字嗎?',
38
+ '你/妳感覺自己和大自然很接近嗎?'
39
+ ],
40
+ '環保習慣': [
41
+ '你/妳努力實踐低碳生活嗎?',
42
+ '你/妳想做更多環保事嗎?',
43
+ '你/妳對環境相關政治議題有興趣嗎?',
44
+ '你/妳信任碳排放抵消額度嗎?',
45
+ '你/妳的環保行動對環境保護有效果嗎?',
46
+ '你/妳想在行業內推環保嗎?'
47
+ ],
48
+ '學習環境': [
49
+ '你/妳得自己對新觀念開放嗎?',
50
+ '你/妳的大學對可環保性支持嗎?'
51
+ ]
52
+ }
fields/num_fields_by_category.py ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ num_fields_by_category = {
2
+ '購物習慣': [
3
+ '如果你/妳懷疑你/妳要買的番茄可能是由強迫勞工(現代奴隸)採摘的,你/妳仍然會買它嗎?',
4
+ '你/妳關心食安嗎?',
5
+ '你/妳7年內買車嗎?🚘',
6
+ '你/妳7年內買房嗎?🏡',
7
+ '你/妳購物時知道產品環保嗎?',
8
+ '你/妳覺得認證環保的公司更好嗎?',
9
+ '你/妳支持肉稅嗎?',
10
+ '你/妳關心食用雞的生活嗎?',
11
+ '你/妳避免吃肉嗎?'
12
+ ],
13
+ '存錢和投資習慣': [
14
+ '你/妳會對金錢感到焦慮嗎?',
15
+ '你/妳會對金錢很節儉嗎?',
16
+ '你/妳會經常存錢嗎?',
17
+ '你/妳對自己的財務知識滿意嗎?',
18
+ '你/妳選哪個投資?',
19
+ '你/妳投資會考慮環保嗎?'
20
+ ],
21
+ '台灣的經濟': [
22
+ '你/妳覺得台灣的經濟目標是增長嗎?',
23
+ '你/妳覺台灣的得環境退化是台灣的經濟增長的前提嗎?',
24
+ '你/妳覺得台灣的經濟增長有助於保護環境嗎?',
25
+ '你/妳覺得經濟能不排CO2也增長嗎?',
26
+ '你/妳覺得經濟增長有物質限制嗎?'
27
+ ],
28
+ 'AI使用習慣': [
29
+ '你/妳會每天都用AI嗎?',
30
+ '你/妳會信任AI嗎?',
31
+ '你/妳想要AI有個造型嗎?',
32
+ ],
33
+ '台灣的大自然': [
34
+ '你/妳喜歡待在大自然嗎?',
35
+ '你/妳擔心氣候變化嗎?',
36
+ '你/妳對環境污染情況會感到焦慮嗎?',
37
+ '你/妳知道許多植物和動物的名字嗎?',
38
+ '你/妳感覺自己和大自然很接近嗎?'
39
+ ],
40
+ '環保習慣': [
41
+ '你/妳努力實踐低碳生活嗎?',
42
+ '你/妳想做更多環保事嗎?',
43
+ '你/妳對環境相關政治議題有興趣嗎?',
44
+ '你/妳今年(2023年)搭飛機幾次?✈️',
45
+ '你/妳信任碳排放抵消額度嗎?',
46
+ '你/妳的環保行動對環境保護有效果嗎?'
47
+ ],
48
+ '學習環境': [
49
+ '你/妳得自己對新觀念開放嗎?',
50
+ '你/妳的大學對可環保性支持嗎?'
51
+ ]
52
+ }
fields/ranking_flat_fields.py ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ ranking_flat_fields = [
2
+ '你/妳想要AI扮什麼角色?',
3
+ '你/妳覺得如何依照生態系對環境惡化的敏感度來排名?',
4
+ ]
fields/simple_fields.py ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ simple_fields = {
3
+ '購物習慣': [
4
+ '如果你/妳懷疑你/妳要買的番茄可能是由強迫勞工(現代奴隸)採摘的,你/妳仍然會買它嗎?',
5
+ '你/妳關心食安嗎?',
6
+ '你/妳7年內買車嗎?🚘',
7
+ '你/妳7年內買房嗎?🏡',
8
+ '你/妳購物時知道產品環保嗎?',
9
+ '你/妳覺得認證環保的公司更好嗎?',
10
+ '你/妳支持肉稅嗎?',
11
+ '你/妳關心食用雞的生活嗎?',
12
+ '你/妳避免吃肉嗎?'
13
+ ],
14
+ '存錢和投資習慣': [
15
+ '你/妳會對金錢感到焦慮嗎?',
16
+ '你/妳會對金錢很節儉嗎?',
17
+ '你/妳會經常存錢嗎?',
18
+ '你/妳對自己的財務知識滿意嗎?',
19
+ '你/妳選哪個投資?',
20
+ '你/妳投資會考慮環保嗎?'
21
+ ],
22
+ '台灣的經濟': [
23
+ '你/妳覺得台灣的經濟目標是增長嗎?',
24
+ '你/妳覺台灣的得環境退化是台灣的經濟增長的前提嗎?',
25
+ '你/妳覺得台灣的經濟增長有助於保護環境嗎?',
26
+ '你/妳覺得經濟能不排CO2也增長嗎?',
27
+ '你/妳覺得經濟增長有物質限制嗎?'
28
+ ],
29
+ 'AI使用習慣': [
30
+ '你/妳會每天都用AI嗎?',
31
+ '你/妳會信任AI嗎?',
32
+ '你/妳想要AI有個造型嗎?',
33
+ ],
34
+ '台灣的大自然': [
35
+ '你/妳喜歡待在大自然嗎?',
36
+ '你/妳擔心氣候變化嗎?',
37
+ '你/妳對環境污染情況會感到焦慮嗎?',
38
+ '你/妳知道許多植物和動物的名字嗎?',
39
+ '你/妳感覺自己和大自然很接近嗎?'
40
+ ],
41
+ '環保習慣': [
42
+ '你/妳努力實踐低碳生活嗎?',
43
+ '你/妳想做更多環保事嗎?',
44
+ '你/妳對環境相關政治議題有興趣嗎?',
45
+ '你/妳今年(2023年)搭飛機幾次?✈️',
46
+ '你/妳信任碳排放抵消額度嗎?',
47
+ '你/妳的環保行動對環境保護有效果嗎?'
48
+ ],
49
+ '學習環境': [
50
+ '你/妳得自己對新觀念開放嗎?',
51
+ '你/妳的大學對可環保性支持嗎?'
52
+ ]
53
+ }
fields/survey_fields.py DELETED
@@ -1,304 +0,0 @@
1
- likert_fields = {
2
- '購物習慣': [
3
- '如果你/妳懷疑你/妳要買的番茄可能是由強迫勞工(現代奴隸)採摘的,你/妳仍然會買它嗎?',
4
- '你/妳關心食安嗎?',
5
- '你/妳7年內買車嗎?🚘',
6
- '你/妳7年內買房嗎?🏡',
7
- '你/妳購物時知道產品環保嗎?',
8
- '你/妳覺得認證環保的公司更好嗎?',
9
- '你/妳支持肉稅嗎?',
10
- '你/妳關心食用雞的生活嗎?',
11
- '你/妳避免吃肉嗎?',
12
- '你/妳覺得你/妳花錢會影響環境嗎?'
13
- ],
14
- '存錢和投資習慣': [
15
- '你/妳會對金錢感到焦慮嗎?',
16
- '你/妳會對金錢很節儉嗎?',
17
- '你/妳會經常存錢嗎?',
18
- '你/妳對自己的財務知識滿意嗎?',
19
- '你/妳投資會考慮環保嗎?'
20
- ],
21
- '台灣的經濟': [
22
- '你/妳覺得台灣的經濟目標是增長嗎?',
23
- '你/妳覺台灣的得環境退化是台灣的經濟增長的前提嗎?',
24
- '你/妳覺得台灣的經濟增長有助於保護環境嗎?',
25
- '你/妳覺得經濟能不排CO2也增長嗎?',
26
- '你/妳覺得經濟增長有物質限制嗎?'
27
- ],
28
- 'AI使用習慣': [
29
- '你/妳會每天都用AI嗎?',
30
- '你/妳會信任AI嗎?',
31
- '你/妳想要AI有個造型嗎?',
32
- ],
33
- '台灣的大自然': [
34
- '你/妳喜歡待在大自然嗎?',
35
- '你/妳擔心氣候變化嗎?',
36
- '你/妳對環境污染情況會感到焦慮嗎?',
37
- '你/妳知道許多植物和動物的名字嗎?',
38
- '你/妳感覺自己和大自然很接近嗎?'
39
- ],
40
- '環保習慣': [
41
- '你/妳努力實踐低碳生活嗎?',
42
- '你/妳想做更多環保事嗎?',
43
- '你/妳對環境相關政治議題有興趣嗎?',
44
- '你/妳信任碳排放抵消額度嗎?',
45
- '你/妳的環保行動對環境保護有效果嗎?',
46
- '你/妳想在行業內推環保嗎?'
47
- ],
48
- '學習環境': [
49
- '你/妳得自己對新觀念開放嗎?',
50
- '你/妳的大學對可環保性支持嗎?'
51
- ]
52
- }
53
-
54
- # Translation mapping for the field names in each category
55
- field_translation_mapping = {
56
- '購物習慣': [
57
- "Would you still buy a tomato if you suspected it was picked by forced labor?",
58
- "Do you care about food safety?",
59
- "Will you buy a car within 7 years?",
60
- "Will you buy a house within 7 years?",
61
- "Do you know if the product is environmentally friendly when shopping?",
62
- "Do you think companies with environmental certifications are better?",
63
- "Do you support a meat tax?",
64
- "Do you care about the living conditions of chickens you consume?",
65
- "Do you avoid eating meat?",
66
- "Do you think your spending affects the environment?"
67
- ],
68
- '存錢和投資習慣': [
69
- "Do you feel anxious about money?",
70
- "Are you frugal with money?",
71
- "Do you save money regularly?",
72
- "Are you satisfied with your financial knowledge?",
73
- "Do you consider environmental impact when investing?"
74
- ],
75
- '台灣的經濟': [
76
- "Do you think the economic goal of Taiwan is growth?",
77
- "Do you think that environmental degradation is a prerequisite for Taiwan's economic growth?",
78
- "Do you think Taiwan's economic growth contributes to environmental protection?",
79
- "Do you think the economy can grow without emitting CO2?",
80
- "Do you think economic growth has material limits?"
81
- ],
82
- 'AI使用習慣': [
83
- "Do you use AI every day?",
84
- "Do you trust AI?",
85
- "Would you like AI to have a form?"
86
- ],
87
- '台灣的大自然': [
88
- "Do you like to be in nature?",
89
- "Are you worried about climate change?",
90
- "Do you feel anxious about environmental pollution?",
91
- "Do you know the names of many plants and animals?",
92
- "Do you feel close to nature?"
93
- ],
94
- '環保習慣': [
95
- "Do you strive to live a low-carbon life?",
96
- "Would you like to do more for the environment?",
97
- "Are you interested in environmental political issues?",
98
- "Do you trust carbon offset credits?",
99
- "Do you think your environmental actions are effective for environmental protection?",
100
- "Would you like to promote environmental protection in your industry?"
101
- ],
102
- '學習環境': [
103
- "Are you open to new ideas?",
104
- "Does your university support sustainability?"
105
- ]
106
- }
107
-
108
- translation_mapping = {
109
- '購物習慣': 'Shopping Habits',
110
- '存錢和投資習慣': 'Saving and Investing Habits',
111
- '台灣的經濟': "Taiwan's Economy",
112
- 'AI使用習慣': 'AI Usage Habits',
113
- '台灣的大自然': "Taiwan's Natural Environment",
114
- '環保習慣': 'Environmental Habits',
115
- '學習環境': 'Learning Environment'
116
- }
117
-
118
- choice_xp_flat_fields = [
119
- '你/妳會買哪一種番茄?',
120
- '你/妳會買哪種雞蛋?',
121
- '你/妳買哪種牛奶?',
122
- '你/妳選哪個投資?',
123
- '* 例如搭飛機會產生碳排放,可以購買碳抵消來種樹',
124
- '每月你/妳願意支付多少錢讓AI陪伴你/妳做更環保的財務決策?'
125
- ]
126
-
127
- ranking_flat_fields = [
128
- '你/妳想要AI扮什麼角色?',
129
- '你/妳覺得如何依照生態系對環境惡化的敏感度來排名?',
130
-
131
- # how many?
132
- text_flat_fields = [
133
- '',
134
- '',
135
- '',
136
- '',
137
- '',
138
- '',
139
- '',
140
- ''
141
- ]
142
-
143
- txt_fields_by_category = {
144
- '購物習慣': [
145
- '你/妳會買哪一種番茄?',
146
- '你/妳會買哪種雞蛋?',
147
- '你/妳買哪種牛奶?',
148
- '你/妳有信任的品牌嗎?',
149
- '你/妳有沒有抵制過某公司?',
150
- '為什麼抵制?',
151
- ],
152
- '存錢和投資習慣': [
153
- '你/妳對自己的財務知識滿意嗎?',
154
- '你/妳覺得目前有任何投資嗎?',
155
- '你/妳有投資經驗如何?',
156
- '你/妳選哪個投資?',
157
- ],
158
- '台灣的經濟': [
159
- '你/妳覺得台灣的經濟目標是增長嗎?',
160
- '你/妳覺台灣的得環境退化是台灣的經濟增長的前提嗎?',
161
- '你/妳覺得台灣的經濟增長有助於保護環境嗎?',
162
- '你/妳覺得經濟能不排CO2也增長嗎?',
163
- '你/妳覺得經濟增長有物質限制嗎?'
164
- ],
165
- 'AI使用習慣': [
166
- '你/妳會每天都用AI嗎?',
167
- '你/妳會信任AI嗎?',
168
- '你/妳想要AI扮什麼角色?',
169
- '你/妳想要AI有個造型嗎?',
170
- '你/妳喜歡如何與AI溝通?'
171
- ],
172
- '台灣的大自然': [
173
- '你/妳喜歡待在大自然嗎?',
174
- '你/妳擔心氣候變化嗎?',
175
- '你/妳對環境污染情況會感到焦慮嗎?',
176
- '你/妳知道許多植物和動物的名字嗎?',
177
- '你/妳覺得如何依照生態系對環境惡化的敏感度來排名?',
178
- '你/妳感覺自己和大自然很接近嗎?'
179
- ],
180
- '環保習慣': [
181
- '你/妳努力實踐低碳生活嗎?',
182
- '誰或什麼對你/妳環保態度影響最大的?',
183
- '你/妳想做更多環保事嗎?',
184
- '你/妳對環境相關政治議題有興趣嗎?',
185
- '你/妳怎去學校?',
186
- '你/妳今年(2023年)搭飛機幾次?✈️',
187
- '* 例如搭飛機會產生碳排放,可以購買碳抵消來種樹',
188
- '你/妳信任碳排放抵消額度嗎?',
189
- '想像一下AI陪伴能幫你/妳回答超多問題了。你/妳比較想知道的環保資訊是哪些?',
190
- '每月你/妳願意支付多少錢讓AI陪伴你/妳做更環保的財務決策?',
191
- '你/妳的環保行動對環境保護有效果嗎?'
192
- ],
193
- '學習環境': [
194
- '你/妳得自己對新觀念開放嗎?',
195
- '你/妳的大學對可環保性支持嗎?',
196
- '你/妳覺得大學生如何影響公司的可持續行為?'
197
- ]
198
- }
199
-
200
- num_fields_by_category = {
201
- '購物習慣': [
202
- '如果你/妳懷疑你/妳要買的番茄可能是由強迫勞工(現代奴隸)採摘的,你/妳仍然會買它嗎?',
203
- '你/妳關心食安嗎?',
204
- '你/妳7年內買車嗎?🚘',
205
- '你/妳7年內買房嗎?🏡',
206
- '你/妳購物時知道產品環保嗎?',
207
- '你/妳覺得認證環保的公司更好嗎?',
208
- '你/妳支持肉稅嗎?',
209
- '你/妳關心食用雞的生活嗎?',
210
- '你/妳避免吃肉嗎?'
211
- ],
212
- '存錢和投資習慣': [
213
- '你/妳會對金錢感到焦慮嗎?',
214
- '你/妳會對金錢很節儉嗎?',
215
- '你/妳會經常存錢嗎?',
216
- '你/妳對自己的財務知識滿意嗎?',
217
- '你/妳選哪個投資?',
218
- '你/妳投資會考慮環保嗎?'
219
- ],
220
- '台灣的經濟': [
221
- '你/妳覺得台灣的經濟目標是增長嗎?',
222
- '你/妳覺台灣的得環境退化是台灣的經濟增長的前提嗎?',
223
- '你/妳覺得台灣的經濟增長有助於保護環境嗎?',
224
- '你/妳覺得經濟能不排CO2也增長嗎?',
225
- '你/妳覺得經濟增長有物質限制嗎?'
226
- ],
227
- 'AI使用習慣': [
228
- '你/妳會每天都用AI嗎?',
229
- '你/妳會信任AI嗎?',
230
- '你/妳想要AI有個造型嗎?',
231
- ],
232
- '台灣的大自然': [
233
- '你/妳喜歡待在大自然嗎?',
234
- '你/妳擔心氣候變化嗎?',
235
- '你/妳對環境污染情況會感到焦慮嗎?',
236
- '你/妳知道許多植物和動物的名字嗎?',
237
- '你/妳感覺自己和大自然很接近嗎?'
238
- ],
239
- '環保習慣': [
240
- '你/妳努力實踐低碳生活嗎?',
241
- '你/妳想做更多環保事嗎?',
242
- '你/妳對環境相關政治議題有興趣嗎?',
243
- '你/妳今年(2023年)搭飛機幾次?✈️',
244
- '你/妳信任碳排放抵消額度嗎?',
245
- '你/妳的環保行動對環境保護有效果嗎?'
246
- ],
247
- '學習環境': [
248
- '你/妳得自己對新觀念開放嗎?',
249
- '你/妳的大學對可環保性支持嗎?'
250
- ]
251
- }
252
-
253
- simple_fields = {
254
- '購物習慣': [
255
- '如果你/妳懷疑你/妳要買的番茄可能是由強迫勞工(現代奴隸)採摘的,你/妳仍然會買它嗎?',
256
- '你/妳關心食安嗎?',
257
- '你/妳7年內買車嗎?🚘',
258
- '你/妳7年內買房嗎?🏡',
259
- '你/妳購物時知道產品環保嗎?',
260
- '你/妳覺得認證環保的公司更好嗎?',
261
- '你/妳支持肉稅嗎?',
262
- '你/妳關心食用雞的生活嗎?',
263
- '你/妳避免吃肉嗎?'
264
- ],
265
- '存錢和投資習慣': [
266
- '你/妳會對金錢感到焦慮嗎?',
267
- '你/妳會對金錢很節儉嗎?',
268
- '你/妳會經常存錢嗎?',
269
- '你/妳對自己的財務知識滿意嗎?',
270
- '你/妳選哪個投資?',
271
- '你/妳投資會考慮環保嗎?'
272
- ],
273
- '台灣的經濟': [
274
- '你/妳覺得台灣的經濟目標是增長嗎?',
275
- '你/妳覺台灣的得環境退化是台灣的經濟增長的前提嗎?',
276
- '你/妳覺得台灣的經濟增長有助於保護環境嗎?',
277
- '你/妳覺得經濟能不排CO2也增長嗎?',
278
- '你/妳覺得經濟增長有物質限制嗎?'
279
- ],
280
- 'AI使用習慣': [
281
- '你/妳會每天都用AI嗎?',
282
- '你/妳會信任AI嗎?',
283
- '你/妳想要AI有個造型嗎?',
284
- ],
285
- '台灣的大自然': [
286
- '你/妳喜歡待在大自然嗎?',
287
- '你/妳擔心氣候變化嗎?',
288
- '你/妳對環境污染情況會感到焦慮嗎?',
289
- '你/妳知道許多植物和動物的名字嗎?',
290
- '你/妳感覺自己和大自然很接近嗎?'
291
- ],
292
- '環保習慣': [
293
- '你/妳努力實踐低碳生活嗎?',
294
- '你/妳想做更多環保事嗎?',
295
- '你/妳對環境相關政治議題有興趣嗎?',
296
- '你/妳今年(2023年)搭飛機幾次?✈️',
297
- '你/妳信任碳排放抵消額度嗎?',
298
- '你/妳的環保行動對環境保護有效果嗎?'
299
- ],
300
- '學習環境': [
301
- '你/妳得自己對新觀念開放嗎?',
302
- '你/妳的大學對可環保性支持嗎?'
303
- ]
304
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fields/text_flat_fields.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # how many?
2
+ text_flat_fields = [
3
+ '',
4
+ '',
5
+ '',
6
+ '',
7
+ '',
8
+ '',
9
+ '',
10
+ ''
11
+ ]
fields/translation_mapping.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ translation_mapping = {
2
+ '購物習慣': 'Shopping Habits',
3
+ '存錢和投資習慣': 'Saving and Investing Habits',
4
+ '台灣的經濟': "Taiwan's Economy",
5
+ 'AI使用習慣': 'AI Usage Habits',
6
+ '台灣的大自然': "Taiwan's Natural Environment",
7
+ '環保習慣': 'Environmental Habits',
8
+ '學習環境': 'Learning Environment'
9
+ }
fields/txt_fields_by_category.py ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ txt_fields_by_category = {
2
+ '購物習慣': [
3
+ '你/妳會買哪一種番茄?',
4
+ '你/妳會買哪種雞蛋?',
5
+ '你/妳買哪種牛奶?',
6
+ '你/妳有信任的品牌嗎?',
7
+ '你/妳有沒有抵制過某公司?',
8
+ '為什麼抵制?',
9
+ ],
10
+ '存錢和投資習慣': [
11
+ '你/妳對自己的財務知識滿意嗎?',
12
+ '你/妳覺得目前有任何投資嗎?',
13
+ '你/妳有投資經驗如何?',
14
+ '你/妳選哪個投資?',
15
+ ],
16
+ '台灣的經濟': [
17
+ '你/妳覺得台灣的經濟目標是增長嗎?',
18
+ '你/妳覺台灣的得環境退化是台灣的經濟增長的前提嗎?',
19
+ '你/妳覺得台灣的經濟增長有助於保護環境嗎?',
20
+ '你/妳覺得經濟能不排CO2也增長嗎?',
21
+ '你/妳覺得經濟增長有物質限制嗎?'
22
+ ],
23
+ 'AI使用習慣': [
24
+ '你/妳會每天都用AI嗎?',
25
+ '你/妳會信任AI嗎?',
26
+ '你/妳想要AI扮什麼角色?',
27
+ '你/妳想要AI有個造型嗎?',
28
+ '你/妳喜歡如何與AI溝通?'
29
+ ],
30
+ '台灣的大自然': [
31
+ '你/妳喜歡待在大自然嗎?',
32
+ '你/妳擔心氣候變化嗎?',
33
+ '你/妳對環境污染情況會感到焦慮嗎?',
34
+ '你/妳知道許多植物和動物的名字嗎?',
35
+ '你/妳覺得如何依照生態系對環境惡化的敏感度來排名?',
36
+ '你/妳感覺自己和大自然很接近嗎?'
37
+ ],
38
+ '環保習慣': [
39
+ '你/妳努力實踐低碳生活嗎?',
40
+ '誰或什麼對你/妳環保態度影響最大的?',
41
+ '你/妳想做更多環保事嗎?',
42
+ '你/妳對環境相關政治議題有興趣嗎?',
43
+ '你/妳怎去學校?',
44
+ '你/妳今年(2023年)搭飛機幾次?✈️',
45
+ '* 例如搭飛機會產生碳排放,可以購買碳抵消來種樹',
46
+ '你/妳信任碳排放抵消額度嗎?',
47
+ '想像一下AI陪伴能幫你/妳回答超多問題了。你/妳比較想知道的環保資訊是哪些?',
48
+ '每月你/妳願意支付多少錢讓AI陪伴你/妳做更環保的財務決策?',
49
+ '你/妳的環保行動對環境保護有效果嗎?'
50
+ ],
51
+ '學習環境': [
52
+ '你/妳得自己對新觀念開放嗎?',
53
+ '你/妳的大學對可環保性支持嗎?',
54
+ '你/妳覺得大學生如何影響公司的可持續行為?'
55
+ ]
56
+ }
page_attitudes.py CHANGED
@@ -3,8 +3,8 @@ import matplotlib.pyplot as plt
3
  import seaborn as sns
4
  from matplotlib.font_manager import FontProperties
5
  from fields.likert_flat_fields import likert_flat_fields
6
- from fields.survey_fields import field_translation_mapping
7
- from fields.survey_fields import translation_mapping
8
 
9
 
10
  @st.cache_data
 
3
  import seaborn as sns
4
  from matplotlib.font_manager import FontProperties
5
  from fields.likert_flat_fields import likert_flat_fields
6
+ from fields.field_translation_mapping import field_translation_mapping
7
+ from fields.translation_mapping import translation_mapping
8
 
9
 
10
  @st.cache_data
page_tests.py CHANGED
@@ -1,7 +1,7 @@
1
  from scipy.stats import chisquare
2
  import streamlit as st
3
  import pandas as pd
4
- from fields.survey_fields import likert_flat_fields
5
 
6
 
7
  @st.cache_data
 
1
  from scipy.stats import chisquare
2
  import streamlit as st
3
  import pandas as pd
4
+ from fields.likert_flat_fields import likert_flat_fields
5
 
6
 
7
  @st.cache_data