thoriqadillah / moodle-qtype_essaysimilarity

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
https://thoriqadillah.github.io/cat-n-code/projects/essay-similarity/#demo
GNU General Public License v3.0
2 stars 3 forks source link

incorrect table name "question_answer_stats" #5

Closed danmarsden closed 1 year ago

danmarsden commented 1 year ago

all tables implemented within a plugin must use the plugin frankenstyle name as a prefix "question_answer_stats" is incorrect - it should be something like "qtype_essaysimilarity_stats"

note this is an approval blocker in the plugins db.

thoriqadillah commented 1 year ago

should I make upgrade.php to solve this issue or just edit the db name in install.xml?

danmarsden commented 1 year ago

if you have existing sites using your plugin already, you might need to write the upgrade script, but if it's your own site and you're happy to manage that manually, you won't need to write the upgrade.php script... but in futre (after the plugin lands in the moodle.org plugins db) - you would need to write an upgrade script for any changes to the database structure.