learningequality / kolibri

Kolibri Learning Platform: the offline app for universal education
https://learningequality.org/kolibri/
MIT License
810 stars 684 forks source link

MasteryLog is not updated when resumen a quiz #12855

Open jredrejo opened 3 days ago

jredrejo commented 3 days ago

Observed behavior

When doing a quiz in different sessions, MasteryLog model is not updating the end_timestamp. It keeps the one of the first session. Checked that contentsummarylog is doing it right, but not MasteryLog These are the AttemptLog rows: Image

And this is the MasteryLog information afer the second session has ended:

Image

Expected behavior

MasteryLog end_timestamp should reflect when the user ended working on the quiz.

User-facing consequences

Wrong stats

Steps to reproduce

Context

kolibri 0.17.3