Pattern match with molecular editor

Question types ::: qtype_pmatchjme
Maintained by TimTim Hunt, at the OU (Perry building)Mahmoud Kassaei, Hieu Vu Van
Part of set Open University.
A question type where the user enters their response using the JavaScript Molecular Editor, and the response is then graded using the OU's pattern-match algorithm.

Pattern match with molecular editor 2.4 for Moodle 4.5+

Moodle 4.4, 4.5, 5.0
Released: Friday, 26 September 2025, 12:04 PM

Change log for the Pattern match with JME question type

Changes 2.4

  • This version works with Moodle 4.5/5.0
  • Update the JME edit to the latest version.
  • Update Behat tests to work in Moodle 5.0.

Changes 2.3

  • This version works with Moodle 4.0.
  • Update the JME edit to the latest version.
  • Improved how the JME is loaded, to make it more reliable.

Changes 2.2

  • Fix compatibility with spell-checking in the latest pattern-match question type.

Changes 2.1

  • Update Behat tests to work in Moodle 3.8.

Changes 2.0

  • Modified definition of "topnode" to ensure DOM element can be found when attempting to JS event listners
  • Fix Travis build.

Changes in 1.9

  • Update Behat tests to work in Moodle 3.6.
  • Some coding style fixes.

Changes in 1.8

  • Privacy API implementation.
  • Fix a backup and restore bug.
  • Update to a newer version of the molecule editor, and cover the JavaScript to AMD modules.
  • Update to use the newer editor_ousupsub, instead of editor_supsub.
  • Fix some coding style.
  • Due to privacy API support, this version now only works in Moodle 3.4+ For older Moodles, you will need to use a previous version of this plugin.

1.7 and before

Changes were not documented.

Version information

Version build number
2025081300
Version release name
2.4 for Moodle 4.5+
Can be updated from
2.3 for Moodle 3.11+ (2022081100)
Maturity
Stable version
MD5 Sum
56859cc71eb72d9341684ac7882c01fc
Supported software
Moodle 4.4, Moodle 4.5, Moodle 5.0
  • Latest release for Moodle 4.4
  • Latest release for Moodle 4.5
  • Latest release for Moodle 5.0

Version control information

Version control system (VCS)
GIT
VCS repository URL

Default installation instructions for plugins of the type Question types

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myquestiontype") in the "question/type" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation