Plagiarism in code repositories presents significant challenges to academic integrity and intellectual property rights. This paper presents a hybrid plagiarism detection system that integrates Term Frequency-Inverse Document Frequency (TF-IDF) analysis with fuzzy string matching based on Levenshtein distance to identify potential code plagiarism. The system leverages the GitHub API to access and analyze code samples from public repositories. Our approach demonstrates improved detection accuracy compared to single-method approaches by combining syntactic similarity metrics with semantic analysis. Experimental results show that this integrated approach effectively identifies both direct code copying and structurally modified plagiarism attempts while minimizing false positives.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Integrating TF-IDF and Fuzzy Matching: A Robust Approach to Code Plagiarism Detection

  • Rohan Joshi,
  • Jay Darje,
  • Rishi Mishra,
  • Tejas Bhovad,
  • Saguna Ingle,
  • Dhanashri Bhosale

摘要

Plagiarism in code repositories presents significant challenges to academic integrity and intellectual property rights. This paper presents a hybrid plagiarism detection system that integrates Term Frequency-Inverse Document Frequency (TF-IDF) analysis with fuzzy string matching based on Levenshtein distance to identify potential code plagiarism. The system leverages the GitHub API to access and analyze code samples from public repositories. Our approach demonstrates improved detection accuracy compared to single-method approaches by combining syntactic similarity metrics with semantic analysis. Experimental results show that this integrated approach effectively identifies both direct code copying and structurally modified plagiarism attempts while minimizing false positives.