PlagiarismRun

class PlagiarismRun[source]

The way this class will be represented in JSON.

id: int

The id of the run.

state: PlagiarismState

The state this run is in.

submissions_done: int | None

The amount of submissions that have finished the current state.

submissions_total: int | None

The total amount of submissions connected to this run.

provider_name: str

Which provider is doing this run.

config: Any

The config used for this run.

created_at: datetime

The time this run was created.

assignment: Assignment

The assignment this run was done on.

assignments: Mapping[str, PlagiarismRunAssignment]

A mapping between assignment id and the assignment for each assignment that is connected to this run. These are not (!) full assignment objects, but only contain the name and id.

courses: Mapping[str, PlagiarismRunCourse]

The mapping between course id and the course for each course that is connected to this run. These are not (!) full course object, but contain only the name, id and if the course is virtual.

cases_dropped: bool

If we found more matches than the maximum allowed (i.e. matches were dropped) this value is set to True.