Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Grading logic suggestion

Anonymous
2011-12-02
2013-05-28

  • Anonymous
    2011-12-02

    Hi, I have a suggestion for the quiz grading logic:

    serveQuestion line 56

        if(intval($range) < $percentage && intval($range) >= $percentage) {

    could read

        if(intval($range) < $score && intval($range) >= $score) {

    I suggest this because I misunderstood the grading values in the XML file as scores, not percentages.

    Or maybe you could add a comment in the readme to make it more explicit that percentage values are required in the XML, not scores?

     
  • Joe B.
    Joe B.
    2012-03-12

    Good point. Sorry for the confusion!
    I added a note to the README for any future releases.

    Sorry for the late reply!