jcrodriguez-dis / moodle-mod_vpl

Virtual Programming Lab for Moodle (Module)
GNU General Public License v3.0
100 stars 87 forks source link

Php - Similarity does not function #156

Closed itsguysmiley closed 11 months ago

itsguysmiley commented 1 year ago

Please add to similarity/similarity_factory_class.php the key/value 'php' => 'cpp' so that submitted php files can be processed correctly. It's tested already and works great!

jcrodriguez-dis commented 1 year ago

Dear @itsguysmiley,

Thank you for your insightful suggestion. We appreciate your contribution to enhancing the capabilities of our Virtual Programming Lab (VPL).

We are pleased to inform you that we will proceed with implementing the use of the C++ similarity engine for processing PHP files. It is noteworthy that as of VPL version 4.1, we have already modified the underlying architecture to include a base engine for tokenizers that encompasses C++. Therefore, leveraging the C++ similarity engine for PHP submissions is feasible and will not compromise data integrity.

We will incorporate this modification in our next release, as a workaround for the absence of a native PHP similarity engine. Best regards, Juan Carlos.