Lower evaluation limit
This commit is contained in:
parent
44de8c8013
commit
6272b84b8e
|
|
@ -147,7 +147,9 @@ def update_assignment_completion(
|
||||||
if evaluation_passed is None and ac.evaluation_max_points > 0:
|
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 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
|
# 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:
|
else:
|
||||||
ac.evaluation_passed = evaluation_passed
|
ac.evaluation_passed = evaluation_passed
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue