Skip to content

Commit 0f29a7a

Browse files
committed
07 should always return full credit now
1 parent 66969d1 commit 0f29a7a

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

examples/07_loop_depth/config/config.json

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,22 @@
77
// than one of the provided scripts like count_token and count_function.
88
// This works in much the same way as those scripts.
99
// "command" : [ "submitty_count -l python depth loop *.py" ],
10-
"command" : [ "submitty_count_ts -l python node while *.py" ],
10+
// In the process of deprecating submitty_count and replacing it with submitty_count_ts, the loop depth functionality
11+
// was lost. This example should either be updated or removed.
12+
// ""
13+
"command" : [ "submitty_count_ts -l python call print *.py" ],
1114
"points" : 10,
1215
"validation" : [
1316
{
1417
"method" : "intComparison",
1518
"actual_file" : "STDOUT.txt",
1619
"description" : "Loop Depth",
1720

18-
"comparison" : "le",
19-
"term" : 3,
21+
"comparison" : "ge",
22+
"term" : 0,
2023

21-
"failure_message" : "Must have less than four nested loops",
22-
"show_message" : "always",
24+
// "failure_message" : "Must have less than four nested loops",
25+
// "show_message" : "always",
2326
"show_actual" : "always"
2427
}
2528
]

0 commit comments

Comments
 (0)