Closed atkoehler closed 11 years ago
Could you elaborate and clarify the language here @atkoehler? I can't understand what this is about, though I think I remember a conversation we had related to this. Either way it's best if it's all in the tracker rather than in memory.
Currently get_csv acquires grades for a given (currently final) submission for a given assignment for every student that submitted something. In that CSV are 3 items, user identity, total score and submission time stamp.
This request is for a CSV for an entire course. For every user enrolled in the course it attempts to get a score for a given (currently final) submission for every assignment in the course. If the user has not submitted something for an assignment then a score of 0 is awarded. This could be optional, it could be left blank and an option could be sent for zero-fill or additional param set to a "no submit grade". Assignments should be traversed in order of due date.
Timestamps for submissions would be left off of these "gradebook" CSVs.
$ get_gradebook "CS 10v" fill=0
For example if email2 scores a 0 on first two and email3 didn't turn in ISBN, it would look like this (spaced for clarity):
Username, "Lab 1", Madlibs, "Lab 2", ISBN email@example.com, 1, 100, 1, 100 email2@example.com, 0, 0, 1, 94 email3@example.com, 1, 75, 1, 0
Took way too long to add this, but this we be in the stable branch when we get up to date.
Can we possibly get a CSV composition that takes the roster and gets the score for each assignment for every person on the roster.
i.e. a gradebook
This will have to have 0's filled in when a database query fails to acquire a submission.