Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-13517 Moodle 3.8 QA
  3. MDLQA-14051

CLONE - A manager can obtain prediction models insights


      Testing environment:

      1. Create at least 2 courses with teachers and students and 2 courses with students but without teachers. These 4 courses should start tomorrow or later in the week.


      1. Assign 'manager' role to 2 different users at system level and enable "Insights generated by prediction models" web notifications for them (Log in as those users > User menu in top right > Preferences > Notification Preferences) [Note: this is part of the Manager role by default]
      2. Go to 'Analytics settings' in 'Site administration > Analytics' and disable 'Analytics processes execution via command line only'.
      3. Log in as a manager user and go to 'Analytics models' in the Site administration.
      4. For 'Courses at risk of not starting' model (formerly called 'No teaching'), select 'Execute scheduled analysis' in the Actions column.
      5. Scroll down the page listing info and click the continue button.
      6. For 'Courses at risk of not starting' choose "All predictions" in the Insights column.
      7. Verify that courses without teachers are listed.
      8. Mark one of the predictions as 'Not applicable' by selecting its checkbox and clicking the 'Not applicable' button at the top of the list.
      9. Log in as the other manager user.
      10. Verify that you have a notification of a new insight.
      11. Click on the notification then follow the link to the Insights page.
      12. Verify that you still see the prediction that was marked as 'Not useful' by the manager.
      13. Click 'View details' icon (magnifying glass) in the Actions column for the first course listed.
      14. Verify that under 'Prediction details' the time predicted is shown as well as the indicators that led to that prediction
      15. Select the course from the list and click 'Accept' from the Actions at the top of the display.
      16. Verify that you end up on the page listing predictions for 'Courses at risk of not starting'.

            emdalton1 Elizabeth Dalton
            0 Vote for this issue
            2 Start watching this issue


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