You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/docs/dev.md
+19-3Lines changed: 19 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,17 @@ This function requires a parameter to function properly:
14
14
15
15
```
16
16
17
+
When a student submits a response to a response area the number of previously submitted responses submitted to the same response area byt the same student will be sent to the evaluation function. The following format is used:
18
+
```json
19
+
{
20
+
"submission_context": {
21
+
"submissions_per_student_per_response_area": # non-negative integer that represent the number of previously processed responses
22
+
}
23
+
}
24
+
```
25
+
26
+
The total number of submitted responses (i.e. the number of processed response + 1) can be displayed in the feedback by setting adding a field named `display_submission_count` to `params` and set its value to true.
27
+
17
28
## Outputs
18
29
Outputs to the `grade` command will feature:
19
30
@@ -34,17 +45,22 @@ Outputs to the `grade` command will feature:
34
45
```python
35
46
{
36
47
"answer": "hydrophobic",
37
-
"response""hydrophobic",
48
+
"response":"hydrophobic",
38
49
"params": {
39
50
"type": "str"
40
51
}
41
52
}
42
53
```
43
54
55
+
### Displaying number of submitted responses in the feedback
0 commit comments