The TrainingSessions report formats the results of the Use Stats block (Usage statistics), which obtains time indications from Moodle's trace. The nature of Moodle usage, as well as the nature of trace records, do not lead to a metric as exact as one could wish. The calculation of times is made complex by:
Several times are calculated by the Use Stats block, then aggregated in a time structure. Then the report assembles these times for rendering.
See the Use Stats block documentation for the calculation model
A session starts at a user's “login”. This event is always explicit. The session ends at the explicit logout, or at the loss of session due to inactivity: when the delay between two successive traces exceeds the Threshold (in minutes) defined in the settings of the Use Stats block. This setting does not belong to the report itself. The exceptional end-of-session credit, set in the same place, is then added to the calculation at each supposed session end or discontinuity.
Depending on the One session per course setting of the Use Stats block, a new session is opened each time the trace changes course, or a session may represent a work sitting that spans several courses.
A session linked to a course is a session that crosses this course.
In the user sheet viewed in the context of a course, only the sessions crossing this course at least once are displayed. The user may have done other work on the platform, but during sessions that never visit this course. When the course belongs to a course group (“Programme”, Pro version), the sessions that cross at least one of the courses of the group are retained. The selection of sessions is the same for all output formats (screen, CSV, Excel, PDF, JSON).
There is often a debate about whether the interstitial screens between a login and the effective arrival in the course should be counted or not. These times are therefore categorised in a “separate” result: These times are times assigned to no course (course 0), but can be attached to the pedagogical accounting depending on the desired calculation. In a course group report, these outside-course times are counted only once.
Finally, the sessions that are shown as additional times have a time normally greater than the time of the course alone. Indeed a user may have visited other courses during this session.
With the Learning Time Check coupling active (Pro version), a session that goes outside the range validated by the working-day constraints is either marked or truncated in the reports, depending on the With sessions outside the valid range setting.
Activity times are the times spent explicitly in the course activities to the exclusion of any other time. They are calculated as the sum of the times between a trace explicitly associated with the activity and the first following trace of the same user. When this gap exceeds the session threshold (see above), the analyser concludes there is a session discontinuity and only assigns a flat-rate time, the exceptional end-of-session credit, instead of the elapsed time.
This item can take into account the Learning Time Check module with the flat-rate times associated with the activities rather than the times measured on the traces.
Note: When a session crosses several courses, a calculation bias is to see these interstitial session times added to the calculation of each course.
This is the time spent in the course activities, in the course's shared spaces, and the time spent getting into the course.
Indeed, a number of screens crossed by the user can be counted in the course time, without being associable with activities. These are the times spent on the course home, in reports, in ancillary interfaces of the course blocks, etc.
During a work session on a course, the user may spend some time on screens associated with the “course” site home page and its derivatives or on the dashboard page, and in other courses. These times may (or may not) be included in the total time of the course.
The activity time details give the list of the individual activity times section by section.
Index du composant - Back to plugins index - Back to catalogue index