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

Assign - Per attempt timing

    XMLWordPrintable

Details

    • 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

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

              cameron1729 cameron1729
              mattp@catalyst-au.net Matt Porritt
              Andrew Madden Andrew Madden
              Andrew Lyons Andrew Lyons
              Angelia Dela Cruz Angelia Dela Cruz
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              2 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

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