headless_lms_models::library

Module course_stats

Source

Structsยง

  • A generic result representing an average metric over a time period. The average value (e.g. average time in seconds) may be absent if no data is available.
  • Represents cohort activity metrics for both weekly and daily cohorts. For daily cohorts, offset will be populated (and activity_period may be computed from it); for weekly cohorts, offset will be None and activity_period indicates the week start.
  • A generic result representing a count metric over a time period. When the time period is not applicable (for overall totals), period will be None.

Functionsยง