Matching fingerprint Unique fingerprint

Code Fingerprint Winnowing Diagram (2D)

Automated code checkers in AI-driven education platforms don't diff raw text β€” they tokenize submissions by grammatical role, hash overlapping k-grams, and keep only local-minimum hashes via the winnowing algorithm, then compare the resulting fingerprint sets with a Jaccard index. This 2D simulator draws two code submissions as two draggable, zoomable rows of coloured tokens with a sweeping scan window and gold arcs linking every matching fingerprint, and pairs that with a second panel plotting the raw k-gram hash values themselves β€” the literal curve winnowing slides its window across to pick out local minima. Choose how submission B was derived from A (identical copy, renamed variables, reordered blocks, or a full rewrite), then watch both panels update live together with the similarity score, matching-fingerprint count, and token counts on each side.