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

Multiple entries in the students at risk report when a user has multiple enrolment methods for a single course

XMLWordPrintable

    • MOODLE_35_STABLE
    • MOODLE_310_STABLE, MOODLE_39_STABLE
    • MDL-67119-master
    • Hide

      Setup

      Firstly, you will need to generate some insights for a certain model.

      1. Login as Admin.
      2. Set up  your timezone correctly, if it is not already (Site administration > Location > Location settings)
      3. Go to Site administration > Analytics > Analytics settings
        1. Set "Analytics processes execution via command line only" = "No"
        2. Save changes.
      4. We need a couple of courses. First one, for training:
        1. Create a new course with 'Training' as shortname.
        2. Enrol 3 students manually: 'student 1', 'student 2' and 'student 3'
        3. Add a new 'Page' activity.
        4. Add a new 'Forum' activity.
        5. Login as 'student 1' and 'student 2' and generate some logs (10-15 or more): visit the page, post in the forum, visit participant list, grades...
        6. As an admin, set course start date a year ago and end date to yesterday.
        7. Go to course Participants page and edit all enrolments one by one to set start date to one year ago.
      5. Create a new course with 'Prediction' as shortname:
        1. Set the course start date to one month ago
        2. Set the course end date an 2 weeks in the future.
        3. Enrol 3 students manually: 'student 1', 'student 2' and 'student 3'
        4. Add a new 'Page' activity.
        5. Add a new 'Forum' activity.
        6. Login as 'student 1' and 'student 2' and generate some logs (10-15 or more): visit the page, post in the forum, visit participant list, grades...Check course Participants.
      6. Download the attached test-mdl-67119.php file and place it in moodle root
      7. Execute 

        php test-mdl-67119.php

      8. Go to Site administration > Users > Cohorts
      9. Add a new cohort
      10. Add to the cohort the student enrolled in 'Training' and 'Prediction' courses that has never accessed the courses ('student 3').
      11. Go to the course 'Enrolment methods' management.
      12. Access to the "Prediction" course and add a new 'Cohort sync' method for the Cohort created in step 6

      Test

      1. Go to Site administration > Analytics > Analytics models
      2. Enable 'Students at risk of dropping out' model in case is disabled using 'Edit' action.
        1. Enabled = true
        2. Analysis interval = 10% after start
        3. Save changes
      3. For 'Students at risk of dropping out' choose 'Execute scheduled analysis' action (it may take a little bit long to run it).
      4. Click on 'Continue'
      5. From 'Students at risk of dropping out' Insights drop down select 'Execute scheduled analysis' the course created in step 6
      6. Confirm the student added to the cohort has one entry only in the insights table.

       
       
       
       
       

      Show
      Setup Firstly, you will need to generate some insights for a certain model. Login as Admin. Set up  your timezone correctly, if it is not already (Site administration > Location > Location settings) Go to Site administration > Analytics > Analytics settings Set "Analytics processes execution via command line only" = "No" Save changes. We need a couple of courses. First one, for training: Create a new course with 'Training' as shortname. Enrol 3 students manually: 'student 1', 'student 2' and 'student 3' Add a new 'Page' activity. Add a new 'Forum' activity. Login as 'student 1' and 'student 2' and generate some logs (10-15 or more): visit the page, post in the forum, visit participant list, grades... As an admin, set course start date a year ago and end date to yesterday. Go to course Participants page and edit all enrolments one by one to set start date to one year ago. Create a new course with 'Prediction' as shortname: Set the course start date to one month ago Set the course end date an 2 weeks in the future. Enrol 3 students manually: 'student 1', 'student 2' and 'student 3' Add a new 'Page' activity. Add a new 'Forum' activity. Login as 'student 1' and 'student 2' and generate some logs (10-15 or more): visit the page, post in the forum, visit participant list, grades...Check course Participants. Download the attached test-mdl-67119.php file and place it in moodle root Execute  php test-mdl- 67119 .php Go to Site administration > Users > Cohorts Add a new cohort Add to the cohort the student enrolled in 'Training' and 'Prediction' courses that has never accessed the courses ('student 3'). Go to the course 'Enrolment methods' management. Access to the "Prediction" course and add a new 'Cohort sync' method for the Cohort created in step 6 Test Go to Site administration > Analytics > Analytics models Enable 'Students at risk of dropping out' model in case is disabled using 'Edit' action. Enabled = true Analysis interval = 10% after start Save changes For 'Students at risk of dropping out' choose 'Execute scheduled analysis' action (it may take a little bit long to run it). Click on 'Continue' From 'Students at risk of dropping out' Insights drop down select 'Execute scheduled analysis' the course created in step 6 Confirm the student added to the cohort has one entry only in the insights table.          
    • Moppies Kanban

      When a user is enrolled in a course using multiple enrolment methods (e.g. two different enrolment cohort instances in the course) the students at risk report shows one entry for each of the methods used to enrol the user in the course.

      The user enrolment identified is the primary key used in analytics to identify students in courses.

        1. MDL-67119_03042021.jpg
          MDL-67119_03042021.jpg
          29 kB
        2. onlyoneuser.png
          onlyoneuser.png
          57 kB
        3. test-mdl-67119.php
          1 kB

            amaia Amaia Anabitarte
            dmonllao David Monllaó
            Dan Marsden Dan Marsden
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours, 45 minutes
                2d 4h 45m

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