PlagiarismMatch#

class PlagiarismMatch[source]#

A single plagiarism match, this is a hunk of code that look similar.

id: int#

The id of this match.

files: Sequence[Union[BaseFile, BaseDirectory]]#

The two files that construct this match. This list always has a length of 2.

lines: Sequence[Sequence[int]]#

The lines that match in each file, item in this list (which always has a length of 2) is the start,end tuple.