I have run into the same problem regrading calculated questions. I have installed the lastest stable build for quiz/questiontypes/*.php and the moodlelib.php file posted above. My regrades attempts are *still* not being marked correctly.
-Fig
Quiz
Calculated questions not marking correctly.
This discussion has been locked so you can no longer reply to it.