Skip to content

Commit 66969d1

Browse files
committed
removed submitty_count, need to fix loop depth
1 parent 15ebc3e commit 66969d1

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

examples/04_python_static_analysis/config/config.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77
// The first is to execute the student code, the second is to count the number of calls to the
88
// "print" function.
99
"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" ],
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" ],
1316
"points" : 4,
1417
"validation" : [
1518
// First, ensure that the student received the correct answer.

examples/06_loop_types/config/config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
"testcases" : [
33
{
44
"title" : "Python - Distinguish for and while Loops",
5-
"command" : [ "submitty_count -l python node for *.py",
6-
"submitty_count -l python token While *.py" ],
5+
// "command" : [ "submitty_count -l python node for *.py",
6+
// "submitty_count -l python token While *.py" ],
7+
"command" : [ "submitty_count_ts -l python node for *.py",
8+
"submitty_count_ts -l python node While *.py" ],
79
"points" : 2,
810
"validation" : [
911
{

examples/07_loop_depth/config/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
// Here, an instructor-provided static analysis script is used, rather
77
// than one of the provided scripts like count_token and count_function.
88
// This works in much the same way as those scripts.
9-
"command" : [ "submitty_count -l python depth loop *.py" ],
9+
// "command" : [ "submitty_count -l python depth loop *.py" ],
10+
"command" : [ "submitty_count_ts -l python node while *.py" ],
1011
"points" : 10,
1112
"validation" : [
1213
{

0 commit comments

Comments
 (0)