Skip to content

Commit

Permalink
Fix WING-NUS#401 Wrong comparison when comparing submissions within c…
Browse files Browse the repository at this point in the history
…urrent sem
  • Loading branch information
sibinhho99 committed Jan 7, 2024
1 parent 2139308 commit c70546c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/java/PlagiarismDetection/src/pd/SimComparer.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public ArrayList<Result> compareSubmissions(
s1 = currentSemSubmissions.get(i);

for (int j = i + 1; j < currentSemSubmissions.size(); j++) {
s2 = submissions.get(j);
s2 = currentSemSubmissions.get(j);

logger.info("Start comparing submissions: {} vs {}", s1.getID(), s2.getID());
s1Tokens = s1.getCodeTokens();
Expand Down
Binary file modified lib/java/jar/PlagiarismDetection.jar
Binary file not shown.

0 comments on commit c70546c

Please sign in to comment.