-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIntra Projects push_swap Edit.html
484 lines (439 loc) · 35.4 KB
/
Intra Projects push_swap Edit.html
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
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
<!DOCTYPE html>
<!-- saved from url=(0087)file:///home/bnidia/Videos/push_swap/push_swap/Intra%20Projects%20push_swap%20Edit.html -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="IE=Edge,chrome=1" http-equiv="X-UA-Compatible">
<meta content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0" name="viewport">
<meta content="yes" name="mobile-web-app-capable">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="translucent-black" name="apple-mobile-web-app-status-bar-style">
<meta content="Intranet 42" name="apple-mobile-web-app-title">
<meta content="on" http-equiv="cleartype">
<link href="https://cdn.intra.42.fr/" rel="preconnect">
<link href="https://projects.intra.42.fr/assets/42_logo_black-684989d43d629b3c0ff6fd7e1157ee04db9bb7a73fba8ec4e01543d650a1c607.png" rel="icon" type="image/png">
<link href="https://projects.intra.42.fr/assets/42_logo_black-684989d43d629b3c0ff6fd7e1157ee04db9bb7a73fba8ec4e01543d650a1c607.png" rel="shortcut icon" type="image/png">
<link href="https://projects.intra.42.fr/opensearch.xml" rel="search" title="project" type="application/opensearchdescription+xml">
<title>Intra Projects push_swap Edit</title>
<meta name="csrf-param" content="authenticity_token">
<meta name="csrf-token" content="oEu/57BrTFyP9pxNCBJ6a7NSOWqbT5zE1V37pW+OC6osCpp80ayQNaMWy+k2YdvVEq1q0XxoxZC20DDUJOLIGg==">
<link rel="stylesheet" media="all" href="./Intra Projects push_swap Edit_files/application-31b144f9da6d315a641470dd4b809c40e2364c659c1e606b5990913f073103de.css">
<style>
.deprecated {
-webkit-filter: grayscale(100%);
filter: grayscale(100%); }
</style>
</head><body class=" ">
<div class="notifications-flash-top-bar">
</div>
<script>
(function() {
this._notifCount = 0;
this._flashes = [];
}).call(this);
</script>
<div class="notifications-container hidden-xs" data-flashes-url="https://profile.intra.42.fr/flashes" data-notifications-url="https://profile.intra.42.fr/notifications" style="top: 60px; left: 439.953px;">
<header class="notifications--header">
<span>notifications</span>
<a href="https://profile.intra.42.fr/notifications">See all notifications</a>
</header>
<ul class="menu-drop-list"></ul>
</div>
<div class="main-navbar">
<div class="main-navbar-left">
<div class="main-navbar-logo" data-turbolinks-scaffold="">
<a href="https://profile.intra.42.fr/"><img alt="42" src="./Intra Projects push_swap Edit_files/42_logo-7dfc9110a5319a308863b96bda33cea995046d1731cebb735e41b16255106c12.svg">
</a></div>
<span class="hidden-sidebars main-menu-trigger lines-button x" data-trigger-menu="">
<span class="fal fa-bars"></span>
</span>
<a class="search-mobile-button hidden-sidebars fal fa-search" href="https://profile.intra.42.fr/searches"></a>
</div>
<div class="main-navbar-user-nav" data-turbolinks-scaffold="">
</div>
</div>
<div class="page">
<div class="page-content" data-turbolinks-scaffold="">
<div class="row">
<div class="main-top-menu">
</div>
<div class="container-item scale-team-container">
<div class="row mt-4">
<div class="scale-section-infos col-sm-12 scale-div">
<h3 class="font-weight-bold text-uppercase text-center mt-4 pt-4">
Scale for project
<a href="https://projects.intra.42.fr/projects/42cursus-push_swap">push_swap</a>
</h3>
<h5 class="text-muted text-center">You should evaluate 1 student in this team</h5>
<!-- -------- La liste des personnes du groupe ------- -->
<div class="container-inner-item project-repo pt-0 mt-0">
<div class="input-group">
</div>
</div>
<hr>
<div class="p-0 scale-introduction dancer from-down" id="introduction-11018">
<h3 class="font-weight-bold mb-1">Introduction</h3>
<p>
<br>Please respect the following rules:<br><br>- Remain polite, courteous, respectful and constructive throughout<br> the correction process. The well-being of the community depends on<br> it.<br><br>- Identify with the person (or the group) graded the eventual<br> dysfunctions of the work. Take the time to discuss and debate the<br> problems you have identified.<br><br>- You must consider that there might be some difference in how your<br> peers might have understood the project's instructions and the<br> scope of its functionalities. Always keep an open mind and grade<br> him/her as honestly as possible. The pedagogy is valid only and<br> only if peer-evaluation is conducted seriously.<br>
</p>
</div>
<div class="p-0 scale-guidelines dancer from-down" id="guidelines-11018">
<h3 class="font-weight-bold mb-1">Guidelines</h3>
<p>
<br>- Only grade the work that is in the student or group's GiT<br> repository.<br><br>- Double-check that the GiT repository belongs to the student or the<br> group. Ensure that the work is for the relevant project and also<br> check that "git clone" is used in an empty folder.<br><br>- Check carefully that no malicious aliases was used to fool you and<br> make you evaluate something other than the content of the official<br> repository.<br><br>- To avoid any surprises, carefully check that both the correcting<br> and the corrected students have reviewed the possible scripts used<br> to facilitate the grading.<br><br>- If the correcting student has not completed that particular<br> project yet, it is mandatory for this student to read the entire<br> subject prior to starting the defence.<br><br>- Use the flags available on this scale to signal an empty<br> repository, non-functioning program, a norm error, cheating etc.<br> In these cases, the grading is over and the final grade is 0 (or<br> -42 in case of cheating). However, with the exception of cheating,<br> you are encouraged to continue to discuss your work (even if you<br> have not finished it) in order to identify any issues that may<br> have caused this failure and avoid repeating the same mistake in<br> the future.<br>
</p>
</div>
<hr>
<div class="dancer from-down" id="attachments-11018">
<h3 class="font-weight-bold mb-1">Attachments</h3>
<div class="project-attachments-list">
</div>
<div class="project-attachments-list">
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://cdn.intra.42.fr/pdf/pdf/40180/en.subject.pdf">subject.pdf</a>
</h4>
</div>
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://projects.intra.42.fr/uploads/document/document/6932/checker_Mac">checker_Mac</a>
</h4>
</div>
<div class="project-attachment-item">
<h4 class="attachment-name">
<span class="icon-file"></span>
<a target="_blank" href="https://projects.intra.42.fr/uploads/document/document/6933/checker_linux">checker_linux</a>
</h4>
</div>
</div>
</div>
</div>
<form class="simple_form form-horizontal" novalidate="novalidate" id="edit_scale_team_3864413" action="https://projects.intra.42.fr/projects/42cursus-push_swap/project_sessions/3513/evaluations/1715/scales/11018/scale_teams/3864413" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓"><input type="hidden" name="_method" value="patch"><input type="hidden" name="authenticity_token" value="oEu/57BrTFyP9pxNCBJ6a7NSOWqbT5zE1V37pW+OC6osCpp80ayQNaMWy+k2YdvVEq1q0XxoxZC20DDUJOLIGg=="><div class="scale-section-answers col-sm-12 scale-div">
<section class="scale-section-item dancer from-down" id="section-31642">
<div class="section-header">
<h3 class="font-weight-bold mb-1">Mandatory part</h3>
<p class="font-italic">
Reminder : Remember that for the duration of the defence, no
segfault, nor other unexpected, premature, uncontrolled or
unexpected termination of the program, else the final grade is 0.
Use the appropriate flag. This rule is active thoughout the whole
defence.
</p>
</div>
<h4 class="scale-question-name">Memory leaks</h4>
<p class="scale-section-guidelines">
<br>Throughout the defence, pay attention to the amount of memory<br>used by push_swap (using the command top for example) in order<br>to detect any anomalies and ensure that allocated memory is<br>properly freed. If there is one memory leak (or more), the final<br>grade is 0.<br>
</p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][0][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="105749" name="[scale_team][answers_attributes][0][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][0][value]" id="radio_[scale_team][answers_attributes][0]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][0]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][0][value]" id="radio_[scale_team][answers_attributes][0]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][0]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Error management</h4>
<p class="scale-section-guidelines">
<br>In this section, we'll evaluate the push_swap's error management.<br>If at least one fails, no points will be awarded for this<br>section. Move to the next one.<br><br>- Run push_swap with non numeric parameters. The program must<br> display "Error".<br><br>- Run push_swap with a duplicate numeric parameter. The program<br> must display "Error".<br><br>- Run push_swap with only numeric parameters including one greater<br> than MAXINT. The program must display "Error".<br><br>- Run push_swap without any parameters. The program must not<br> display anything and give the prompt back.<br>
</p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][1][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="105750" name="[scale_team][answers_attributes][1][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][1][value]" id="radio_[scale_team][answers_attributes][1]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][1]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][1][value]" id="radio_[scale_team][answers_attributes][1]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][1]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Push_swap - Identity test</h4>
<p class="scale-section-guidelines">
<br>In this section, we'll evaluate push_swap's behavior when given<br>a list, which has already been sorted. Execute the following 3<br>tests. If at least one fails, no points will be awarded for this<br>section. Move to the next one.<br><br> - Run the following command "$>./push_swap 42". The program<br> should display nothing (0 instruction).<br><br> - Run the following command "$>./push_swap 0 1 2 3". The<br> program should display nothing (0 instruction).<br><br> - Run the following command "$>./push_swap 0 1 2 3 4 5 6 7 8<br> 9". The program should display nothing (0 instruction).<br>
</p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][2][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="105751" name="[scale_team][answers_attributes][2][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][2][value]" id="radio_[scale_team][answers_attributes][2]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][2]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][2][value]" id="radio_[scale_team][answers_attributes][2]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][2]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Push_swap - Simple version</h4>
<p class="scale-section-guidelines">
<br>If the following test fails, no points will be awarded for this<br>section. Move to the next one. Use the checker binary given on the<br>attachments.<br><br> - Run "$>ARG="2 1 0"; ./push_swap $ARG | ./checker_OS $ARG".<br> Check that the checker program displays "OK" and that the<br> size of the list of instructions from push_swap is 2 OR 3.<br> Otherwise the test fails.<br>
</p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][3][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="105752" name="[scale_team][answers_attributes][3][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][3][value]" id="radio_[scale_team][answers_attributes][3]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][3]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][3][value]" id="radio_[scale_team][answers_attributes][3]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][3]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Another simple version</h4>
<p class="scale-section-guidelines">
<br>Execute the following 2 tests. If at least one fails, no points<br>will be awarded for this section. Move to the next one. Use the checker<br>binary given on the attachments.<br><br> - Run "$>ARG="1 5 2 4 3"; ./push_swap $ARG | ./checker_OS $ARG".<br> Check that the checker program displays "OK" and that the<br> size of the list of instructions from push_swap isn't more<br> than 12. Kudos if the size of the list of instructions is 8.<br><br> - Run "$>ARG="<5 random values>"; ./push_swap $ARG | ./checker_OS<br> $ARG" and replace the placeholder by 5 random valid values.<br> Check that the checker program displays "OK" and that the<br> size of the list of instructions from push_swap isn't more<br> than 12. Otherwise this test fails. You'll have to<br> specifically check that the program wasn't developed to only<br> answer correctly on the test included in this scale. You<br> should repeat this test couple of times with several<br> permutations before you validate it.<br>
</p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][4][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="105753" name="[scale_team][answers_attributes][4][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][4][value]" id="radio_[scale_team][answers_attributes][4]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][4]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][4][value]" id="radio_[scale_team][answers_attributes][4]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][4]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Push_swap - Middle version</h4>
<p class="scale-section-guidelines">
<br>If the following test fails, no points will be awarded for this<br>section. Move to the next one. Move to the next one. Use the checker<br>binary given on the attachments.<br><br> - Run "$>ARG="<100 random values>"; ./push_swap $ARG |<br> ./checker_OS $ARG" and replace the placeholder by 100 random<br> valid values. Check that the checker program displays "OK"<br> and that the size of the list of instructions.<br> Give points in accordance:<br> - less than 700: 5<br> - less than 900: 4<br> - less than 1100: 3<br> - less than 1300: 2<br> - less than 1500: 1 <br> You'll have to specifically check that the program wasn't developed to<br> only answer correctly on the test included in this scale.<br> You should repeat this test couple of times with several<br> permutations before you validate it.<br>
</p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][5][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="105754" name="[scale_team][answers_attributes][5][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="5" max="5" name="[scale_team][answers_attributes][5][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-0"><div class="rangeslider__fill" style="width: 441px;"></div><div class="rangeslider__handle" style="left: 421px;"></div></div>
<hr>
</div>
<h4 class="scale-question-name">Push_swap - Advanced version</h4>
<p class="scale-section-guidelines">
<br>If the following test fails, no points will be awarded for this<br>section. Move to the next one. Move to the next one. Use the checker<br>binary given on the attachments.<br><br> - Run "$>ARG="<500 random values>"; ./push_swap $ARG |<br> ./checker_OS $ARG" and replace the placeholder by 500 random<br> valid values (One is not called John/Jane Script for<br> nothing). Check that the checker program displays "OK" and<br> that the size of the list of instructions<br> - less than 5500: 5<br> - less than 7000: 4<br> - less than 8500: 3<br> - less than 10000: 2<br> - less than 11500: 1 <br> You'll have to specifically check that the program wasn't developed to<br> only answer correctly on the test included in this scale.<br> You should repeat this test couple of times with several<br> permutations before you validate it.<br>
</p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][6][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="105755" name="[scale_team][answers_attributes][6][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="marked-title text-center">Rate it from 0 (failed) through 5 (excellent)</div>
<input autocomplete="off" class="star-range" data-star-range="5" max="5" name="[scale_team][answers_attributes][6][value]" step="1" type="range" value="0" style="position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0;"><div class="rangeslider rangeslider--horizontal" id="js-rangeslider-1"><div class="rangeslider__fill" style="width: 441px;"></div><div class="rangeslider__handle" style="left: 421px;"></div></div>
<hr>
</div>
</section>
<section class="scale-section-item dancer from-down" id="section-31643">
<div class="section-header">
<hr>
<h3 class="font-weight-bold mb-1">Bonus</h3>
<p class="font-italic">
Reminder : Remember that for the duration of the defence, no
segfault, nor other unexpected, premature, uncontrolled or
unexpected termination of the program, else the final grade is 0.
Use the appropriate flag. This rule is active throughout the whole
defence.
We will look at your bonuses if and only if your mandatory part is
EXCELLENT. This means that you must complete the mandatory part,
beginning to end, and your error management needs to be flawless,
even in cases of twisted or bad usage. So if the mandatory part
didn't score all the point during this defence bonuses will be
totally IGNORED.
</p>
</div>
<h4 class="scale-question-name">Checker program - Error management</h4>
<p class="scale-section-guidelines">
<br>In this section, we'll evaluate the checker's error management.<br>If at least one fails, no points will be awarded for this<br>section. Move to the next one.<br><br>- Run checker with non numeric parameters. The program must<br> display "Error".<br><br>- Run checker with a duplicate numeric parameter. The program<br> must display "Error".<br><br>- Run checker with only numeric parameters including one greater<br> than MAXINT. The program must display "Error".<br><br>- Run checker without any parameters. The program must not<br> display anything and give the prompt back.<br><br>- Run checker with valid parameters, and write an action that<br> doesn't exist during the instruction phase. The program must<br> display "Error".<br><br>- Run checker with valid parameters, and write an action with<br> one or several spaces before and/or after the action during<br> the instruction phase. The program must display "Error".<br>
</p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][7][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="105756" name="[scale_team][answers_attributes][7][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][7][value]" id="radio_[scale_team][answers_attributes][7]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][7]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][7][value]" id="radio_[scale_team][answers_attributes][7]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][7]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Checker program - False tests</h4>
<p class="scale-section-guidelines">
<br>In this section, we'll evaluate the checker's ability to manage<br>a list of instructions that doesn't sort the list. Execute the<br>following 2 tests. If at least one fails, no points will be<br>awarded for this section. Move to the next one.<br><br>Don't forget to press CTRL+D to stop reading during the<br>intruction phase.<br><br>- Run checker with the following command "$>./checker 0 9 1 8 2<br> 7 3 6 4 5" then write the following valid action list "[sa,<br> pb, rrr]". Checker should display "KO".<br><br>- Run checker with a valid list as parameter of your choice then<br> write a valid instruction list that doesn't order the<br> integers. Checker should display "KO". You'll have to<br> specifically check that the program wasn't developed to only<br> answer correctly on the test included in this scale. You<br> should repeat this test couple of times with several<br> permutations before you validate it.<br>
</p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][8][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="105757" name="[scale_team][answers_attributes][8][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][8][value]" id="radio_[scale_team][answers_attributes][8]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][8]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][8][value]" id="radio_[scale_team][answers_attributes][8]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][8]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
<h4 class="scale-question-name">Checker program - Right tests</h4>
<p class="scale-section-guidelines">
<br>In this section, we'll evaluate the checker's ability to manage<br>a list of instructions that sort the list. Execute the following<br>2 tests. If at least one fails, no points will be awarded for<br>this section. Move to the next one.<br><br>Don't forget to press CTRL+D to stop reading during the<br>instruction phase.<br><br>- Run checker with the following command "$>./checker 0 1 2"<br> then press CTRL+D without writing any instruction. The program<br> should display "OK".<br><br>- Run checker with the following command "$>./checker 0 9 1 8 2"<br> then write the following valid action list "[pb, ra, pb, ra,<br> sa, ra, pa, pa]". The program should display "OK".<br><br>- Run checker with a valid list as parameter of your choice then<br> write a valid instruction list that order the integers.<br> Checker must display "OK". You'll have to specifically check<br> that the program wasn't developed to only answer correctly on<br> the test included in this scale. You should repeat this test<br> couple of times with several permutations before you validate<br> it.<br>
</p>
<div class="scale-question-answers">
<div class="form-group hidden scale_team_answer_id"><div class="col-sm-10"><input class="form-control hidden" name="[scale_team][answers_attributes][9][id]" type="hidden" id="scale_team_answer_id"></div></div>
<div class="form-group hidden scale_team_answer_question_id"><div class="col-sm-10"><input class="form-control hidden" value="105758" name="[scale_team][answers_attributes][9][question_id]" type="hidden" id="scale_team_answer_question_id"></div></div>
<div class="btn-group block">
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][9][value]" id="radio_[scale_team][answers_attributes][9]_true" type="radio" value="1" checked="checked">
<label class="btn btn-success checkbox-label light-bg" for="radio_[scale_team][answers_attributes][9]_true">
<span class="icon-check"></span>
Yes
</label>
<input autocomplete="off" class="checkbox-input" name="[scale_team][answers_attributes][9][value]" id="radio_[scale_team][answers_attributes][9]_false" type="radio" value="0">
<label class="btn btn-danger checkbox-label light-bg" for="radio_[scale_team][answers_attributes][9]_false">
<span class="icon-times"></span>
No
</label>
</div>
</div>
</section>
</div>
<div class="col-sm-12 scale-div pb-4">
<div class="dancer from-down" id="ratings-11018">
<h3 class="font-weight-bold mb-1">Ratings</h3>
<p class="marked-title">Don’t forget to check the flag corresponding to the defense</p>
<div class="btn-group block flags-buttons" data-radio-item="flag-small">
<label class="btn btn-default btn-success label_flag_ok on-active positive" for="scale_team_flag_id_1" name="scale_team[flag_id]">
<span class="iconf-check-4"></span>
Ok
</label>
<label class="btn btn-default btn-success label_flag_outstanding_project on-active positive active" for="scale_team_flag_id_9" name="scale_team[flag_id]">
<span class="iconf-star-1"></span>
Outstanding project
</label>
</div>
<div class="btn-group block flags-buttons" data-radio-item="flag-small">
<label class="btn btn-danger btn-default label_flag_empty_work negative on-active" for="scale_team_flag_id_2" name="scale_team[flag_id]">
<span class="iconf-file-1"></span>
Empty work
</label>
<label class="btn btn-danger btn-default label_flag_incomplete_work negative on-active" for="scale_team_flag_id_3" name="scale_team[flag_id]">
<span class="iconf-file-attention"></span>
Incomplete work
</label>
<label class="btn btn-danger btn-default label_flag_no_author_file negative on-active" for="scale_team_flag_id_4" name="scale_team[flag_id]">
<span class="iconf-bubble-attention-4"></span>
No author file
</label>
<label class="btn btn-danger btn-default label_flag_invalid_compilation negative on-active" for="scale_team_flag_id_5" name="scale_team[flag_id]">
<span class="iconf-skull-2"></span>
Invalid compilation
</label>
<label class="btn btn-danger btn-default label_flag_norme negative on-active" for="scale_team_flag_id_6" name="scale_team[flag_id]">
<span class="iconf-receipt-1"></span>
Norme
</label>
<label class="btn btn-danger btn-default label_flag_cheat negative on-active" for="scale_team_flag_id_7" name="scale_team[flag_id]">
<span class="iconf-layers"></span>
Cheat
</label>
<label class="btn btn-danger btn-default label_flag_crash negative on-active" for="scale_team_flag_id_8" name="scale_team[flag_id]">
<span class="iconf-bomb"></span>
Crash
</label>
<label class="btn btn-danger btn-default label_flag_leaks negative on-active" for="scale_team_flag_id_12" name="scale_team[flag_id]">
<span class="iconf-blood"></span>
Leaks
</label>
<label class="btn btn-danger btn-default label_flag_forbidden_function negative on-active" for="scale_team_flag_id_13" name="scale_team[flag_id]">
<span class="iconf-delete-2"></span>
Forbidden function
</label>
</div>
</div>
</div>
<div class="col-sm-12 scale-div">
<h3 class="font-weight-bold mb-1">Conclusion</h3>
<div class="scale-final-evaluation hidden">
<div class="form-group radio_buttons optional scale_team_flag"><label class="col-sm-2 control-label radio_buttons optional">Flag</label><div class="col-sm-10"><input type="hidden" name="scale_team[flag_id]" value=""><span class="radio"><label for="scale_team_flag_id_1"><input class="radio_buttons optional" type="radio" value="1" checked="checked" name="scale_team[flag_id]" id="scale_team_flag_id_1">Ok</label></span><span class="radio"><label for="scale_team_flag_id_2"><input class="radio_buttons optional" type="radio" value="2" name="scale_team[flag_id]" id="scale_team_flag_id_2">Empty work</label></span><span class="radio"><label for="scale_team_flag_id_3"><input class="radio_buttons optional" type="radio" value="3" name="scale_team[flag_id]" id="scale_team_flag_id_3">Incomplete work</label></span><span class="radio"><label for="scale_team_flag_id_4"><input class="radio_buttons optional" type="radio" value="4" name="scale_team[flag_id]" id="scale_team_flag_id_4">No author file</label></span><span class="radio"><label for="scale_team_flag_id_5"><input class="radio_buttons optional" type="radio" value="5" name="scale_team[flag_id]" id="scale_team_flag_id_5">Invalid compilation</label></span><span class="radio"><label for="scale_team_flag_id_6"><input class="radio_buttons optional" type="radio" value="6" name="scale_team[flag_id]" id="scale_team_flag_id_6">Norme</label></span><span class="radio"><label for="scale_team_flag_id_7"><input class="radio_buttons optional" type="radio" value="7" name="scale_team[flag_id]" id="scale_team_flag_id_7">Cheat</label></span><span class="radio"><label for="scale_team_flag_id_8"><input class="radio_buttons optional" type="radio" value="8" name="scale_team[flag_id]" id="scale_team_flag_id_8">Crash</label></span><span class="radio"><label for="scale_team_flag_id_9"><input class="radio_buttons optional" type="radio" value="9" name="scale_team[flag_id]" id="scale_team_flag_id_9">Outstanding project</label></span><span class="radio"><label for="scale_team_flag_id_12"><input class="radio_buttons optional" type="radio" value="12" name="scale_team[flag_id]" id="scale_team_flag_id_12">Leaks</label></span><span class="radio"><label for="scale_team_flag_id_13"><input class="radio_buttons optional" type="radio" value="13" name="scale_team[flag_id]" id="scale_team_flag_id_13">Forbidden Function</label></span></div></div>
</div>
<div class="scale-final-comments" id="comments-11018">
<p class="marked-title">Leave a comment on this evaluation</p>
<textarea required="required" label="false" class="text required col-sm-12 mb-4" aria-required="true" name="scale_team[comment]" id="scale_team_comment" style="width: 482px; height: 165px;"></textarea>
</div>
<input id="token" name="token" class="hidden" type="hidden">
</div>
<div class="scale-final-submit">
<input class="btn btn-primary btn-block font-weight-bold" data-disable-with="Finishing evaluation..." name="commit" type="submit" value="Finish evaluation">
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<div aria-hidden="true" aria-labelledby="smartModalLabel" class="modal fade" id="smartModal" role="dialog" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" class="close" data-dismiss="modal" type="button">
x
</button>
<h3 id="smartModalLabel">
</h3>
</div>
<div class="modal-body">
<h4 class="note-title"></h4>
</div>
<div class="modal-footer">
<button aria-hidden="true" class="btn" data-dismiss="modal">Cancel</button>
<button class="send btn btn-primary">Send</button>
</div>
</div>
</div>
</div>
<div aria-hidden="true" aria-labelledby="flashModalLabel" class="modal fade" id="flashModal" role="dialog" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" class="close" data-dismiss="modal" type="button">
x
</button>
<h3 id="flashModalLabel"></h3>
</div>
<div class="modal-body">
<h4 class="note-title">Flash modal content (raw)</h4>
</div>
<div class="modal-footer">
<button aria-hidden="true" class="btn btn-block btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div data-cache="true" class="hide"></div>
</body></html>