hfurubotten / autograder

Automatic management and build tool for lab assignments. Moved to organization autograde: https://github.com/autograde
https://github.com/autograde
Other
14 stars 7 forks source link

ci: add support for simple cheat detection #22

Open meling opened 9 years ago

meling commented 9 years ago

The CI should run a simple cheat detection using some form of diff on relevant files submitted by different users/groups.

The algorithm can be implemented in Go as follows:

  1. Load the submitted Go file to check into a slice.
  2. For each other already submitted (corresponding) Go file from other users/groups
    1. Run a diff tool and get a statistic on the number of matching lines or something??

Here are some relevant tools that we could use: