Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-82774

Support "Submission" field in AGS scores posts

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Future Dev
    • LTI provider

      This issue is intended for the enrol_lti component, although should be supported in mod/lti as well.

      Version 2 (published January 2023) of the LTI AGS specification adds an optional "Submission" field to the json schema with startedAt and submittedAt properties that allows an LTI platform to more robustly show student progress.

      submittedAt is particularly useful: suppose the platform has a due date set for an assignment after which submissions are rejected or after which the grade is penalized for being late.

      If a student does the work before the due date on the tool, but the sync grades task runs after the due date without support for submission->submittedAt, the student is unfairly penalized, or the grade update could be rejected since it appears the work was done at the time the AGS Scores endpoint receives the grade.

      For Moodle->Moodle, enrol_lti currently sets the timestamp json field from the grade_grades table's timemodified field and mod/lti saves that time back to that field as far as I can see. This appears to be correct by the specification: timestamp is supposed to show when the grade was changed. The SubmittedAt field would allow a teacher to grade something on the Tool after the due date (thus modifying the grade after the due date) without the student being penalized by the Platform, a plausible scenario.

      PackbackBook's LTI 1.3 library does not support the submission field yet (but does support an earlier extension accomplishing the same purpose). Would it be better to raise the issue there first?

            Unassigned Unassigned
            liammoran Liam Moran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.