turnitin / moodle-plagiarism_turnitin

Turnitin Plagiarism plugin for Moodle
http://www.turnitin.com
GNU General Public License v3.0
46 stars 69 forks source link

Add translated matching score checks #645

Closed ixiongtii closed 1 year ago

ixiongtii commented 1 year ago

One thing that's interesting is that all the fieldValue are strings. So if a submission has theTranslatedOverallSimilarity field name, but doesn't have an actual score to go with that, then the results give an empty string instead of null. And php will read this empty string as 0 when type-casted to an int (which it does in lib.php)