Searching of a 'logs' plugin dedicated to the quiz activity

Searching of a 'logs' plugin dedicated to the quiz activity

by Mario Gharib -
Number of replies: 6

Dear Moodlers,

Is there a 'logs' plugin dedicated to the quiz activity that allow us to see for example

  • How many time a student attempt to guess the exam key
  • The exact time a student answered a question (in a page containing many questions) during a quiz 

The default logs doesn't show us the above information.

Average of ratings: -
In reply to Mario Gharib

Re: Searching of a 'logs' plugin dedicated to the quiz activity

by Mario Gharib -

Anyone know ?

In reply to Mario Gharib

Re: Searching of a 'logs' plugin dedicated to the quiz activity

by Dominique Bauer -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hello Mario,

... the exam key.
Are you referring to Safe Exam Browser?

The exact time a student answered a question ...
Have you checked Grade report: Quiz Analytics?

By the way, with the Formulas question type, the teacher's review of a student attempt shows the exact time and all of the parts' answers each time the student clicked on the "Check" button:

ForumQuiz_20200517_2226.png

In reply to Dominique Bauer

Re: Searching of a 'logs' plugin dedicated to the quiz activity

by Mario Gharib -
Hello @dominique Bauer and thanks for the reply,
Concerning the exam key. I mean the required password that students needs to enter to launch the quiz.

I want to know if a students was trying to "GUESS" the required password, so I want to retrieve a report that shows these logs. (time of entering the required password). The default logs doesn't show us the above information, it just show us when the student entered correctly the required password.
In reply to Mario Gharib

Re: Searching of a 'logs' plugin dedicated to the quiz activity

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Your observation is correct. Incorrect attempts to enter the quiz password are not logged.

I guess if someone wants this badly enough, it would be quite easy to develop. Just needs extra code here: https://github.com/moodle/moodle/blob/master/mod/quiz/accessrule/password/rule.php#L85 to write a log entry. Or possibly better to do it here: https://github.com/moodle/moodle/blob/6153be6850869cdc3a6ae925dcf6e688ac481333/mod/quiz/accessmanager.php#L559 to catch all unsuccessful attempts to get into the quiz for whatever reason.

Should possibly also do it in these methods: https://github.com/moodle/moodle/blob/6153be6850869cdc3a6ae925dcf6e688ac481333/mod/quiz/accessmanager.php#L323, https://github.com/moodle/moodle/blob/6153be6850869cdc3a6ae925dcf6e688ac481333/mod/quiz/accessmanager.php#L340 so that things like students tryign to access the quiz from a disallowed IP address get logged.
Average of ratings: Useful (1)
In reply to Tim Hunt

Re: Searching of a 'logs' plugin dedicated to the quiz activity

by Mario Gharib -

Thanks Tim 

Does that mean you've sent a request that requires someone to develop it ?

In reply to Mario Gharib

Re: Searching of a 'logs' plugin dedicated to the quiz activity

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
No.

It means that I have shared the knowledge about how this could be implemented, in principle. How Moodle Open Source development works is not somethign I want to explain right now.
Average of ratings: Useful (2)