My quiz review shows wrong data , correct answers are marked as wrong

My quiz review shows wrong data , correct answers are marked as wrong

by Ebin Manuval -
Number of replies: 1

I cleared some of my database tables my own using this method  . Now my quiz review shows wrong data 




My correct answer showing as wrong. Any idea from which table this data is coming 

I checked `mdl_quiz`,`mdl_quiz_attempts`,`mdl_question_usages`,`mdl_question_attempts` , `mdl_question_attempts`, all these tables but everything is normal .


Average of ratings: -
In reply to Ebin Manuval

Re: My quiz review shows wrong data , correct answers are marked as wrong

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

The final score for the question (1.00 out of 1.00 and 'Your answer is correct' comes from question_attempt_steps). The specific response is in question_attempt_step_data.

Also,w hat did you acutally do? The thread you link to refers to this plugin: https://moodle.org/plugins/local_datacleaner, but that plugin does not have an option to delete quiz attempts.

Randomly clearing some database tables seems like a very bad idea.