Quiz reports: CBM Grade Summary

Maintained by argmTony Gardner-Medwin
Quiz Report Plugin showing the appropriate scores when CBM Behaviour has been selected.
272 sites
15 fans
Current versions available: 4

Basic documentation on Certainty-Based Marking (CBM) is at https://docs.moodle.org/27/en/Using_certainty-based_marking  .

This plugin displays result reports (for teachers) that properly summarise student performance in quiz attempts that use CBM behaviour. Optionally, scores on individual questions can be displayed. Percentages can be calculated on the basis of either just those questions for which a student has entered a response, or the whole quiz. For example, 100% correct on half of the questions - those which the student has chosen to work on - can be shown as 100% rather than 50% correct. This is appropriate when a student uses the quiz for self-testing, choosing just questions relevant to current learning or self-assessment needs.

The plugin was developed alongside improvements in CBM behaviour that are included in core code in Moodle 2.6+. Version 1.2 can be used with Moodle 2.3-2.6. Version 2.7.02 is required for Moodle 2.7 onwards (at least to Moodle 3.0). It really should be in core Moodle.

This plugin doesn't affect feedback of information to students CBM feedback in student Reviews was introduced in core Moodle 2.6, though this is much improved by installing patches (including for earlier versions 1.9+) available at http://TMedwin.net/cbm .

If you want Moodle Grades to correspond to CB Accuracy (0-100%) for comparison with conventional accuracy rather than to the total of CBM marks (see https://docs.moodle.org/30/en/Using_certainty-based_marking ) then use the code modifications and plugin available at http://TMedwin.net/cbm . Otherwise Moodle Grades range up to 300% based simply on the total CBM marks and have a non-linear relation to conventional accuracy, .

Please report any issues to me: Tony Gardner-Medwin (a.gardner-medwin@ucl.ac.uk)


Screenshot #0


Tony Gardner-Medwin (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • argm
    Sun, Nov 23, 2014, 9:32 PM
    Hi Toni - It looks to me as if you have the plugin for 2.6 running with Moodle 2.7. Can you check please? Tony G-M
  • Picture of Toni Soto
    Mon, Nov 24, 2014, 9:18 AM
    Hi Tony,

    You were right. I was using an old version that I had installed through the 'Install' (instead of download) option from the Moodle plugin database. It looks like the version for automatic installs is different (older) than the one available for downloading to install manually.

    I had to remove the old version and download and install the new one in my Moodle 2.7.2 and all is fine now. smile

    Thank you for your support Tony.

  • argm
    Mon, Nov 24, 2014, 5:09 PM
    I think (hope) that this wrong installation could only have happened for a short time after 2.7 was introduced. Tony GM
  • argm
    Tue, Nov 25, 2014, 3:49 PM
    Turns out there is a serious problem here. 'Download' gives you the correct plugin version, but 'Install now' always gives the version for Moodle 2.5.
  • argm
    Wed, Nov 26, 2014, 12:48 AM
    Problem solved with new releases (r3) for 2.6,2.7 with amended version.php files and version numbers.
  • Picture of Stella Elphick
    Wed, Oct 28, 2015, 5:48 PM
    Hi Tony,

    I used to use the "plus" version of your plugin, but since I upgraded to Moodle 2.9 I cannot find a version that is compatible. Is this in development?

    Many thanks, greatly appreciated.

  • argm
    Fri, Oct 30, 2015, 7:09 PM
    I've added the 'plus' files for 2.88 and 2.9.1-2 at http://tmedwin.net/cbm/moodle/download/ (calculating Moodle grades based on CBM Accuracy). Tony
  • Picture of Christopher Blake
    Tue, Jun 28, 2016, 7:42 PM
    I've installed this plugin on a 3.0.4+ instance of moodle and I'm getting the following errors on the feedback page at the end of the quiz:

    "Exception - Call to undefined method quiz_attempt::fire_attempt_reviewed_event()
    Coding error detected, it must be fixed by a programmer: Invalid state passed to moodle_page::set_state. We are in state 3 and state 3 was requested. "

    I followed the instructions for setting up the calculation of CBM; http://tmedwin.net/cbm/moodle/download/

    Other than overwrifgting the modified php files and uninstalling the plug-in how do I fix this?

  • argm
    Tue, Jun 28, 2016, 10:42 PM
    It looks to me as if you used one of the downloads from http://www.tmedwin.net/cbm/moodle/download/ intended for 3.1 rather than for 3.04. Get the right one and replace cbmversion.txt and mod/quiz/review.php . The CBMgrades plugin is not I think the problem.
  • Picture of Riaan Aspeling
    Sat, Jan 26, 2019, 6:52 PM
    Hi Tony,

    I was asked to install this plugin on a moodle v3.5 site, and did so. I'm not a moodle expert in any way, but believe I should find the report under the Grades section when selecting a course. Is this assumption correct? If so, then I'm lost, because the report is nowhere to be found on the site.

    Is it possible for you to explain where I could find the report?

    Kind regards,
  • argm
    Tue, Jan 29, 2019, 2:26 AM
    Riaan - This plugin is to enhance the Quiz Reports visible to staff, not the Summary Grade reports for a whole course. Say if this doesn't solve your problem. Tony G-M
  • Picture of Peter G
    Sun, May 26, 2019, 11:17 PM
    Reading your site, I've come to greatly appreciate certainty based marking, and I am eager to deploy it and evangelize it in my teaching. My institution, however, is not willing to incorporate manual patches to the moodle core source code. Is there any way to get 0%-100% marking (accuracy + bonus) without patching?

    Also, any idea if the code distributed at TMedwin.net compatible with 3.7, or will adjustments be needed?

    Thank you for everything you have put into this. You've made moodle a better and more dynamic tool!
  • argm
    Tue, May 28, 2019, 5:10 PM
    (1) The latest standard plugin, essential for staff viewing of CBM grades, should work without changes for 3.7, and this should now be clear on the plugin site.
    (2) The preferred (but more complex, non-linear) grading scheme (0-100%) unfortunately does still require patches to the core code. There have been no reported problems with these patches, but I would need help to get them incorporated into core. Anyone interested? An alternative for student selftests is to use my (non-Moodle) site for CBM selftests: https://tmedwin.net/cbm .
  • Picture of Peter G
    Wed, Jun 5, 2019, 6:52 PM
    I can confirm that both the plugin and the "plus" patched code work well on 3.7.

    Though I certainly see the value in a 0%-300% scoring scale, the accuracy+bonus (0-100%) model is going to be an easier transition for many where I work. If there's ever anything I can do to help get the core patched to support both options at the user level, please let me know what I can do to help!
  • Picture of hakan cigci
    Mon, Dec 21, 2020, 11:14 PM
    how can i show number of wrong answers and number of empty answers.
Please login to post comments