Remove some debug code

This commit is contained in:
Claude Brisson
2024-05-29 13:03:26 +02:00
parent 6ae5b47121
commit c6a898f8dc

View File

@@ -17,8 +17,6 @@ import java.text.DecimalFormat
import java.util.* import java.util.*
import kotlin.math.* import kotlin.math.*
val logger = LoggerFactory.getLogger("debug")
sealed class BaseSolver( sealed class BaseSolver(
round: Int, round: Int,
totalRounds: Int, totalRounds: Int,
@@ -89,13 +87,6 @@ sealed class BaseSolver(
pairingSortedPairables.remove(ByePlayer) pairingSortedPairables.remove(ByePlayer)
} }
if (round == 4) {
logger.info("@@@@@ Round 4 @@@@@")
for (p in sortedPairables) {
logger.info("#${p.id} ${p.name} ${scores[p.id]?.first} ${scores[p.id]?.second} ${p.sos}")
}
}
for (i in nameSortedPairables.indices) { for (i in nameSortedPairables.indices) {
for (j in i + 1 until nameSortedPairables.size) { for (j in i + 1 until nameSortedPairables.size) {
val p = nameSortedPairables[i] val p = nameSortedPairables[i]