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

Assign - Per attempt timing

XMLWordPrintable

    • MOODLE_310_STABLE
    • MOODLE_400_STABLE
    • MDL-68913-master
    • Hide

      Existing / Previous functionality

      Existing assignment functionality for assignments that do not have a time limit, should behave and display exactly as they did prior to this patch.

      New functionality

      It would be useful to review the 'use cases / scenarios' in the description of this tracker to get an idea of the functionality that has been implemented.

      NB: The new functionality is behind a feature toggle. Navigate to "Site administration" > "Plugins" > "Activity modules" > "Assignment settings" and enable "Enable timed assignments".

      Activity description

      • Create a test course and enrol test users with the student role
      • Create an assignment activity
      • Add a description using rich text and embedded images
      • Add text and embedded images to the "Activity" section of the assign create form
      • All other settings can be left as default.
      • View the assignment summary page as a student and teacher
      • In both cases the assignment description should be shown but the Activity description should not be shown
      • Click begin an assessment
      • On the assessment submission page, both the description AND the Activity text should be shown

      Files on submission page

      • Create a test course and enrol test users with the student role
      • Create an assignment activity
      • Add additional files
      • Check "Only show files during submission."
      • All other settings can be left as default.
      • View the assignment summary page as a student and teacher
      • The additional files should not be shown on the summary page
      • Click begin an assessment
      • On the assessment submission page, the files should be shown.

      Timed assignment (basic)

      • Create a test course and enrol test users with the student role
      • Create an assignment activity
      • Add additional files
      • Create a time limit for the assignment
      • All other settings can be left as default.
      • View the assignment summary page as a student and teacher
      • The time limit should for the assignment should be shown in the summary table
      • Click begin an assessment
      • In the modal that appears the time limit should be shown, indicating how much time the student has to complete the assignment
      • On the assessment submission page, the time limit should be shown in a block on the right hand side.
      • The time limit should count down to zero
      • If the student returns to the assignment page, the summary table should now show the time limit counting down
      • On the assignment submission and assignment summary page the time limit counter should show the "warning" style when there is less than 15 minutes left
      • On the assignment submission and assignment summary page the time limit counter should show the "danger" style when there is less than 5 minutes left

      Timed assignment (advanced)

      • Create a test course and enrol test users with the student role
      • Add an assignment description
      • Create an assignment activity
      • Add additional files
      • Specify an "Allow submissions from date"
      • Specify a "Due date" 30 minutes after the "Allow submissions from date"
      • Specify a "Cut-off date" 40 minutes after the "Allow submissions from date" (10 minutes after the "Due date")
      • Specify a "Time limit of 20minutes"
      • As a student work through each of the scenarios outlined in the 'use cases / scenarios' in the description of this tracker. Adjusting the time times in the scenarios with the time settings for the assignment
      • Duplicate the activity as required to allow completing of the scenarios

      Overrides

      • Create a test course and enrol test users with the student role
      • Create an assignment activity
      • Add additional files
      • Create a time limit for the assignment
      • All other settings can be left as default.
      • View the assignment summary page as a  teacher
      • The time limit should for the assignment should be shown in the summary table
      • From the assignment context menu select "user overrides"
      • Add a user override for an enrolled user, make sure the timelimit is one of the variables overriden
      • Log in as the student you added the override for.
      • The time limit override value should for the assignment should be shown in the summary table
      • Click begin an assessment
      • In the modal that appears the time limit should be shown, indicating how much time the student has to complete the assignment. This should be the overridden time limit.
      • On the assessment submission page, the time limit should be shown in a block on the right hand side this should be the overridden time limit.
      • If the student returns to the assignment page, the summary table should now show the time limit counting down. The should be the overridden time limit
      Show
      Existing / Previous functionality Existing assignment functionality for assignments that do not have a time limit, should behave and display exactly as they did prior to this patch. New functionality It would be useful to review the 'use cases / scenarios' in the description of this tracker to get an idea of the functionality that has been implemented. NB: The new functionality is behind a feature toggle. Navigate to "Site administration" > "Plugins" > "Activity modules" > "Assignment settings" and enable "Enable timed assignments". Activity description Create a test course and enrol test users with the student role Create an assignment activity Add a description using rich text and embedded images Add text and embedded images to the "Activity" section of the assign create form All other settings can be left as default. View the assignment summary page as a student and teacher In both cases the assignment description should be shown but the Activity description should not be shown Click begin an assessment On the assessment submission page, both the description AND the Activity text should be shown Files on submission page Create a test course and enrol test users with the student role Create an assignment activity Add additional files Check "Only show files during submission." All other settings can be left as default. View the assignment summary page as a student and teacher The additional files should not be shown on the summary page Click begin an assessment On the assessment submission page, the files should be shown. Timed assignment (basic) Create a test course and enrol test users with the student role Create an assignment activity Add additional files Create a time limit for the assignment All other settings can be left as default. View the assignment summary page as a student and teacher The time limit should for the assignment should be shown in the summary table Click begin an assessment In the modal that appears the time limit should be shown, indicating how much time the student has to complete the assignment On the assessment submission page, the time limit should be shown in a block on the right hand side. The time limit should count down to zero If the student returns to the assignment page, the summary table should now show the time limit counting down On the assignment submission and assignment summary page the time limit counter should show the "warning" style when there is less than 15 minutes left On the assignment submission and assignment summary page the time limit counter should show the "danger" style when there is less than 5 minutes left Timed assignment (advanced) Create a test course and enrol test users with the student role Add an assignment description Create an assignment activity Add additional files Specify an "Allow submissions from date" Specify a "Due date" 30 minutes after the "Allow submissions from date" Specify a "Cut-off date" 40 minutes after the "Allow submissions from date" (10 minutes after the "Due date") Specify a "Time limit of 20minutes" As a student work through each of the scenarios outlined in the 'use cases / scenarios' in the description of this tracker. Adjusting the time times in the scenarios with the time settings for the assignment Duplicate the activity as required to allow completing of the scenarios Overrides Create a test course and enrol test users with the student role Create an assignment activity Add additional files Create a time limit for the assignment All other settings can be left as default. View the assignment summary page as a  teacher The time limit should for the assignment should be shown in the summary table From the assignment context menu select "user overrides" Add a user override for an enrolled user, make sure the timelimit is one of the variables overriden Log in as the student you added the override for. The time limit override value should for the assignment should be shown in the summary table Click begin an assessment In the modal that appears the time limit should be shown, indicating how much time the student has to complete the assignment. This should be the overridden time limit. On the assessment submission page, the time limit should be shown in a block on the right hand side this should be the overridden time limit. If the student returns to the assignment page, the summary table should now show the time limit counting down. The should be the overridden time limit

      Add the ability for the assign activity in Moodle to have a time limit similar to Moodle quiz.

      The use case is roughly:

      • The assign activity is "open" for a week. That is any student in the course with this assign activity can complete the activity anytime for the next 7 days
      • Once a student has started the assignment they will only have two hours to complete and submit it.
      • Starting will mean performing an action in the assignment UI and viewing the assignment topic.
      •  Starting times will be different for each student.
      •  Existing assignment settings such as the "cut off date" should also be adhered to
      • We'll need to come up with some suggestions on how late submissions are handled.

      New Features:

      • Assignments now have a time limit
      • Time remaining on attempt is shown on the submission page and the summary page
      • Option to only show associated assignment files to student only when they have started a submission
      • Additional instructions that are only shown to students when they start the submission

      Use cases / scenarios

      We have an assignment called “basket weaving” where students need to write 1,500 words (fully referenced) as a MS word document and upload the file to the assignment activity in Moodle. Extra instructions on what they need to do for this assignment activity will be presented to the student once they start a submission.

      The assignment activity in Moodle has an “Allow submissions from” time of 7am 10 July, 2020 and a “due date” 5pm 10 July 2020, with a “cut-off date” of 6pm 10 July 2020.  The assignment also has a “time limit” of 3 hours.

      This means that the student has a 10 hour window in which to start and finish the assignment activity, before it is marked late, and an 11 hour time window before they can no longer submit a response to the activity at all.  Also once a student starts an attempt they have 3 hours to complete the assignment activity before it is marked late.

      There are the following scenarios applicable to this use case (all student actions take place before midnight on the 10 July, 2020):

      • A student starts their assignment submission at 7:01am by clicking the add submission button.  After 150 minutes at 9:36am they upload their submission as a word document and clicks “save changes”
        • The student was able to successfully save their submission
        • Their submission was marked as submitted and on time
      • A student starts their assignment submission at 7:01am by clicking the add submission button. After 185 minutes at 10:06am they upload their submission as a word document and clicks “save changes”
        • The student was able to successfully save their submission
        • Their submission was marked as 5 minutes late as they submitted their assignment before the due date and cut off date, but after the 3 hour time limit
      • A student starts their assignment submission at 2:30pm by clicking the add submission button.  After 155 minutes at 5:05pm they upload their submission as a word document and clicks “save changes”
        • The student was able to successfully save their submission
        • Their submission was marked as 5 minutes late as they submitted their assignment after the due date, even though they took under the 3 hour time limit.
      • A student starts their assignment submission at 2:30pm by clicking the add submission button.  After 185 minutes at 5:35pm they upload their submission as a word document and clicks “save changes”
        • The student was able to successfully save their submission
        • Their submission was marked as 35 minutes late as they submitted their assignment after the due date, even though they took over the 3 hour time limit the submission was before the cut-off date.
      • A student starts their assignment submission at 4pm by clicking the add submission button.  After 150 minutes at 6:30pm they upload their submission as a word document and clicks “save changes”
        • The student was unable to submit their assignment
        • Even though the student took less than the 3 hour time limit they tried to submit after the cutoff date
        • In this case the student effectively only had 120 minutes to complete their assignment instead of the full 180 minutes
      • A student starts their assignment submission at 2:55pm by clicking the add submission button.  After 190 minutes at 6:05pm they upload their submission as a word document and clicks “save changes”
        • The student was unable to submit their assignment
        • The student took over the 3 hour time limit, however, the reason they could not submit their assignment was they tried to submit after the cutoff date. Had they submitted before 6pm their submission would have been accepted
      • A student starts their assignment submission at 5:01pm by clicking the add submission button. After 58 minutes at 5:59pm they upload their submissions as a word document and clicks "save changes"
        • The student was able to successfully save their submission
        • Their submission was marked as 59 minutes late as they submitted their assignment after the due date, even though they took under the 3 hour time limit.

        1. confirmation_with_timelimit.png
          confirmation_with_timelimit.png
          37 kB
        2. submission_time_expired_notification.png
          submission_time_expired_notification.png
          46 kB
        3. summary_time_expired.png
          summary_time_expired.png
          64 kB
        4. editing_new_form_fields.png
          editing_new_form_fields.png
          124 kB
        5. student_pre_submission_time_limit.png
          student_pre_submission_time_limit.png
          51 kB
        6. submission_page_with_timelimit.png
          submission_page_with_timelimit.png
          48 kB
        7. submission_time_danger.png
          submission_time_danger.png
          59 kB
        8. submission_time_warning.png
          submission_time_warning.png
          52 kB
        9. summary_page_with_timelimit.png
          summary_page_with_timelimit.png
          51 kB
        10. summary_time_danger.png
          summary_time_danger.png
          66 kB
        11. summary_time_warning.png
          summary_time_warning.png
          60 kB
        12. error_nopermission.jpg
          error_nopermission.jpg
          39 kB
        13. MDL-68913_Timed assignment advanced_Student_4.png
          MDL-68913_Timed assignment advanced_Student_4.png
          113 kB
        14. MDL-68913_Timed assignment advanced_Student_5.png
          MDL-68913_Timed assignment advanced_Student_5.png
          78 kB
        15. MDL-68913_Timed assignment advanced_Student_6.png
          MDL-68913_Timed assignment advanced_Student_6.png
          77 kB
        16. MDL-68913_Timed assignment basic_Student_1.png
          MDL-68913_Timed assignment basic_Student_1.png
          105 kB
        17. MDL-68913_Timed assignment basic_Student_3.png
          MDL-68913_Timed assignment basic_Student_3.png
          103 kB
        18. MDL-68913_Overrides_Student_1.png
          MDL-68913_Overrides_Student_1.png
          102 kB
        19. MDL-68913_Overrides_Student_2.png
          MDL-68913_Overrides_Student_2.png
          124 kB
        20. MDL-68913_Overrides_Student_3.webm
          137 kB
        21. MDL-68913_Overrides_Student_4.webm
          111 kB
        22. MDL-68913_Overrides_Teacher_1.png
          MDL-68913_Overrides_Teacher_1.png
          111 kB
        23. MDL-68913_Timed assignment advanced_Student_1.png
          MDL-68913_Timed assignment advanced_Student_1.png
          114 kB
        24. MDL-68913_Timed assignment advanced_Student_2.png
          MDL-68913_Timed assignment advanced_Student_2.png
          114 kB
        25. MDL-68913_Timed assignment advanced_Student_3.png
          MDL-68913_Timed assignment advanced_Student_3.png
          112 kB
        26. MDL-68913_Timed assignment advanced_Student_7.png
          MDL-68913_Timed assignment advanced_Student_7.png
          107 kB
        27. MDL-68913_Activity description_Assignment settings.png
          MDL-68913_Activity description_Assignment settings.png
          187 kB
        28. MDL-68913_Activity description_Student_1.png
          MDL-68913_Activity description_Student_1.png
          169 kB
        29. MDL-68913_Activity description_Teacher_1.png
          MDL-68913_Activity description_Teacher_1.png
          180 kB
        30. MDL-68913_Files on submission page_Assignment settings.png
          MDL-68913_Files on submission page_Assignment settings.png
          107 kB
        31. MDL-68913_Files on submission page_Student_1.png
          MDL-68913_Files on submission page_Student_1.png
          97 kB
        32. MDL-68913_Files on submission page_Student_2.png
          MDL-68913_Files on submission page_Student_2.png
          101 kB
        33. MDL-68913_Files on submission page_Teacher_1.png
          MDL-68913_Files on submission page_Teacher_1.png
          101 kB
        34. MDL-68913_Activity description_Student_2.png
          MDL-68913_Activity description_Student_2.png
          456 kB
        35. MDL-68913_Timed assignment basic_Student_2.webm
          531 kB

            cameron1729 cameron1729
            mattp@catalyst-au.net Matt Porritt
            Andrew Madden Andrew Madden
            Andrew Lyons Andrew Lyons
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            2 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 10 minutes
                1d 10m

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