|
1 | 1 | { |
| 2 | + "autograding_method": "docker", |
| 3 | + "container_options": { |
| 4 | + "container_image": "dagemcn/dockerimages:default-test" |
| 5 | + }, |
2 | 6 | "testcases" : [ |
3 | 7 | { |
4 | 8 | "title" : "Python - Static Analysis", |
|
7 | 11 | // The first is to execute the student code, the second is to count the number of calls to the |
8 | 12 | // "print" function. |
9 | 13 | "command" : [ "python3 *.py", |
10 | | - // "submitty_count token -l python Equal *.py", |
11 | | - // "submitty_count token -l python Asterisk *.py", |
12 | | - // "submitty_count token -l python Plus *.py" ], |
13 | | - "submitty_count_ts -l python node = *.py", |
14 | | - "submitty_count_ts -l python node * *.py", |
15 | | - "submitty_count_ts -l python node + *.py" ], |
| 14 | + "submitty_count_ts python node = *.py", |
| 15 | + "submitty_count_ts python node * *.py", |
| 16 | + "submitty_count_ts python node + *.py" ], |
16 | 17 | "points" : 4, |
17 | 18 | "validation" : [ |
18 | 19 | // First, ensure that the student received the correct answer. |
|
33 | 34 | // against the provided term (here, "greater-than-or-equal" is used). |
34 | 35 | "comparison" : "ge", |
35 | 36 | // The integer against which to compare. |
36 | | - "term" : 5, |
| 37 | + "term" : 2, |
37 | 38 |
|
38 | 39 | // Message to the student. |
39 | 40 | "failure_message" : "Re-read the problem instructions.", |
|
47 | 48 | "actual_file" : "STDOUT_2.txt", |
48 | 49 | "description" : "Number of multiplications", |
49 | 50 | "comparison" : "ge", |
50 | | - "term" : 7, |
| 51 | + "term" : 2, |
51 | 52 | "failure_message" : "Re-read the problem instructions.", |
52 | 53 | "show_message" : "on_failure", |
53 | 54 | "show_actual" : "never" |
|
0 commit comments