Hi, I'm working on making some changes to the assignment module, specifically, I am adding rubrics to assignment grading (MDL-795). I was reading up on the grade module to see if I would have to change the way that anything is sent to it and noticed something that seems strange to me. On the MoodleDocs page for grades it states:
"The gradebook is a repository of these grades: modules push their grades to it, but the gradebook doesn't push anything back to the modules "
This confuses me because line 221 of assignment/lib.php calls the 'grade_get_grade' function from the grade module and then displays the results of this function as part of the view_feedback method. Doesn't this violate the second principle of the grade module or am I not understanding what is happening in the view_feedback function of assignment/lib.php?