Skip to main content
April 15, 2010
Question

How to stop cpInfo Percentage from cumulative scoring on quiz retake?

  • April 15, 2010
  • 1 reply
  • 1330 views

Greetings. I have a slide that contains an advanced action that is not functioning correctly. This slide appears directly after clicking the Continue button on the quiz results screen. Upon slide enter, an advanced action checks if cpInfoPercentage is less than cpQuizInfoQuizPassPercent and then shows either a fail text caption or a pass text caption. There is also a button that jumps to start of project if the user chooses to review the module (and thereby be able to retake the quiz). Note that this button is not the Retake button on the standard quiz results screen.

The problem is that if the quiz score is 50% on the first attempt, and then 50% on the second attempt, my pass text caption shows, instead of the fail text caption. While the standard quiz results screen shows the correct score and pass/fail message, the following screen that performs the advanced action is acting as if the user has passed when in fact they have failed twice in a row. I believe this is because the cpInfoPercentage is adding the quiz results from the second retry.  By the way, there is no LMS interaction going on (yet).

Is there a way to reset this variable,  or?? Is the only successful way to stop the cumulative scoring for the variable to use the Retake quiz button? Note that the Retake button that appears on the Quiz results page disappears if they choose to Review the quiz first.

Thanks in advance.

This topic has been closed for replies.

1 reply

Legend
April 26, 2010

Rosendo,

I was able to reproduce this issue but I spent about 10 hrs. and could not find a good solution.  At first, I thought all I had to do was set cpInfoPercentage to zero, but it's much much more complex than that since cpInfoPercentage is a calculated number based on other variables like maxScore and score... of which there's a bug.  See this post.  I tried accessing this variable through 3 different classes and could not get it to report the score properly.  I'd report this as a bug if you have not already.

Thanks,

Jim Leichliter

April 26, 2010

Jim,

Thanks for your extensive effort. It could be such a useful variable for

simple minds like mine, and yet this bug makes it a deal breaker in many

instances. I've submitted a bug report.

Best,

Rosendo