General
14 min
How Code Similarity Detection Moved From Diff to Syntax Trees
I pulled 1,914 submissions from six semesters of my own courses, planted 40 known copies with realistic disguises, and ran four generations of matching technology against them. Line diff caught 11. A syntax-tree matcher caught 36. Here is what each generation of tooling actually bought us, and where the 2022 turning point left similarity detection as only half the job.