Stanford-Online/class2go — pull request #974 by halawa (2012-10-06 17:08:35+00:00)
Title: Halawa rep ui and e 2master: Fix for 973

Fix for #973. Reports miscalculated the attempt number of the first correct attempt for students with multiple correct attempts per problem. Also shows scores for videos and formative problem sets.

Summary of changes:
-------------------------------
In course_quizzes.py:
------------------------------
* Added a 'completed' flag, and made sure the score generation (lines 121-125) are only entered on the first correct attempt detected.
* Lines (126-127) are added to report a score for formative quiz types (Note that the score is initialized to 0 on line 111)
* The replacement on line 129 is really insignificant: changed something and then changed it back

In quiz_data.py:
---------------------
* Around Line 78: Do not increment attempt number after first correct attempt (this is the fix)
* Rest of changes: Adding a score column and score values for formative quizzes (videos and formative p.sets)

2 significant commit:
4d67164
0207abe

1 insignificant commit:
dadef80