Skip to content
Mathieu Petit-Clair edited this page May 28, 2013 · 6 revisions

.docx automatic evaluation question type for Moodle > 2.2.x

© 2012 Université de Montréal

The code in this repository is not authoritative anymore. Please use https://github.com/leblangi/manip as the main repository.

AUTHORS

Programmers:

Project coordinator:

  • Robert Gérin-Lajoie

The patterns are the result of previous work done by (À COMPLÉTER!).

The code is maintained on https://github.com/scyrma/manip

(TODO) [add link to project on moodle.org!]

PRESENTATION

This Moodle question type makes it possible for teachers to evaluate a student’s ability to perform specific tasks in a (MSWord) .docx document. This is done by analysing the document using specific patterns.

A basic list of patterns is provided with this code. It is also possible for teachers to provide a specific pattern while adding a new question.

INSTALL

Copy the “manip” folder under (moodleroot)/question/type/. If you can find the question/type/manip/question.php file, the files are at the right place.

As of Auguest 2012, you must also apply a patch to correct issue MDL-34640. See http://tracker.moodle.org/browse/MDL-34640 for details. The forum post http://moodle.org/mod/forum/discuss.php?d=208009#p906877 gives some more context.

The patch (made against 2.2.4) can be found on github: https://github.com/scyrma/moodle/commit/3ffb785698844e76120a65d16225cfd306f3e508.patch

This patch is a work-in-progress and is probably still incomplete.

USAGE

(TODO)

  • create a quiz
  • add a ‘description’ question, providing the ‘template’ file, if useful.
  • create a new question, choose pattern or provide one manually
  • NOTE : all questions on the same page will be evaluated using the same file upload from the student
  • ...so questions based on different templates should be separated on distinct pages

HOW TO IDENTIFY A NEW PATTERN

(TODO - and we should probably include instructions on how to send the new patterns back to development team)