|
1 | 1 | {
|
2 |
| - // Instructors can create multi-part assignments. |
3 |
| - // Each part will appear as a different submission box. |
4 |
| - "part_names" : [ "Part 1", "Part 2", "Part 3" ], |
| 2 | + // Instructors can create multi-part assignments. |
| 3 | + // Each part will appear as a different submission box. |
| 4 | + "part_names" : [ "Part 1", "Part 2", "Part 3" ], |
5 | 5 |
|
6 |
| - // Submissions for each part are just placed in the part1, part2, etc. |
7 |
| - // directories. From there, they can be graded in the same manner as any |
8 |
| - // other submission. |
9 |
| - "testcases" : [ |
10 |
| - { |
11 |
| - "title" : "Python - Part 1", |
12 |
| - "command" : "python part1/*.py", |
13 |
| - "points" : 3, |
14 |
| - "validation" : [ |
15 |
| - { |
16 |
| - "method" : "myersDiffbyLinebyChar", |
17 |
| - "actual_file" : "STDOUT.txt", |
18 |
| - "description" : "Program Output", |
19 |
| - "expected_file" : "part1_sol.txt" |
| 6 | + // Submissions for each part are just placed in the part1, part2, etc. |
| 7 | + // directories. From there, they can be graded in the same manner as any |
| 8 | + // other submission. |
| 9 | + "testcases" : [ |
| 10 | + { |
| 11 | + "title" : "Part 1 Compute square root", |
| 12 | + "command" : "python part1/*.py", |
| 13 | + "points" : 3, |
| 14 | + "validation" : [ |
| 15 | + { |
| 16 | + "method" : "myersDiffbyLinebyChar", |
| 17 | + "actual_file" : "STDOUT.txt", |
| 18 | + "description" : "Program Output", |
| 19 | + "expected_file" : "part1_sol.txt" |
| 20 | + } |
| 21 | + ] |
| 22 | + }, |
| 23 | + { |
| 24 | + "title" : "Part 2 Solve for x^2 + 5x + 6 = 0", |
| 25 | + "command" : "python part2/*.py", |
| 26 | + "points" : 4, |
| 27 | + "validation" : [ |
| 28 | + { |
| 29 | + "method" : "myersDiffbyLinebyChar", |
| 30 | + "actual_file" : "STDOUT.txt", |
| 31 | + "description" : "Program Output", |
| 32 | + "expected_file" : "part2_sol.txt" |
| 33 | + } |
| 34 | + ] |
| 35 | + }, |
| 36 | + { |
| 37 | + "title" : "Part 3 Count from 1 to 10", |
| 38 | + "command" : "python part3/*.py", |
| 39 | + "points" : 3, |
| 40 | + "validation" : [ |
| 41 | + { |
| 42 | + "method" : "myersDiffbyLinebyChar", |
| 43 | + "actual_file" : "STDOUT.txt", |
| 44 | + "description" : "Program Output", |
| 45 | + "expected_file" : "part3_sol.txt" |
| 46 | + } |
| 47 | + ] |
20 | 48 | }
|
21 |
| - ] |
22 |
| - }, |
23 |
| - { |
24 |
| - "title" : "Python - Part 2", |
25 |
| - "command" : "python part2/*.py", |
26 |
| - "points" : 4, |
27 |
| - "validation" : [ |
28 |
| - { |
29 |
| - "method" : "myersDiffbyLinebyChar", |
30 |
| - "actual_file" : "STDOUT.txt", |
31 |
| - "description" : "Program Output", |
32 |
| - "expected_file" : "part2_sol.txt" |
33 |
| - } |
34 |
| - ] |
35 |
| - }, |
36 |
| - { |
37 |
| - "title" : "Python - Part 3", |
38 |
| - "command" : "python part3/*.py", |
39 |
| - "points" : 3, |
40 |
| - "validation" : [ |
41 |
| - { |
42 |
| - "method" : "myersDiffbyLinebyChar", |
43 |
| - "actual_file" : "STDOUT.txt", |
44 |
| - "description" : "Program Output", |
45 |
| - "expected_file" : "part3_sol.txt" |
46 |
| - } |
47 |
| - ] |
48 |
| - } |
49 |
| - ] |
| 49 | + ] |
50 | 50 | }
|
0 commit comments