Stanford-Online/class2go — pull request #2284 by dcadams (2013-02-22 19:26:55+00:00)
Title: #2029 - New relation examscore -> examrecordscore

@sef please when you get back.

**Note: Migration required for this change.

I'm setting this new relation in 2 instances:

1. Autograded responses. For this the examrecordscore related to is the
one corresponding to the score with penalties excluded.

2. CSV grading. For this, the examrecordscore related to is the one
which is for the latest submission (attempt) at the time of csv upload.
This is because csv grading, as currently works, posts grades to the
last submission for that exam. In this instance, the score on the
examrecordscore is the same as the examscore as there are no
machine penalties applied with csv grading.

What I have not touched is the regrader. The reason being, that I'm only
setting relations for new submissions, not retroactively. It ought to be
easier to incorporate after current courses have died.