Remove A/B test from Python20 course setup

This commit is contained in:
Sebastian Serth
2020-12-03 16:23:22 +01:00
parent 8d7bb29483
commit 110b009480
4 changed files with 0 additions and 87 deletions

View File

@ -92,13 +92,5 @@ module SubmissionScoring
output.except!(:error_messages, :count, :failed, :filename, :message, :passed, :stderr, :stdout)
end
end
# Return all test results except for those of a linter if not allowed
show_linter = Python20CourseWeek.show_linter? submission.exercise, submission.user_id
outputs&.reject do |output|
next if show_linter || output.blank?
output[:file_role] == 'teacher_defined_linter'
end
end
end