~/talk

Copy-Paste Detector for 150+ Languages on JavaScript

TalkinRussianat OdessaJS 2018 · on Saturday, 2018-07-07· [javascript, machine-learning]
slides:none on file

A JavaScript tool detects copy‑paste across files by tokenizing code (using CodeMirror for 150+ languages), filtering comments/noise, and hashing sliding windows of tokens with Rabin‑Karp substring hashing to find matches. It reports duplicate file/line snippets, integrates with CI systems (including Jenkins and XML/HTML reports), attributes lines via git blame, and is distributed as an npm package with ~200k downloads last year.

AI-written summary · about

  1. 0:00Introduction
  2. 3:38Copy-paste tools problems
  3. 6:08Robin-Karp for duplicates
  4. 8:55App architecture for search
  5. 11:43Token service for languages
  6. 13:51Using syntax parsers
  7. 16:25CodeMirror for 150+ languages
  8. 18:14Development status
  9. 20:26Usage stats and community
  10. 21:30Report features
  11. 23:00Future improvements
  12. 27:10Ignoring code blocks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.