From 8a9c298deeee372251d95c867f877a7ac3a7c3fb Mon Sep 17 00:00:00 2001 From: SFisGOD Date: Sat, 10 Nov 2018 15:03:15 +0800 Subject: [PATCH 1/1] Rook PSQT Tuned Failed STC (Yellow ) LLR: -2.96 (-2.94,2.94) [0.00,4.00] Total: 56302 W: 12007 L: 11953 D: 32342 http://tests.stockfishchess.org/tests/view/5be69d210ebc595e0ae3185b Passed 1st LTC (Green) LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 8745 W: 1480 L: 1301 D: 5964 http://tests.stockfishchess.org/tests/view/5be682960ebc595e0ae31818 Failed 2nd LTC (Red) LLR: -2.96 (-2.94,2.94) [0.00,4.00] Total: 19398 W: 3040 L: 3133 D: 13225 http://tests.stockfishchess.org/tests/view/5be69b840ebc595e0ae31856 Passed 3rd LTC (Green) LLR: 2.96 (-2.94,2.94) [0.00,4.00] Total: 107516 W: 17342 L: 16858 D: 73316 http://tests.stockfishchess.org/tests/view/5bea879a0ebc595e0ae34d80 Closes https://github.com/official-stockfish/Stockfish/pull/1809 How to continue from there? The values in the rook table now look a bit strange for a human eye and are hard to explain, maybe it would be nice to simplify them by hand and see if we can pass another (clean) double green with a more regular array. Bench: 3188070 --- src/psqt.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/psqt.cpp b/src/psqt.cpp index c9065cbe..363a8601 100644 --- a/src/psqt.cpp +++ b/src/psqt.cpp @@ -67,14 +67,14 @@ constexpr Score Bonus[][RANK_NB][int(FILE_NB) / 2] = { { S(-47,-55), S( -7,-32), S(-17,-36), S(-29,-17) } }, { // Rook - { S(-25, 0), S(-16, 0), S(-10, 5), S( 6, 5) }, - { S(-21, 0), S( -8, 0), S( -3, 0), S( 0, 0) }, - { S(-21, 0), S( -9, 0), S( -4, 0), S( 2, 0) }, - { S(-22, 0), S( -6, 0), S( -1, 0), S( 2, 0) }, - { S(-22, 0), S( -7, 0), S( 0, 0), S( 1, 0) }, - { S(-21, 0), S( -7, 0), S( 0, 0), S( 2, 0) }, - { S(-12, 0), S( 4, 0), S( 8, 0), S(12, 0) }, - { S(-23, 0), S(-15, 0), S(-11, 0), S(-5, 0) } + { S(-24, 0), S(-15, 3), S( -8, 0), S( 0, 3) }, + { S(-18,-7), S( -5,-5), S( -1,-5), S( 1,-1) }, + { S(-19, 6), S(-10,-7), S( 1, 3), S( 0, 3) }, + { S(-21, 0), S( -7, 4), S( -4,-2), S(-4, 1) }, + { S(-21,-7), S(-12, 5), S( -1,-5), S( 4,-7) }, + { S(-23, 3), S(-10, 2), S( 1,-1), S( 6, 3) }, + { S(-11,-1), S( 8, 7), S( 9,11), S(12,-1) }, + { S(-25, 6), S(-18, 4), S(-11, 6), S( 2, 2) } }, { // Queen { S( 0,-71), S(-4,-56), S(-3,-42), S(-1,-29) }, -- 2.39.2