@ -4,7 +4,7 @@ class Assessor
|
||||
def assess(output)
|
||||
test_outcome = @testing_framework_adapter.test_outcome(output)
|
||||
test_outcome.merge(score: calculate_score(test_outcome))
|
||||
rescue
|
||||
rescue StandardError
|
||||
{score: 0}
|
||||
end
|
||||
|
||||
|
@ -8,7 +8,13 @@ class Python20CourseWeek
|
||||
1
|
||||
when /Python20 Aufgabe 2/
|
||||
2
|
||||
when /Python20 Aufgabe 3/
|
||||
when /Python20 Aufgabe 3.1/
|
||||
nil # Explicitly enable everything (linter + tips if available)!
|
||||
when /Python20 Aufgabe 3.2/
|
||||
3
|
||||
when /Python20 Aufgabe 3.3/
|
||||
3
|
||||
when /Python20 Aufgabe 3.4/
|
||||
3
|
||||
when /Python20 Aufgabe 4/
|
||||
4
|
||||
|
Reference in New Issue
Block a user