Skip to content

Commit 79300a7

Browse files
emaicusbmcutler
authored andcommitted
Update Examples 16/17 to use autograding_method (#21)
* switched 16 and 17 to use autograding_method * Set use_router back to true. Set use_router back to true. * use router in 16 * don't use router in 17 don't use router in 17
1 parent 8276e7a commit 79300a7

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

Diff for: examples/16_docker_network_python/config/config.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
{
2-
//States that a given testcase uses a router by default. (Default value is true)
3-
"use_router" : true,
4-
// docker_enabled must be true in order for networking to work. If you forget it,
2+
// autograding_method must be docker in order for networking to work. If you forget it,
53
// your assignment should fail to build.
6-
"docker_enabled" : true,
4+
"autograding_method" : "docker",
5+
"container_options" : {
6+
//States that a given testcase uses a router by default. (Default value is true)
7+
"use_router" : true
8+
},
9+
710
"autograding" : {
811
"work_to_details" : [ "**/*.csv", "**/*.txt" ]
912
},

Diff for: examples/17_dispatched_actions_and_standard_input/config/config.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
2+
23
"autograding" : {
34
"work_to_details" : ["**/*.txt"]
45
},
5-
"use_router" : false,
6-
"docker_enabled" : true,
6+
"autograding_method" : "docker",
7+
"container_options" : {
8+
//States that a given testcase uses a router by default. (Default value is true)
9+
"use_router" : false
10+
},
711
"testcases" : [
812
{
913
// Student-visible testcase name.

0 commit comments

Comments
 (0)