Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.5, 3.8
-
MOODLE_35_STABLE, MOODLE_38_STABLE
-
MOODLE_38_STABLE
-
MDL-62191_master -
Hide
Prerequisites (sorry in advance, this is long)
Run these steps before upgrading- Check out and install an earlier moodle version (e.g. 3.7)
- 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
- Time-splitting method: Single range
- Default value for predictions processor
- Save changes
- 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
- On Firefox: Debugger > Breakpoints > Pause on exceptions
- On Chrome: Sources tab > click "Pause on exceptions" (Make sure to leave "Pause on caught exceptions" unticked)
- 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
- Select Actions > Not useful for one of the students
- Upgrade moodle
- Log in as admin and go to site admin > analytics > analytics models
- Select ongoing course in the Insights column for the model you created before
- You SHOULD see the following buttons on the top and bottom of the page: Send message, Accept, Not applicable and Incorrectly flagged, they SHOULD be disabled by default
- 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 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 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 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
- Go to site admin > analytics > analytics models and click on Actions > Effectiveness report (or Actions Insights report if
MDL-66628has been integrated) - There SHOULD NOT be any executed action with name Not useful
ShowPrerequisites (sorry in advance, this is long) Run these steps before upgrading Check out and install an earlier moodle version (e.g. 3.7) 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 Time-splitting method: Single range Default value for predictions processor Save changes 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 On Firefox: Debugger > Breakpoints > Pause on exceptions On Chrome: Sources tab > click " Pause on exceptions " (Make sure to leave " Pause on caught exceptions " unticked) 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 Select Actions > Not useful for one of the students Upgrade moodle Log in as admin and go to site admin > analytics > analytics models Select ongoing course in the Insights column for the model you created before You SHOULD see the following buttons on the top and bottom of the page: Send message, Accept, Not applicable and Incorrectly flagged, they SHOULD be disabled by default 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 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 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 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 Go to site admin > analytics > analytics models and click on Actions > Effectiveness report (or Actions Insights report if MDL-66628 has been integrated) There SHOULD NOT be any executed action with name Not useful
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.