File tree Expand file tree Collapse file tree
04_python_static_analysis/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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 {
Original file line number Diff line number Diff line change 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 {
You can’t perform that action at this time.
0 commit comments