thefuzz
andrapidfuzz
for comparing tokens by ratios.copydetect
for comparing files structurally.
- Ensure you have a Python installed on your device.
It could be any version, but for safety precautions, around version
3.10
to3.13
should be more than enough...
- Install all the necessary dependencies:
pip install -r requirements.txt
- Prepare some files (locally), independent from any file formats.
Make sure at least TWO (2) files are available on your current directory or anywhere else, since the comparison took at least TWO (2) files, or more...
- Modifying the
TRANSFORMATION_FACTOR
orLEAST_PLAGIARISM
variable inside theCONFIGURATIONS.cfg
file.
Defaults both to:
0.8
and30.00%
respectively. See inside of the configuration file for more detailed explanation on what to modify...
-
Fill in the file path(s) into the source code, located at
./static/src/PlagCheck_NUE.py
, seek to a variable namedPrograms
(currently sitting at line77
), and insert all of your necessities. -
Run the program, and wait for the comparison and listing ended. After that, go to the outer directory for
PlagiTrack
and see the results on a separate folder, namely./caches
.
-
Currently, the plagiarism checking is available for local devices only, and waiting to be integrated into the main website for
PlagiTrack
in the future by@tak2tahu
. -
Current algorithm for plagiarism checking (tokenizations and comparing for each tokens by ratios) by
@EintsWaveX
is now limited to only tokens of each code program, listed inside the variableProgam
(see Installation and Usage, No. 5), and from@tak2hu
will use the algorithm for comparing files by structures/similarities, usingcopydetect
library. -
The plagiarism checking result is ranging between
0.00%
to100.00%
, but for the sake of "NOT GETTING ALMOST EVERY PRACTITIONERS INTO PLAGIARISM" (since the C-syntax is just always like that),@EintsWaveX
use theTransformation Formula
to reduces mid-range scores without significantly altering extreme values (high or low scores).
See https://chatgpt.com/share/674a2c4e-dffc-800b-ad66-976ccb00bb3b for more detailed information.