Bug in display Macros | topic started 10/21/2003; 10:57:21 AM last post 10/21/2003; 10:57:21 AM |
Mark Schmitt - Bug in display Macros 10/21/2003; 10:57:21 AM (reads: 453, responses: 0) |
When using pc_evaluator to give partial credit, the message "The above
answer is CORRECT" appears for all answers that receive partial
credit. I think that is misleading. To correct the problem,
I editted the way $allAnswersCorrectQ is determined. (around line 176) Old version: $allAnswersCorrectQ = $allAnswersCorrectQ && $answerIsCorrectQ; New version: $allAnswersCorrectQ = $allAnswersCorrectQ && $answerIsCorrectQ && ($rh_problem_result->{score} == 1); This seems to take care of the problem. |