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.


Grading logic suggestion


  • Anonymous

    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.

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

    Sorry for the late reply!