Skip to content

Commit

Permalink
chore: clean files
Browse files Browse the repository at this point in the history
  • Loading branch information
JackSCarroll committed Sep 20, 2024
1 parent 1f062ba commit 7bd0536
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 265 deletions.
263 changes: 0 additions & 263 deletions app/models/similarity/JPlag/unit_similarity_module_jplag.rb

This file was deleted.

5 changes: 3 additions & 2 deletions app/models/similarity/unit_similarity_module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ def check_similarity(force: false)
tasks = tasks_for_definition(td)
tasks_with_files = tasks.select(&:has_pdf)

# JPLAG
run_jplag_on_done_files(td, tasks_dir, tasks_with_files, unit_code)

# Skip if not due yet
next if td.due_date > Time.zone.now
Expand All @@ -60,6 +58,9 @@ def check_similarity(force: false)

# There are new tasks, check these

# JPLAG
run_jplag_on_done_files(td, tasks_dir, tasks_with_files, unit_code)

logger.debug 'Contacting MOSS for new checks'

# Create the MossRuby object
Expand Down

0 comments on commit 7bd0536

Please sign in to comment.