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: docs/remote_evaluation.yml
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -520,6 +520,13 @@ components:
520
520
- de
521
521
default: en
522
522
description: An ISO-639 language code used to select appropriate localized messages. The same languages as available in CodeOcean's web UI are supported.
description: The URL of the newly created submission that was received by CodeOcean.
523
530
responses:
524
531
200Ok:
525
532
description: This response indicates that the learner has reached the full score on the exercise and that the score was successfully submitted via LTI to the e-learning platform.
@@ -530,6 +537,9 @@ components:
530
537
examples:
531
538
OkResponse:
532
539
$ref: '#/components/examples/OkResponse'
540
+
headers:
541
+
Location:
542
+
$ref: '#/components/headers/Location'
533
543
201Created:
534
544
description: |-
535
545
This response indicates that the requested tests were run successfully against the provided submission. The HTTP status code does not indicate whether all tests passed or failed. Rather, it confirms the successful command execution in the container and that the files were correctly stored in the learner's workspace for the given exercise. The response body contains an array of evaluation responses, in which each element represents the result of a test run.
description: 'This response indicates that the learner has scored their submission successfully without reaching the full score. This score, despite not representing the full score possible, was submitted successfully via LTI to the e-learning platform.'
549
562
content:
@@ -553,6 +566,9 @@ components:
553
566
examples:
554
567
AcceptedResponse:
555
568
$ref: '#/components/examples/AcceptedResponse'
569
+
headers:
570
+
Location:
571
+
$ref: '#/components/headers/Location'
556
572
207MultiStatus:
557
573
description: 'This response indicates that the learner has scored their submission successfully but also indicates that the submission was received too late. The score returned in the response is the original, unmodified evaluation of the submission. To the e-learning platform, however, only 80% of this score were transmitted to account for the late submission. The transmission of this reduced score via LTI to the e-learning platform was successful.'
558
574
content:
@@ -562,6 +578,9 @@ components:
562
578
examples:
563
579
MultiStatusResponse:
564
580
$ref: '#/components/examples/MultiStatusResponse'
581
+
headers:
582
+
Location:
583
+
$ref: '#/components/headers/Location'
565
584
401Unauthorized:
566
585
description: This response indicates that the the `validation_token` sent in the request was either not found or invalid.
567
586
content:
@@ -580,6 +599,9 @@ components:
580
599
examples:
581
600
ConflictResponse:
582
601
$ref: '#/components/examples/ConflictResponse'
602
+
headers:
603
+
Location:
604
+
$ref: '#/components/headers/Location'
583
605
410Gone:
584
606
description: 'This response indicates that the learner has scored their submission successfully but also indicates that the transmission of the score to the e-learning platform was not attempted. This is usually caused by missing LTI parameters for the given exercise. Reopening the exercise in CodeOcean through the e-learning platform will update the LTI parameters and might fix the problem if the e-learning platform still accepts submissions for the activity. Some e-learning platforms like Xikolo might not include the required LTI parameters after the respective submission deadline has passed, in which this error cannot be fixed by the learner.'
585
607
content:
@@ -589,6 +611,9 @@ components:
589
611
examples:
590
612
GoneResponse:
591
613
$ref: '#/components/examples/GoneResponse'
614
+
headers:
615
+
Location:
616
+
$ref: '#/components/headers/Location'
592
617
417ExpectationFailed:
593
618
description: 'This response indicates that the learner has scored their submission successfully but also indicates mixed success for the transmission of scores to the e-learning platform as part of an ongoing pair programming session. Specifically, the score was sent successfully for the requesting learner, but failed to be submitted for at least one of the fellow learners. Similar to a `424 Failed Dependency` response, this is usually caused by invalid or expired LTI parameters for the given exercise and learner. Hence, the partner(s) are advised to reopen the exercise in CodeOcean through the e-learning platform and thereby update the LTI parameters. This might fix the problem if the e-learning platform still accepts submissions for the activity. Some e-learning platforms like Xikolo might not include the required LTI parameters after the respective submission deadline has passed, in which this error cannot be fixed by the partner(s). The learner requesting the evaluation and score submission cannot fix the problem on their own, but needs to wait for their partner(s) to perform the previously-outlined steps.'
description: 'This response indicates that the learner has scored their submission successfully but also indicates that the transmission of scores to the e-learning platform failed. This status either indicates that the transmission of the score failed for the requesting user in a context without pair programming or that it failed for all partners including the requesting user in a pair programming session. This is usually caused by invalid or expired LTI parameters for the given exercise or a a temporary availability issue of the e-learning platform. If the e-learning platform is available, the learner(s) are advised to reopen the exercise in CodeOcean through the e-learning platform and thereby update the LTI parameters. This might fix the problem if the e-learning platform still accepts submissions for the activity. Some e-learning platforms like Xikolo might not include the required LTI parameters after the respective submission deadline has passed, in which this error cannot be fixed by the learner(s).'
description: 'This response indicates that the request received could not be parsed correctly. This either indicates that the request body was no valid JSON at all or that the JSON received was not in the expected format. Retrying again with a schema-compliant JSON will likely succeed and result in a different status code. '
0 commit comments