Skip to content

Commit dd261e0

Browse files
Now displays the number of responses including the current response
1 parent 7072caa commit dd261e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/evaluation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def evaluation_function(response, answer, params) -> dict:
5454

5555
if "submission_context" in params.keys():
5656
if "submissions_per_student_per_response_area" in params["submission_context"].keys():
57-
nbr_of_responses = params["submission_context"]["submissions_per_student_per_response_area"]
57+
nbr_of_responses = params["submission_context"]["submissions_per_student_per_response_area"]+1
5858
if params.get("display_submission_count", False):
5959
result.update({"feedback": f"You have submitted {nbr_of_responses} responses."})
6060

0 commit comments

Comments
 (0)