Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented Automate Plagiarism / Copy Detection (#1285)
* Implemented Automate Plagiarism / Copy Detection #1177 * Refine PR Workflow Trigger As suggested by @samdev-7 in issue #1177 , the filter has been implemented to trigger the PR only when changes occur within the 'games' folder. * Refine PR Workflow Trigger As suggested by @samdev-7 in issue #1177 , the filter has been implemented to trigger the PR only when changes occur within the 'games' folder. * Auto format + Added Support To Prettier As @grymmy commented on #1177 , have added support to Prettier and formatted document. * Implemented fast-diff on PlagarismChecker as @grymmy talked on #1177 , we are now using package fast-diff to check for Plagiarism. and we also added those packages. * install dependencies on workflow * Fix PreprocessCode * Few fix and try catch * adding logs to understand the problem * added async and await * more async * Improved PlagiarismChecker Improved time by only filtering original code, the old one was trimming from gallery code to. Improved CalculateSimilarity to ignore whitespace and now also show context on what is being flagged (can be used both by sprig reviewer and me for debug) improved the output file for more context * Adding Logs For Debbuging * Added Context Added a log that shows both % + context meaning/word so we can see which one is being flagged wrong. * Testing Lowering Threshold * few improve * more filter * more filter? * Removed fast-diff | Implement line by line check * Impliment line by line system * Remove fast-diff , fix string error * debug * preprocessCode fixed! * moving to 0% for debug purpose * add fast-levenshtein for complex plagarsim * Implement token based plagarsim * Implementing Compare50 * checking path dir * path issue * compare50 auto creates , making this crash! fixed! * adding more filter * Update plagiarism_check.py * Update plagiarism_check.py * Update plagiarism_check.py * Update plagiarism_check.py * Update plagiarism_check.py * Update plagiarism_check.py * test * Update plagiarism_check.py * Update plagiarism_check.py * Update plagiarism_check.py * Update plagiarism_check.py * Update plagiarism_check.py * Update plagiarism_check.py * fix * test * Update plagiarism_check.py * Update plagiarism_check.py * Update plagiarism_check.py * removing dir before running new one * add passes to only get information needed * Extracting usefull data from compare50 * added log as there is no output * extract data from html * Update check_plagiarism.yml * filter plagiarism highest to lowest * post result after getting result * name syntax error * show only filtered result on comment * Implemented Automate Plagiarism / Copy Detection #1177 * Cleaning PR * Remove Prettier * Remove Prettier from yarn.lock
- Loading branch information
ed096cf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
sprig – ./
sprig-git-main-gamer.vercel.app
sprig.vercel.app
sprig-gamer.vercel.app