Skip to content

Maxim01U/classroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Source Code Plagiarism Detector

A tool for detecting plagiarism in student programming assignments.

Usage

This is a normal sbt project. You can compile code with sbt compile, run it with sbt run, and sbt console will start a Scala 3 REPL.

For more information on the sbt-dotty plugin, see the scala3-example-project.

Plagiarism Report

To begin, go to File -> New and select the folder containing the student submissions. Click "start" to generate a plagiarism report, which displays the similarity of each pair of programs.

To compare two programs, select one from the left table and another from the right table. This will open the Code Comparison view.

Code Comparison

The Code Comparison view highlights the similarities between the two selected programs. Click on a highlighted code fragment in the first program to see the corresponding fragment in the second program.

The plagiarism detection process works by tokenizing the source code (i.e., converting it into a sequence of tokens) and identifying the longest common matches between two submissions. Similarity is calculated by dividing the total length of the matched code segments by the combined length of both programs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages