From d91eb5407db845e7f97b30e3cc7c4822796ad415 Mon Sep 17 00:00:00 2001 From: Quentin Rendu Date: Thu, 6 Mar 2025 16:08:18 +0100 Subject: [PATCH] Reduce default value of balanceWBweight to 1e3 (was 1e6) --- .../src/main/kotlin/org/jeudego/pairgoth/model/Pairing.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-webapp/src/main/kotlin/org/jeudego/pairgoth/model/Pairing.kt b/api-webapp/src/main/kotlin/org/jeudego/pairgoth/model/Pairing.kt index 53489b9..347e76c 100644 --- a/api-webapp/src/main/kotlin/org/jeudego/pairgoth/model/Pairing.kt +++ b/api-webapp/src/main/kotlin/org/jeudego/pairgoth/model/Pairing.kt @@ -16,7 +16,7 @@ data class BaseCritParams( val dupWeight: Double = MAX_AVOIDDUPGAME, val random: Double = 0.0, val deterministic: Boolean = true, - val colorBalanceWeight: Double = MAX_COLOR_BALANCE, + val colorBalanceWeight: Double = MAX_COLOR_BALANCE/1000, // reduce default value to 1e3 (to avoid split bug) val byeWeight: Double = MAX_BYE_WEIGHT // This weight is not in opengotha ) { init {