diff --git a/server/vbv_lernwelt/assignment/services.py b/server/vbv_lernwelt/assignment/services.py index 2e2b2ae1..7460624d 100644 --- a/server/vbv_lernwelt/assignment/services.py +++ b/server/vbv_lernwelt/assignment/services.py @@ -147,7 +147,9 @@ def update_assignment_completion( if evaluation_passed is None and ac.evaluation_max_points > 0: if evaluation_points is not None and ac.evaluation_max_points is not None: # if more or equal than 60% of the points are reached, the assignment is passed - ac.evaluation_passed = (evaluation_points / ac.evaluation_max_points) >= 0.6 + ac.evaluation_passed = ( + evaluation_points / ac.evaluation_max_points + ) >= 0.55 else: ac.evaluation_passed = evaluation_passed