General
12 min
Building a Token-Based Code Similarity Checker in Python
A working build guide to the similarity pipeline behind most academic code checks: tokenization, k-gram fingerprinting, winnowing, and AST shape comparison in roughly 300 lines of Python. Includes the threshold calibration table we used across six assignments and an honest account of where a homegrown checker stops being enough.