Is a moodle question type plugin that compares the similarity between student's answer and teacher's answer key using machine learning (natural language processing), and uses the similarity to auto grade the answer. The automatic grade can be manually overridden by the teacher
Changing PARAM_TEXT to PARAM_ALPHA and add clean_param() on class constructor to clean the parameter before using it on tokenizer function. With this, hopefully will prevent potential option for directory traversal attack. Thanks to @danmarsden.
This PR solve #9
Changing
PARAM_TEXT
toPARAM_ALPHA
and addclean_param()
on class constructor to clean the parameter before using it on tokenizer function. With this, hopefully will prevent potential option for directory traversal attack. Thanks to @danmarsden.This PR also update the code to solve #7