Question types: Pattern match with molecular editor

Maintained by Tim at Lone Pine Koala SanctuaryTim Hunt, Picture of Jamie PrattJamie Pratt, Picture of Phil ButcherPhil Butcher
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 1.1 for Moodle 2.1

Release notes

Pattern match with JME editor question type

This question type was created by Jamie Pratt, working for the Open University

Students can draw a molecule using the JME editor. This is then graded by matching
it against vaious model answers that are expressed using a sophisticated patten
matching algorithm. See

This question type is compatible with Moodle 2.1+ (MOODLE_21_STABLE branch) or
2.2+ (master branch).

This question type requires that the pmatch question type
to be installed in order to work.

To install using git for a 2.2+ Moodle installation, type this command in the
root of your Moodle install:

git clone git:// question/type/pmatchjme
echo '/question/type/pmatchjme' >> .git/info/exclude

To install using git for a 2.1+ Moodle installation, type this command in the
root of your Moodle install:

git clone -b MOODLE_21_STABLE git:// question/type/pmatchjme
echo '/question/type/pmatchjme' >> .git/info/exclude

Alternatively, download the zip from

Unzip it into the question/type folder, and then rename the new folder to pmatchjme.

You also need a copy of the JME molecule editor. explains how to get a copy:

Copy JME.jar to question/type/pmatchjme/jme/
Moodle 2.1

Version information

Version build number
Version release name
1.1 for Moodle 2.1
Can be updated from
1.0 (2011120901)
Can be updated to
1.2 for Moodle 2.3+ (2013021200), 1.3 for Moodle 2.5+ (2013070100), 1.4 for Moodle 2.5+ (2014072800), 1.5 for Moodle 2.6+ (2014111200)
Stable version
MD5 Sum
Supported software
Moodle 2.1
  • This is the latest release for Moodle 2.1

Version control information

Version control system (VCS)
VCS repository URL
VCS branch
VCS tag

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 to finish the installation