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

New target for course completion

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.7
    • 3.6, 3.6.2
    • Analytics
    • MOODLE_36_STABLE
    • MOODLE_37_STABLE
    • MDL-64636-master
    • Hide

      Unit tests check that the target works as expected. An additional manual test is provided to ensure that the target is available in the Analytics UI.

      Manual testing - Verify target availability

      1. Go to Site admin > Analytics > Analytics models > Create model.
      2. In the Target drop-down list select "Students at risk of not meeting the completion criteria".
      3. Add a random number of Indicators. We are not evaluating the accuracy of a real model, so it is not relevant.
      4. Select a Time-splitting method. We are not evaluating the accuracy of a real model, so it is not relevant.
      5. Leave the default Predictions processor.
      6. Click on the Save changes button.
      7. Confirm that on the Analytics models page the first model is the one you've just created.
      Show
      Unit tests check that the target works as expected. An additional manual test is provided to ensure that the target is available in the Analytics UI. Manual testing - Verify target availability Go to Site admin > Analytics > Analytics models > Create model . In the Target drop-down list select "Students at risk of not meeting the completion criteria". Add a random number of Indicators . We are not evaluating the accuracy of a real model, so it is not relevant. Select a Time-splitting method . We are not evaluating the accuracy of a real model, so it is not relevant. Leave the default Predictions processor . Click on the  Save changes button. Confirm that on the Analytics models page the first model is the one you've just created.

      Context

      The Moodle Analytics API allows Moodle site managers to define prediction models that combine indicators and a target.

      Targets are the key element that defines the model. Represent the event the model is attempting to predict (the dependent variable in supervised learning, also known as labels).

      Since Moodle 3.4, Moodle Analytics ships with two built-in targets:

      • students at risk of dropping out;
      • no teaching

      There was no way to define new models through the UI.
      After MDL-60944, users can create new predictive models from scratch, combining existing indicators and targets.
      We are increasing the number of available targets out of the box, to offer more possibilities for the definition of new models.

      Goal

      This issue is about adding a new target for course completion, which indicates whether a student is at risk of not completing a course, according to the course completion criteria of that course; therefore, Completion tracking must be enabled for the course and some course completion criteria have been set.

      The code for this target is located at moodlesite/lib/classes/analytics/target/course_completion.php where moodlesite is the root directory of your Moodle site.

      It can be similar to the existing course_dropout target in core.
      There is an example of who it was implemented in tool_inspire. It was later discarded in favour of a solution limited to lack of activity logs during the last quarter of the course.

      The requirements shared between course-level targets like course dropouts, course completion or course competencies achievement should be abstracted from the current course_dropouts target.

            vmdef Victor Déniz Falcón
            dmonllao David Monllaó
            David Monllaó David Monllaó
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 45 minutes
                4h 45m

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