Remove PairProgrammingExerciseFeedback

* Remove view, controller, routes & policy for PairProgrammingExerciseFeedback
* Keep model & database table
This commit is contained in:
kiragrammel
2023-10-13 12:18:28 +02:00
committed by Sebastian Serth
parent 2ce5687f53
commit 26552a0682
11 changed files with 26 additions and 228 deletions

View File

@@ -593,8 +593,6 @@ class Exercise < ApplicationRecord
private :valid_submission_deadlines?
def needs_more_feedback?(submission)
return false if PairProgramming23Study.experiment_course?(submission.study_group_id)
if submission.normalized_score.to_d == BigDecimal('1.0')
user_exercise_feedbacks.final.size <= MAX_GROUP_EXERCISE_FEEDBACKS
else