-
Notifications
You must be signed in to change notification settings - Fork 1
/
Data.xml
380 lines (356 loc) · 13.7 KB
/
Data.xml
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
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Scoring_Elements>
<Element>
<Heading>Reverse Engineering</Heading>
<Question>Basket in Base</Question>
<Tag>basket</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if (this.answers['basket'] == 'Yes') {score += 30;}]]></Score>
</Element>
<Element>
<Heading>Reverse Engineering</Heading>
<Question>Your model is in Base, and is "identical"</Question>
<Tag>model</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if ((this.answers['basket'] == 'Yes') && (this.answers['model'] == 'Yes')) {score += 15;}]]></Score>
</Element>
<Element>
<Heading>Opening Doors</Heading>
<Question>Door opened by pushing handle down</Question>
<Tag>door</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if (this.answers['door'] == 'Yes') {score += 15;}]]></Score>
</Element>
<Element>
<Heading>Project-Based Learning</Heading>
<Question>Loops on scale</Question>
<Tag>project</Tag>
<Option><Label>0</Label><Value>0</Value><Default/></Option>
<Option><Label>1</Label><Value>1</Value></Option>
<Option><Label>2</Label><Value>2</Value></Option>
<Option><Label>3</Label><Value>3</Value></Option>
<Option><Label>4</Label><Value>4</Value></Option>
<Option><Label>5</Label><Value>5</Value></Option>
<Option><Label>6</Label><Value>6</Value></Option>
<Option><Label>7</Label><Value>7</Value></Option>
<Option><Label>8</Label><Value>8</Value></Option>
<Score><![CDATA[score += (this.answers['project'] || 0)*1 > 0 ? (this.answers['project'] || 0)*10 + 10 : 0;]]></Score>
<Validate><![CDATA[((((this.answers['loop_touch'] == 'No') ? 1 : 0) +
((this.answers['senses_touch'] == 'No') ? 1 : 0) +
((this.answers['engine_loop'] == 'Yes') ? 2 : 0) +
((this.answers['community_touch'] == 'No') ? 1 : 0) +
(this.answers['project'] || 0)*1) > 8) ?
{'highlight': true, 'msg':'Cannot use more than 8 loops'} : // validation failed
{'highlight': false, 'msg':''};]]>
</Validate>
</Element>
<Element>
<Heading>Apprenticeship</Heading>
<Question>Model presented to Referee</Question>
<Tag>people</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if (this.answers['people'] == 'Yes') {score += 20;}]]></Score>
</Element>
<Element>
<Heading>Apprenticeship</Heading>
<Question>Touching circle, not in Base, people bound</Question>
<Tag>circle</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if ((this.answers['people'] == 'Yes') && (this.answers['circle'] == 'Yes')) {score += 15;}]]></Score>
</Element>
<Element>
<Heading>Search Engine</Heading>
<Question>Only Slider caused wheel to spin 1+ times</Question>
<Tag>engine1</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if (this.answers['engine1'] == 'Yes') {score += 15;}]]></Score>
</Element>
<Element>
<Heading>Search Engine</Heading>
<Question>Only correct loop removed</Question>
<Tag>engine_loop</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if ((this.answers['engine1'] == 'Yes') && (this.answers['engine_loop'] == 'Yes')) {score += 45;}]]></Score>
</Element>
<Element>
<Heading>Sports</Heading>
<Question>Ball shot from East/North of "Shot Lines" to Net</Question>
<Tag>ball_shot</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if (this.answers['ball_shot'] == 'Yes') {score += 30;}]]></Score>
</Element>
<Element>
<Heading>Sports</Heading>
<Question>Ball touching mat in Net at end of match</Question>
<Tag>ball_touch</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if ((this.answers['ball_shot'] == 'Yes') && (this.answers['ball_touch'] == 'Yes')) {score += 30;}]]></Score>
</Element>
<Element>
<Heading>Robotics Competition</Heading>
<Question>Only Robotics Insert installed</Question>
<Tag>insert_installed</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if (this.answers['insert_installed'] == 'Yes') {score += 25;}]]></Score>
</Element>
<Element>
<Heading>Robotics Competition</Heading>
<Question>Loop no longer touching model*</Question>
<Tag>loop_touch</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if ((this.answers['insert_installed'] == 'Yes') && (this.answers['loop_touch'] == 'Yes')) {score += 30;}]]></Score>
</Element>
<Element>
<Heading>Using the Right Senses</Heading>
<Question>Loop no longer touching model*</Question>
<Tag>senses_touch</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if (this.answers['senses_touch'] == 'Yes') {score += 40;}]]></Score>
</Element>
<Element>
<Heading>Remote Communication/Learning</Heading>
<Question>Referee saw robot pull slider west</Question>
<Tag>robot_pull</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if (this.answers['robot_pull'] == 'Yes') {score += 40;}]]></Score>
</Element>
<Element>
<Heading>Thinking Outside the Box</Heading>
<Question>Idea model not touching Box, Box never in Base</Question>
<Tag>idea_touch</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
</Element>
<Element>
<Heading>Thinking Outside the Box</Heading>
<Question>Bulb faces UP</Question>
<Tag>bulb_up</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if (this.answers['idea_touch'] == 'Yes') {if (this.answers['bulb_up'] == 'Yes') {score += 40;} else {score += 25;}} ]]></Score>
</Element>
<Element>
<Heading>Community Learning</Heading>
<Question>Loop no longer touching model</Question>
<Tag>community_touch</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if (this.answers['community_touch'] == 'Yes') {score += 25;}]]></Score>
</Element>
<Element>
<Heading>Cloud Access</Heading>
<Question>SD card is UP due to inserted "key"</Question>
<Tag>key_up</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if (this.answers['key_up'] == 'Yes') {score += 30;}]]></Score>
</Element>
<Element>
<Heading>Engagement</Heading>
<Question>Yellow section moved south</Question>
<Tag>bar_south</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
</Element>
<Element>
<Heading>Engagement</Heading>
<Question>Dial major marker Color</Question>
<Tag>marker_color</Tag>
<Option>
<Label>N/A</Label><Value>NA</Value><Default/>
</Option>
<Option>
<Label>Red 10%</Label><Value>10</Value>
</Option>
<Option>
<Label>Orange 16%</Label><Value>16</Value>
</Option>
<Option>
<Label>Green 22%</Label><Value>22</Value>
</Option>
<Option>
<Label>Blue 28%</Label><Value>28</Value>
</Option>
<Option>
<Label>Red 34%</Label><Value>34</Value>
</Option>
<Option>
<Label>Blue 40%</Label><Value>40</Value>
</Option>
<Option>
<Label>Green 46%</Label><Value>46</Value>
</Option>
<Option>
<Label>Orange 52%</Label><Value>52</Value>
</Option>
<Option>
<Label>Red 58%</Label><Value>58</Value>
</Option>
<Validate><![CDATA[((this.answers['bar_south'] == 'Yes') &&
(this.answers['marker_color'] == 'NA') &&
(this.answers['marker_ticks'] != undefined) &&
(this.answers['marker_ticks'] != 'NA')) ?
{'highlight': true, 'msg':'Must select dial location'} : // validation failed
{'highlight': false, 'msg':''};]]>
</Validate>
</Element>
<Element>
<Heading>Engagement</Heading>
<Question>Ticks past major marker</Question>
<Tag>marker_ticks</Tag>
<Option>
<Label>N/A</Label><Value>NA</Value><Default/>
</Option>
<Option>
<Label>0</Label><Value>0</Value>
</Option>
<Option>
<Label>1</Label><Value>1</Value>
</Option>
<Option>
<Label>2</Label><Value>2</Value>
</Option>
<Option>
<Label>3</Label><Value>3</Value>
</Option>
<Option>
<Label>4</Label><Value>4</Value>
</Option>
<Option>
<Label>5</Label><Value>5</Value>
</Option>
<Validate><![CDATA[((this.answers['bar_south'] == 'Yes') &&
(this.answers['marker_ticks'] == 'NA') &&
(this.answers['marker_color'] != undefined) &&
(this.answers['marker_color'] != 'NA')) ?
{'highlight': true, 'msg':'Must select dial location'} : // validation failed
{'highlight': false, 'msg':''};
]]>
</Validate>
<Score><![CDATA[this.answers['engagement'] = 0;
if ((this.answers['bar_south'] == 'Yes') &&
(this.answers['marker_color'] != 'NA') &&
(this.answers['marker_ticks'] != 'NA')) {
this.answers['engagement'] = (this.answers['marker_color'] || 0)*1
+ (this.answers['marker_ticks'] || 0)*1};
]]>
</Score>
</Element>
<Element>
<Heading>Adapting to Changing Conditions</Heading>
<Question>Model rotated 90-ish degrees CCW</Question>
<Tag>model_rotated</Tag>
<Option>
<Label>Yes</Label><Value>Yes</Value>
</Option>
<Option>
<Label>No</Label><Value>No</Value><Default/>
</Option>
<Score><![CDATA[if (this.answers['model_rotated'] == 'Yes') {score += 15;}
]]></Score>
</Element>
<Element>
<Heading>Penalties</Heading>
<Question>Robot, Sprawl, Junk Penalties</Question>
<Tag>penalties</Tag>
<Option><Label>0</Label><Value>0</Value><Default/></Option>
<Option><Label>1</Label><Value>10</Value></Option>
<Option><Label>2</Label><Value>20</Value></Option>
<Option><Label>3</Label><Value>30</Value></Option>
<Option><Label>4</Label><Value>40</Value></Option>
<Option><Label>5</Label><Value>50</Value></Option>
<Option><Label>6</Label><Value>60</Value></Option>
<Option><Label>7</Label><Value>70</Value></Option>
<Option><Label>8</Label><Value>80</Value></Option>
<Score><![CDATA[score -= (this.answers['penalties'] || 0);
score += Math.ceil((this.answers['engagement']*score)/100);
if (this.answers['bar_south'] == 'Yes') {score += 20;}
]]>
</Score>
</Element>
</Scoring_Elements>