Skip to content

Commit

Permalink
feat(sql-checker): divide distance by 50 and round
Browse files Browse the repository at this point in the history
  • Loading branch information
Zitrone44 committed Dec 9, 2024
1 parent 5e79525 commit a1cbece
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class SqlCheckerRemoteCheckerService(@Value("${services.masterRunner.insecure}")
}
if (query.distance.isPresent) {
hints ++= "Distanz zur nächstens Musterlösung: "
hints ++= query.distance.get.toString
hints ++= Math.round(query.distance.get / 50).toString
hints ++= "\n"
}
if (sci.showExtendedHints && sci.showExtendedHintsAt <= attempts) {
Expand Down

0 comments on commit a1cbece

Please sign in to comment.