Autograded question feedback

Autograded question feedback

by Ainur Sharipov -
Number of replies: 0

Hello.

I faced a problem and will be grateful to get some help.

My team are creating an question type which supposes that a student gives an answer with attachments. The responses (attached files) are graded automatically. The problem is that we want the teacher to be able to see mistakes in student response (create a copy of student's response and mark mistakes where) when reviewing the question after it was answered and submitted. The way I see it: in method grade_response() where the graduation is preformed I need to save file in filearea which when could be accessed (separately for each attempt just like 'attachments' in 'essay') in renderer (with specific options - read only inclusively). I think that mistakes file should be saved with context id of the owning quba and item id == step id. I can't find a way to access (nicely, without breaking all the logic) that data in question.php (class for response processing) where grade_response() is located.

Thanks a lot for spending your time reading this!

Average of ratings: -