@James
The Classic vs New Quizzes answer was correct, but now I am just confused about the data stored in the submissions_history table. When I query the REST API for submissions for a specific student's assignment, I get this:
{
"id": 110513068,
"score": 3.0,
"submitted_at": "2024-09-30T23:43:52Z",
"assignment_id": 2257438,
"user_id": 50643,
"submission_type": "basic_lti_launch",
"workflow_state": "graded",
"attempt": 6,
"submission_history": [
{
"id": 110513068,
"score": 10.0,
"submitted_at": "2024-09-30T23:38:57Z",
"assignment_id": 2257438,
"user_id": 50643,
"grade_matches_current_submission": true,
},
{
"id": 110513068,
"score": 3.0,
"submitted_at": "2024-09-30T23:43:52Z",
"assignment_id": 2257438,
"user_id": 50643,
"grade_matches_current_submission": true,
}
]
}
While the API matches the expected Canvas submissions for our test student, how is this attempt #6?
When I query GraphQL for the same data:
{
"submissionsConnection": {
"nodes": [
{
"_id": "110513068",
"attempt": 6,
"score": 3.0,
"submittedAt": "2024-09-30T17:43:52-06:00",
"submissionStatus": "submitted",
"submissionHistoriesConnection": {
"nodes": [
{
"attempt": 5,
"score": 10.0,
"submittedAt": "2024-09-30T17:38:57-06:00",
"submissionStatus": "submitted"
},
{
"attempt": 3,
"score": 10.0,
"submittedAt": "2024-09-30T17:38:57-06:00",
"submissionStatus": "submitted"
},
{
"attempt": 1,
"score": 10.0,
"submittedAt": "2024-09-30T17:38:57-06:00",
"submissionStatus": "submitted"
},
{
"attempt": 6,
"score": 3.0,
"submittedAt": "2024-09-30T17:43:52-06:00",
"submissionStatus": "submitted"
},
{
"attempt": 4,
"score": 10.0,
"submittedAt": "2024-09-30T17:43:52-06:00",
"submissionStatus": "submitted"
}
],
}
}
]
}
}
It appears submission history is doubling up (based on submitted at) and also where is attempt #2? Do you have any idea what might be happening here?