A simple program that checks code submissions for possible cheating attempts among the submitted codes.
It's written in Python 3 using PyQt5 and is licensed under the MIT license.
The user specifies the folder where all the code files are located.
The program then runs through them and cleans the code from the following:
- Code outside the main function
- Spaces and new lines
- Variable names
Then it compares all cleaned code strings against each other,
and lists them starting from the most similar ones.
Download the latest compiled "exe" file from Releases.
Or download the source code and follow the steps below to run it.
-
Install all packages required for this application using this command:
pip install -r requirements.txt
-
After applying changes to the application layout (using QT Designer), run this command:
pyuic5 checker.ui -o layout.py
-
To run the application directly through Python, simply use this command:
python main.py
-
To convert the application into an "exe" executable, use this command (find .exe in dist/ folder):
pyinstaller --clean -F -w main.py -i checker.ico --add-data="checker.ico;." -n cheatchecker