General
9 min
How Code Plagiarism Detection Algorithms Ignore Renamed Variables
A student renames every variable and converts for loops to while loops. MOSS still flags 94%. This guide builds a minimal winnowing detector in Python 3.11 so you can see exactly why code plagiarism detection algorithms survive refactoring. We then look at where the approach breaks and how AST matching fills the gap.