chamilo / chamilo-lms

Chamilo is a learning management system focused on ease of use and accessibility
https://chamilo.org
GNU General Public License v3.0
807 stars 481 forks source link

Time discrepancies in course vs learning paths #3599

Open CrowCakes opened 4 years ago

CrowCakes commented 4 years ago

Describe Related to #2653 (Time spent on course). Upon adding up the time taken for each learning path and quiz, the sum does not match the cumulative course time. Affects all students in a course.

To Reproduce Steps to reproduce the behavior:

  1. Populate courses with only learning paths and quizzes.
  2. Have students view course learning paths
  3. In the course they took, go to Reporting -> Learner's list -> Details, for every student who took the course
  4. Scroll down to the list of Learning paths
  5. Add up the time, then compare to Time spent in course above

Expected behavior The two times should match, or have negligible time difference

Screenshots Cumulative time: image

Time per learning path/quiz: image (Sum: 6 hrs 13.5 minutes)

Sample learning path recorded times: image

**Server

Additional context There may be Internet problems involved, but I cannot verify with the end-user. They have reported using better, more stable Internet providers at the time of the issue being observed. There were no reports of user errors, either.

There have been reports of other time discrepancies within the learning paths themselves. Whereas other students have had times >2 minutes, this particular student only clocked in 24 seconds. The learning path's sole slide has an embed video 35 minutes long, so I'm not sure what happened here. They all reported to have completed viewing the video. For now, I have advised the staff to reset the learning path progress if necessary in future cases. image image

Cerebrando commented 4 years ago

Relating to your Additional context:

I had the same problem, you just need to configure session expiry time in Chamilo and PHP. Take this as a guide https://beeznest.com/blog/2014/06/18/howto-configuring-session-expiry-time-in-chamilo-1-9/

ywarnier commented 3 years ago

Also, there is a thing called use_new_tracking_in_lp_item in the configuration file, that will use more resources but use more precise tracking. It's still beta-level, but you'll find instructions in main/install/configuration.dist.php on how to create the additional table structure to enable it.

CrowCakes commented 3 years ago

I did both fixes, configuring the session expiry time and activating the new feature. Just to be sure, is what I did correct?

app/config/configuration.php image

Administration -> Portal -> Extra fields -> lp image