-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbm.html
More file actions
220 lines (183 loc) · 9.43 KB
/
bm.html
File metadata and controls
220 lines (183 loc) · 9.43 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>대중 참여형 정책 수립을 위한 크라우드소싱 정책 플랫폼 고안</title>
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700" rel='stylesheet' type='text/css'>
<style>
body {
font-family: "open sans";
}
#main {
margin-left: 30px;
width: 600px;
}
#main div {
margin: 15px;
}
h3 {
color: teal;
}
a, a:active, a:visited {
color: #222;
font-weight: bold;
font-size: 18px;
}
a:hover {
color: teal;
}
</style>
</head>
<body>
<div class="container">
<div id="tabs" class="clearfix">
<h1>대중 참여형 정책 수립을 위한 크라우드소싱 정책 플랫폼 고안</h1>
</div>
<div id="main">
<div id="leftpane">
<h2>참가자 ID: <span class="participant-id"></span></h2>
<div>
"대중 참여형 정책 수립을 위한 크라우드소싱 정책 플랫폼 고안" 연구 관련 실험에 참여해 주셔서 감사합니다. 다음은 실험 순서 및 방법에 대한 안내사항입니다. 실험 도중에 문의사항이 있으실 경우 실험 진행자에게 알려주시기 바랍니다.
</div>
<div id="tasks">
<h3>1.실험 전 설문 (5분)</h3>
<div>
<h4><span class='progress'> </span>
<a target="_blank" href="" id="preQ">[실험 전 설문]</a></h4>
</div>
<h3>2. 인터페이스 Tutorial (10분)</h3>
<div>
본 실험에서 참가자 분은 예산에 관련된 세 가지 서로 다른 인터페이스를 사용하시게 됩니다. 각 인터페이스의 사용방법은 아래 링크에 자세히 나와 있습니다. <br/>
<h4><span class='progress'> </span>
<a target="_blank" href="" id="tutorialQ">[인터페이스 사용 방법]</a></h4>
<strong>Note</strong>: 본 실험에서 ‘사업’이라 함은 서울시에서 예산을 집행하는 단위로, ‘저소득 어르신 급식 지원’, ‘120 다산 콜센터 운영’ 등은 서울시에서 진행하는 사업 중 일부입니다. 현재 서울시는 약 3142개의 사업을 진행하고 있습니다.
</div>
<h3>3. 본 실험 (총 30분)</h3>
<div id="muddymix">
본 실험에서 귀하는 세 가지 이슈(장애인 복지, 안전 예산, 육아 지원)과 관련된 서울시 예산을 찾는 일을 하게 됩니다. 서로 다른 세 가지의 이슈를 각기 다른 세 인터페이스 A, B, C를 통해 탐색하게 됩니다. 각 탐색의 목적은 해당 이슈에 서울시가 사용하고 있는 예산 규모를 예측해 보는 것입니다.<br/><br/>
각 탐색에는 7분의 시간이 주어지며 실험 진행자가 3분 전, 1분 전에 알려드립니다. 탐색이 일찍 끝난 경우 다음 탐색으로 넘어가지 마시고 기다려 주십시오. 매 7분이 지난 후 탐색이 끝날 때마다 아래 링크의 설문조사를 작성하신 뒤 다음 안내가 있을 때까지 기다려 주십시오.<br/>
<h4><span id="issue1"></span></h4>
<h4><span class='progress'> </span>
<a target="_blank" href="" id="explore1">[인터페이스 <span id="explore1Condition"></span>]</a> <small>(7분) 로그인 ID: <span class="participant-id"></span>@test.com, 패스워드: test</small></h4>
<h4><span class='progress'> </span>
<a target="_blank" href="" id="exploreQ1">[탐색 후 설문]</a></h4>
<h4><span id="issue2"></span></h4>
<h4><span class='progress'> </span>
<a target="_blank" href="" id="explore2">[인터페이스 <span id="explore2Condition"></span>]</a> <small>(7분) 로그인 ID: <span class="participant-id"></span>@test.com, 패스워드: test</small></h4>
<h4><span class='progress'> </span>
<a target="_blank" href="" id="exploreQ2">[탐색 후 설문]</a></h4>
<h4><span id="issue3"></span></h4>
<h4><span class='progress'> </span>
<a target="_blank" href="" id="explore3">[인터페이스 <span id="explore3Condition"></span>]</a> <small>(7분) 로그인 ID: <span class="participant-id"></span>@test.com, 패스워드: test</small></h4>
<h4><span class='progress'> </span>
<a target="_blank" href="" id="exploreQ3">[탐색 후 설문]</a></h4>
</div>
<h3>4. 실험 후 설문(10분)</h3>
<div>
<h4><span class='progress'> </span>
<a target="_blank" href="" id="postQ">[실험 후 설문]</a></h4>
</div>
<h3>5. 국가 재정 지출 인식 조사(10~15분)</h3>
<div>
서울시가 아닌 국가 전체의 재정 지출에 대한 설문조사입니다. 아래 링크를 클릭해 몇가지 문항에 답변해 주시면 됩니다.
<h4><span class='progress'> </span>
<a target="_blank" href="" id="finalQ">[국가 재정 지출 인식 조사]</a></h4>
</div>
</div>
</div>
<hr>
<div class="clearfix">
<div>실험에 참여해 주셔서 감사합니다. </div>
<br/><br/>
</div>
</div>
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script>
function gup(name) {
var match = RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search);
return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
}
var pid = gup("pid");
var preQ = "https://docs.google.com/forms/d/1Hmb_GIbgUjlDHVgLaffdIw-ZwvFOGi7EV5p4bwumhnI/viewform";
var tutorialQ = "https://docs.google.com/document/d/1U60ikNFIGbXQ5nmaSGxjjWjwtoQdwfyki8Jz5PuDCwI/edit";
var exploreQ = "https://docs.google.com/forms/d/1bAHMcoCLzqWM6I-0uiWSoh9avBZ3CT-jeOaP2AZomEM/viewform";
var postQ = "https://docs.google.com/forms/d/1tcFqurFYSw3GnH4QmDNl66WwGAVULnVtx8gom3GGRmA/viewform";
var finalQ = "https://qtrial2014.az1.qualtrics.com/SE/?SID=SV_0fiv1UVZufldyE5";
var mixes = {};
// "s01": {"mix1": "", "mix2": "", "mix1cond": "", "mix2cond": ""},
// "s02": {"mix1": "", "mix2": "", "mix1cond": "", "mix2cond": ""}
var numParticipants = 24;
var numTasks = 3;
var issues = ["장애인 복지", "안전 예산", "육아 지원"];
var mappings = [
["A", "B", "C"], ["A", "C", "B"], ["B", "C", "A"], ["B", "A", "C"], ["C", "A", "B"], ["C", "B", "A"]
];
var url = "http://143.248.234.88";
var postfixes = ["/empty", "/", "/explore"];
var conditions = {};
function createUrl(port, interface) {
var index;
var result;
if (interface == "A")
index = 0;
else if (interface == "B")
index = 1;
else if (interface == "C")
index = 2;
result = url + ":" + port + postfixes[index];
console.log(result);
return result;
}
function createTasks() {
var i, j, itype, vtype, taskOrder;
var taskCount = 0;
for (i = 1; i <= numParticipants; i++) {
console.log("Participant", i);
taskOrder = mappings[(i-1) % 6];
port = 30000 + ((i-1) % 12) + 1;
for (j = 0; j < numTasks; j++) {
taskCount += 1;
// taskOrder = taskCount % tseq.length;
conditions[taskCount] = {
"pid": i,
"tid": taskCount,
"torder": j + 1,
"itype": taskOrder[j],
"url": createUrl(port, taskOrder[j])
}
}
}
console.log(taskCount, "tasks created");
// console.log(conditions);
for (var cond in conditions) {
console.log("pid:", conditions[cond].pid, "tid:", conditions[cond].tid, "torder:", conditions[cond].torder, "itype:", conditions[cond].itype, "url:", conditions[cond].url);
}
}
$(document).ready(function(){
$(".participant-id").text(pid);
$("#preQ").attr("href", preQ);
$("#tutorialQ").attr("href", tutorialQ);
$("#exploreQ1").attr("href", exploreQ);
$("#exploreQ2").attr("href", exploreQ);
$("#exploreQ3").attr("href", exploreQ);
$("#postQ").attr("href", postQ);
$("#finalQ").attr("href", finalQ);
$("a").click(function(){
$(this).closest("h4").find(".progress").html("V ");
// Log.add("study.html", "click", {"pid": pid, "url": $(this).attr("href")});
});
createTasks();
var numTasks = 3;
var pnum = parseInt(pid.substr(1));
console.log("pnum", pnum);
for (i = 1; i <= numTasks; i++) {
console.log("TASK #", (pnum - 1) * numTasks + i)
task = conditions[(pnum - 1) * numTasks + i];
$("#issue" + i).text("이슈: " + issues[i - 1]);
$("#explore" + i).attr("href", task.url);
$("#explore" + i + "Condition").text(task.itype);
}
});
</script>
</body>
</html>