#cheat #checker #optimization #strsim

app cheat_checker

Detects similarities between sets of files

8 stable releases

2.5.1 Mar 14, 2023
2.4.0 Mar 11, 2023
2.3.0 Feb 27, 2023
1.0.1 Feb 15, 2023
Download history 41/week @ 2023-02-09 56/week @ 2023-02-16 41/week @ 2023-02-23 5/week @ 2023-03-02 45/week @ 2023-03-09 27/week @ 2023-03-16

122 downloads per month

GPL-3.0 license

194 lines


Detects similarities between sets of files, intended to detect academic dishonesty.


  1. Install rust, either directly through your system's package manager, or by installing rustup and running rustup install stable.
  2. Run cargo install cheat_checker.
  3. Done! Run 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.


~308K SLoC