edx-solutions/edx-platform — pull request #219 by mattdrayer (2014-09-12 14:46:27+00:00)
Title: mattdrayer/api-course-avg-release: Account for ungraded students

Updated the course average calculation to account for enrolled students who have not yet registered a score, and therefore do not yet have entries in the gradebook. We assume zero for their grades in this case and perform a simple mathematical adjustment to the average. I also updated the main courses/metrics/grades operation to use the same model method to ensure consistent responses across both calls.

@chrisndodge, @martynjames, @ziafazal , FYI on this PR now (correctly) targeted for the release branch