Skip to content

Commit

Permalink
Fix a bug where the basecode submission was not normalized (#1827)
Browse files Browse the repository at this point in the history
* Fix a bug where the basecode submission was not normalized.
* Only normalize basecode submission if it actually exists.
  • Loading branch information
tsaglam authored Jun 25, 2024
1 parent 6d21258 commit 659cf31
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/src/main/java/de/jplag/SubmissionSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ public List<Submission> getInvalidSubmissions() {
}

public void normalizeSubmissions() {
if (baseCodeSubmission != null) {
baseCodeSubmission.normalize();
}
ProgressBarLogger.iterate(ProgressBarType.TOKEN_STRING_NORMALIZATION, submissions, Submission::normalize);
}

Expand Down

0 comments on commit 659cf31

Please sign in to comment.