For reasons I can only partially remember, certain things in the quiz are not logged. And, having recently had to investigate some issues myself, and also help other people investigate things here, I think it would be better to log all these things. But I thought I would ask in case anyone disagrees.
- Quiz autosave - I think originally we did not make this log, because auto saves were not 'real' actions by the user. However, autosave running is good evidence that the student is actively working on the quiz (a save is only done after a response is changed).
- Quiz processing responses - currently processattempt.php only logs if it changes the state of the attept (e.g. Submit all and finish). In other cases it does not, on the theory that we are about to redirect the user back to attempt.php, and that will log. However, it will make things clearer if processattempt.php also logs when it saves responses for the user.
- While checking out the other two, I also noticed that the user clicking on "Try another question like this one" (when that is enabled) is not logged. That is a significant user action, so definitely should be.
The only real down-side of this logging is that it makes the log table (even) bigger. However, having an accurate record of what happened during quiz attempts is important, so I think it is well worth it - but as I say. I am posting here to see what you all think.
(Tracker issue: MDL-71984)