Skip to content

Commit 674f5b5

Browse files
committed
tweaks to multipart
1 parent 2720481 commit 674f5b5

File tree

2 files changed

+59
-46
lines changed

2 files changed

+59
-46
lines changed
Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
11
{
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" ],
55

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+
]
2048
}
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+
]
5050
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
part1:
2+
- part1.py
3+
- part1_syntax_error1.py
4+
- part1_syntax_error2.py
5+
- part1_wrong_output.py
6+
part2:
7+
- part2.py
8+
- part2_syntax_error1.py
9+
- part2_wrong_output.py
10+
part3:
11+
- part3.py
12+
- part3_syntax_error1.py
13+
- part3_wrong_output.py

0 commit comments

Comments
 (0)