Skip to content

Commit

Permalink
grader: temporarily floor the total points
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Aug 16, 2024
1 parent 236a175 commit 91ada5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ private GradingResult buildResult() throws GradingException {

return new GradingResult.Builder()
.verdict(gradingVerdict.getVerdict())
.score((int) Math.round(gradingVerdict.getPoints()))
.score((int) Math.floor(gradingVerdict.getPoints()))
.details(detailsString)
.build();
}
Expand Down

0 comments on commit 91ada5f

Please sign in to comment.