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

Improve how we calculate to which activities the user had access during a period of time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.4
    • 3.4
    • Analytics
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-59256_master
    • Hide

      Unit tests should cover most of this issue changes but guess course start and end dates script.

      1. Set course format weeks for one of your courses
      2. Execute php admin/tool/analytics/cli/guess_course_start_and_end.php --guessall --update
      3. You SHOULD NOT get any PHP error
      Show
      Unit tests should cover most of this issue changes but guess course start and end dates script. Set course format weeks for one of your courses Execute php admin/tool/analytics/cli/guess_course_start_and_end.php --guessall --update You SHOULD NOT get any PHP error

      This is closely related to MDL-59067

      Community of inquiry indicators' calculations are based on:

      • The % of activities that were expected to be completed during a specific period that the user interacted with
      • How "deep" was this interaction

      As we calculate indicators once the target is ready (the end of the course for students at risk of dropping out courses) we need to guess the activities that were available at that time. MDL-59067 could solve this but sites will still have a lot of finished courses we want to use to train machine learning algorithms. This issue is about improving the current "guess" system that can be used as a fallback in case the system can not find indicators calculations stored as part of MDL-59067.

      Some comments copied from code TODOs:

      • In completed_by: Use course_modules_completion's timemodified + COMPLETION_COMPLETE* to discard activities that have already been completed.
      • In availability_completely_by: Would be nice to expand \availability_date\condition API for this calling a save that does not save is weird.

            dmonllao David Monllaó
            dmonllao David Monllaó
            Damyon Wiese Damyon Wiese
            Jake Dallimore Jake Dallimore
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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