From 6a74c80ac6e965045873a7db0bf951b6dd7f7503 Mon Sep 17 00:00:00 2001 From: Claude Brisson Date: Fri, 22 Dec 2023 17:26:10 +0100 Subject: [PATCH] Review default handicap params for Mac Mahon --- .../src/main/kotlin/org/jeudego/pairgoth/model/Pairing.kt | 7 ++++++- 1 file changed, 6 insertions(+), 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 f29d9d2..250049d 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 @@ -176,7 +176,12 @@ class MacMahon( geo = GeographicalParams( avoidSameGeo = MainCritParams.MAX_SCORE_WEIGHT ), - handicap = HandicapParams() + handicap = HandicapParams( + weight = MainCritParams.MAX_SCORE_WEIGHT, + useMMS = true, + rankThreshold = -20, + ceiling = 9 + ) ), placementParams: PlacementParams = PlacementParams( Criterion.NBW, Criterion.SOSW, Criterion.SOSOSW