From 4a0db9ea3c34d7663a039c40ce810ba9cb743cca Mon Sep 17 00:00:00 2001 From: SFisGOD Date: Thu, 1 Nov 2018 00:48:16 +0800 Subject: [PATCH 1/1] Combo Combo of two parameter tweaks and tuned values for Queen and ThreatByKing. STC LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 20180 W: 4439 L: 4198 D: 11543 http://tests.stockfishchess.org/tests/view/5bd7b8250ebc595e0ae22e97 LTC LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 86312 W: 14106 L: 13685 D: 58521 http://tests.stockfishchess.org/tests/view/5bd803560ebc595e0ae23213 This combo consists of the following: Queen Value (tuned values) Iter: 72056, A: 5000, alpha 0.602000, gamma 0.101000, clipping old, rounding deterministic param: QueenValueMg, best: 2528.91, start: 2528.00 param: QueenValueEg, best: 2687.12, start: 2698.00 ThreatByKing (tuned values) Green STC (50.8k games) http://tests.stockfishchess.org/tests/view/5bd1d5a00ebc595e0ae1cbec LTC (I stopped this test at 71.2k games. It's likely yellow.) http://tests.stockfishchess.org/tests/view/5bd263e70ebc595e0ae1d77e WeakUnopposedPawn (tweak) by xoto (https://github.com/xoto10) Green STC (102.8k games) http://tests.stockfishchess.org/tests/view/5bd306bb0ebc595e0ae1e146 Yellow LTC (90.8k games) http://tests.stockfishchess.org/tests/view/5bd3ea660ebc595e0ae1f16b aspiTune1 (tweak) by vondele (https://github.com/vondele) Green STC (125.9k games) http://tests.stockfishchess.org/tests/view/5bd2ae100ebc595e0ae1dab0 Yellow LTC (107.9k games) http://tests.stockfishchess.org/tests/view/5bd3eb700ebc595e0ae1f16f Thank you @31m059 (Mark Tenzer) for helping me! Also, thank you very much for recognizing my efforts. I genuinely appreciate it. Bench: 3556672 --- src/evaluate.cpp | 4 ++-- src/search.cpp | 2 +- src/types.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/evaluate.cpp b/src/evaluate.cpp index 8a21b0bb..daf0c1d7 100644 --- a/src/evaluate.cpp +++ b/src/evaluate.cpp @@ -167,13 +167,13 @@ namespace { constexpr Score PawnlessFlank = S( 19, 84); constexpr Score RookOnPawn = S( 10, 30); constexpr Score SliderOnQueen = S( 42, 21); - constexpr Score ThreatByKing = S( 23, 76); + constexpr Score ThreatByKing = S( 22, 78); constexpr Score ThreatByPawnPush = S( 45, 40); constexpr Score ThreatByRank = S( 16, 3); constexpr Score ThreatBySafePawn = S(173,102); constexpr Score TrappedRook = S( 92, 0); constexpr Score WeakQueen = S( 50, 10); - constexpr Score WeakUnopposedPawn = S( 5, 29); + constexpr Score WeakUnopposedPawn = S( 15, 19); #undef S diff --git a/src/search.cpp b/src/search.cpp index d98ba4e4..2678f7d5 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -388,7 +388,7 @@ void Thread::search() { if (rootDepth >= 5 * ONE_PLY) { Value previousScore = rootMoves[pvIdx].previousScore; - delta = Value(18); + delta = Value(20); alpha = std::max(previousScore - delta,-VALUE_INFINITE); beta = std::min(previousScore + delta, VALUE_INFINITE); diff --git a/src/types.h b/src/types.h index 9e0f8c3e..66be460d 100644 --- a/src/types.h +++ b/src/types.h @@ -180,7 +180,7 @@ enum Value : int { KnightValueMg = 784, KnightValueEg = 868, BishopValueMg = 828, BishopValueEg = 916, RookValueMg = 1286, RookValueEg = 1378, - QueenValueMg = 2528, QueenValueEg = 2698, + QueenValueMg = 2529, QueenValueEg = 2687, MidgameLimit = 15258, EndgameLimit = 3915 }; -- 2.39.5