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

Add bulk actions for analytics' insights

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisites (sorry in advance, this is long)

      1. Log in as admin
      2. Enable 'enablecompletion' in site admin > advanced features
      3. Setup your timezone correctly in site admin > location > location settings
      4. Set up a course so that:
        • full & shortname: finished course
        • topics format
        • completion is enabled
        • startdate to right now (including hour and minute)
      5. Enrol 2 users as students in the course
      6. Enrol the logged in admin user as a teacher in the course
      7. Create a page activity in a course section different than section 0
      8. Log in as one of the students you enrolled (let's call him student1) and access the page activity
      9. Set the course end date to right now
      10. Click on the courses admin cog and select Course completion
      11. Set Condition: Manual completion by others to Teacher role
      12. Go to course admin > more... > reports > course completion
      13. Flag student1 as approved (tick the box in the Approval column)
      14. Run cron so that the course completion status of the student is updated
      15. Go to site admin > development > make test course
      16. Create a S size course with full and short name "ongoing course"
      17. Go to the course and edit its settings so that:
        • topics format
        • completion is enabled
        • startdate to right now (including hour and minute)
        • enddate tomorrow or any date later than that
      18. Enrol the logged in admin user as a teacher in the course
      19. Create a page activity in a course section different than section 0
      20. Click on the courses admin cog and select Course completion
      21. Set Condition: Manual completion by others to Teacher role
      22. Go to site admin > analytics > analytics settings and disable the 'onlycli' option
      23. Go to site admin > analytics > analytics models
      24. Click on new model > create model
      25. Set the following values in the form:
        1. Tick 'enabled'
        2. Target: Students at risk of not meeting the course completion conditions
        3. Indicators: Page cognitive
        4. Analysis interval: From start to end
        5. Default value for predictions processor
        6. Save changes

      Test(contd from previous step)

      1. Click on Actions > Execute scheduled analysis for the model you just created and click on continue once the analysis is finished
      2. Open the JS console and set the inspector so that it stops on exceptions (debugger > breakpoints > pause on exceptions in firefox)
      3. You should be now back in the analytics models page, you SHOULD see a dropdown menu in the insights column of the model you created above, select "ongoing course"
        • If you don't see the dropdown (it can happen randomly, this is fine) 'Actions > Clear predictions' and 'Actions > Execute scheduled analysis' again until you see it. If you don't see if after say... 5 tries check the 'Invalid analysables report' to confirm that the course you created is not invalid.
      4. You SHOULD see a long list of students identified as at-risk
      5. You SHOULD see the following buttons on the top and bottom of the page:  Send message, Accept, Not applicable and Incorrectly flagged
      6. Check a couple of the checkboxes next to student names, now check the checkbox on the table header, it is a toggle for all the checkboxes below, check that it works as a usual toggle checkbox, leave it unchecked once done
      7. Check two or three students (remember their names) and click on "Accept" on the top part of the page
      8. You SHOULD see a confirmation message, confirm it, those students SHOULD NOT be there anymore
      9. Reload the page, check that the those students do not appear now
      10. Check two or three students (remember their names) and click on "Incorrectly Flagged" on the bottom part of the page
      11. You SHOULD see a confirmation message, confirm it, those students SHOULD NOT be there anymore
      12. Reload the page, check that the those students do not appear now
      13. Check two or three students (remember their names) and click on "Not applicable" on the bottom part of the page
      14. You SHOULD see a confirmation message, confirm it, those students SHOULD NOT be there anymore
      15. Reload the page, check that the those students do not appear now
      16. Check two or three students (remember their names) and click on "Send message" on the top part of the page, write a message and press "Send message to N people"
      17. You SHOULD see a notification on the top of the page: "Message sent to N people", the students SHOULD NOT be removed from the list of students and their checkboxes SHOULD remain checked
      Show
      Prerequisites (sorry in advance, this is long) Log in as admin Enable 'enablecompletion' in site admin > advanced features Setup your timezone correctly in site admin > location > location settings Set up a course so that: full & shortname: finished course topics format completion is enabled startdate to right now (including hour and minute) Enrol 2 users as students in the course Enrol the logged in admin user as a teacher in the course Create a page activity in a course section different than section 0 Log in as one of the students you enrolled (let's call him student1) and access the page activity Set the course end date to right now Click on the courses admin cog and select Course completion Set Condition: Manual completion by others to Teacher role Go to course admin > more... > reports > course completion Flag student1 as approved (tick the box in the Approval column) Run cron so that the course completion status of the student is updated Go to site admin > development > make test course Create a S size course with full and short name "ongoing course" Go to the course and edit its settings so that: topics format completion is enabled startdate to right now (including hour and minute) enddate tomorrow or any date later than that Enrol the logged in admin user as a teacher in the course Create a page activity in a course section different than section 0 Click on the courses admin cog and select Course completion Set Condition: Manual completion by others to Teacher role Go to site admin > analytics > analytics settings and disable the 'onlycli' option Go to site admin > analytics > analytics models Click on new model > create model Set the following values in the form: Tick 'enabled' Target: Students at risk of not meeting the course completion conditions Indicators: Page cognitive Analysis interval: From start to end Default value for predictions processor Save changes Test(contd from previous step) Click on Actions > Execute scheduled analysis for the model you just created and click on continue once the analysis is finished Open the JS console and set the inspector so that it stops on exceptions (debugger > breakpoints > pause on exceptions in firefox) You should be now back in the analytics models page, you SHOULD see a dropdown menu in the insights column of the model you created above, select "ongoing course" If you don't see the dropdown (it can happen randomly, this is fine) 'Actions > Clear predictions' and 'Actions > Execute scheduled analysis' again until you see it. If you don't see if after say... 5 tries check the 'Invalid analysables report' to confirm that the course you created is not invalid. You SHOULD see a long list of students identified as at-risk You SHOULD see the following buttons on the top and bottom of the page:  Send message, Accept, Not applicable and Incorrectly flagged Check a couple of the checkboxes next to student names, now check the checkbox on the table header, it is a toggle for all the checkboxes below, check that it works as a usual toggle checkbox, leave it unchecked once done Check two or three students (remember their names) and click on "Accept" on the top part of the page You SHOULD see a confirmation message, confirm it, those students SHOULD NOT be there anymore Reload the page, check that the those students do not appear now Check two or three students (remember their names) and click on "Incorrectly Flagged" on the bottom part of the page You SHOULD see a confirmation message, confirm it, those students SHOULD NOT be there anymore Reload the page, check that the those students do not appear now Check two or three students (remember their names) and click on "Not applicable" on the bottom part of the page You SHOULD see a confirmation message, confirm it, those students SHOULD NOT be there anymore Reload the page, check that the those students do not appear now Check two or three students (remember their names) and click on "Send message" on the top part of the page, write a message and press "Send message to N people" You SHOULD see a notification on the top of the page: "Message sent to N people", the students SHOULD NOT be removed from the list of students and their checkboxes SHOULD remain checked
    • Affected Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-62191_master

      Description

      It is possible for a teacher to receive many notifications of insights at once from learning analytics. The teacher should be able to select some or all of the insights and take action in bulk, e.g. send message, acknowledge, mark as not useful, etc. A confirmation screen is recommended before executing bulk actions.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 1 day, 3 hours, 46 minutes
                  1w 1d 3h 46m