Crates.io | cheat_checker |
lib.rs | cheat_checker |
version | 2.7.0 |
source | src |
created_at | 2023-02-15 03:15:14.769754 |
updated_at | 2024-02-14 10:45:48.864605 |
description | Detects similarities between sets of files |
homepage | |
repository | https://github.com/typecasto/cheat_checker |
max_upload_size | |
id | 785486 |
size | 57,346 |
Detects similarities between sets of files, intended to detect academic dishonesty.
rustup
and running rustup install stable
.cargo install cheat_checker
.cheat_checker --help
for usage instructions.Yeah, it's quite slow. The reason for making this was mostly the UX, not the speed, but I did try to optimize it. I did some benchmarks, and it turns out the python-Levenshtein
library for python is about 16 times faster than eddie
(which is what this program uses) and strsim
. It's written in C or C++, and pretty arcane C/C++ at that. I did what I could and added some multithreading, but on my 4-core laptop, it's still about 8 times slower than using python-Levenshtein
single-threaded.
Heavily inspired by copy_checker. Licensed under the GNU General Public License V3.0.