diff --git a/examples/04_python_static_analysis/config/config.json b/examples/04_python_static_analysis/config/config.json index 1b3165c..99c8730 100644 --- a/examples/04_python_static_analysis/config/config.json +++ b/examples/04_python_static_analysis/config/config.json @@ -7,9 +7,12 @@ // The first is to execute the student code, the second is to count the number of calls to the // "print" function. "command" : [ "python3 *.py", - "submitty_count token -l python Equal *.py", - "submitty_count token -l python Asterisk *.py", - "submitty_count token -l python Plus *.py" ], + // "submitty_count token -l python Equal *.py", + // "submitty_count token -l python Asterisk *.py", + // "submitty_count token -l python Plus *.py" ], + "submitty_count_ts -l python node = *.py", + "submitty_count_ts -l python node * *.py", + "submitty_count_ts -l python node + *.py" ], "points" : 4, "validation" : [ // First, ensure that the student received the correct answer. diff --git a/examples/06_loop_types/config/config.json b/examples/06_loop_types/config/config.json index 8b3bc69..ffd2bbb 100644 --- a/examples/06_loop_types/config/config.json +++ b/examples/06_loop_types/config/config.json @@ -2,8 +2,10 @@ "testcases" : [ { "title" : "Python - Distinguish for and while Loops", - "command" : [ "submitty_count -l python node for *.py", - "submitty_count -l python token While *.py" ], + // "command" : [ "submitty_count -l python node for *.py", + // "submitty_count -l python token While *.py" ], + "command" : [ "submitty_count_ts -l python node for *.py", + "submitty_count_ts -l python node While *.py" ], "points" : 2, "validation" : [ { diff --git a/examples/07_loop_depth/config/config.json b/examples/07_loop_depth/config/config.json index e57ed59..e53b919 100644 --- a/examples/07_loop_depth/config/config.json +++ b/examples/07_loop_depth/config/config.json @@ -1,27 +1,32 @@ +// FIXME: In the process of deprecating submitty_count and replacing it with submitty_count_ts, the loop depth functionality +// was lost. This example should either be updated or removed. { "testcases" : [ - { - "title" : "Python - Determine Loop Depth", + ] +// { +// "title" : "Python - Determine Loop Depth", // Here, an instructor-provided static analysis script is used, rather // than one of the provided scripts like count_token and count_function. // This works in much the same way as those scripts. - "command" : [ "submitty_count -l python depth loop *.py" ], - "points" : 10, - "validation" : [ - { - "method" : "intComparison", - "actual_file" : "STDOUT.txt", - "description" : "Loop Depth", + // "command" : [ "submitty_count -l python depth loop *.py" ], + // "" +// "command" : [ "submitty_count_ts -l python call print *.py" ], +// "points" : 10, +// "validation" : [ +// { +// "method" : "intComparison", +// "actual_file" : "STDOUT.txt", +// "description" : "Loop Depth", - "comparison" : "le", - "term" : 3, +// "comparison" : "ge", +// "term" : 0, - "failure_message" : "Must have less than four nested loops", - "show_message" : "always", - "show_actual" : "always" - } - ] - } - ] +// // "failure_message" : "Must have less than four nested loops", +// // "show_message" : "always", +// "show_actual" : "always" +// } +// ] +// } +// ] }