Handle readings assignments analogous to questions:
create a query readings_scores to get the student's scores on the readings (maybe have it also record the actual number of activities completed when grading?)
fix readings query to also get the points and the number of activities required (and the number of potential activities would be nice, but not currently stored in the DB)
use the chapter and subchapter fields to generate the link to the url; showing the number of required activities, number of points possible, and student's points.
get rid of all the existing stuff for showing whether the student started reading the chapter.
This is done, but would be much better if the autograder for readings recorded the number of activities completed, as that would be useful feedback to students.
In assignments/doAssignment:
Handle readings assignments analogous to questions: