From: SFisGOD Date: Mon, 4 Nov 2019 19:06:41 +0000 (+0800) Subject: Rook PSQT Tuned X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=3804effb341b3008326a1613923177eb83d02826 Rook PSQT Tuned This patch uses about half the changes of the SPSA tuning run: http://tests.stockfishchess.org/tests/view/5dba93d30ebc5925b64ed3bf About a month ago, xoto10's patch raised the mg value of the third rank center files from -1 to 7 to encourage rook lifts to the third rank. About three days later, Rocky's patch lowered this value from 7 to 3. This patch raises that again from 3 to 12 and ends up greater than the original rook lift patch. Passed STC: LLR: 2.95 (-2.94,2.94) [-1.50,4.50] Total: 104094 W: 22573 L: 22161 D: 59360 http://tests.stockfishchess.org/tests/view/5dbc77f20ebc5925b64ef1d0 Passed LTC: LLR: 2.96 (-2.94,2.94) [0.00,3.50] Total: 168291 W: 27410 L: 26777 D: 114104 http://tests.stockfishchess.org/tests/view/5dbd9f1e0ebc5925b64f0647 Bench: 4707799 --- diff --git a/src/psqt.cpp b/src/psqt.cpp index 60d17ad2..6469c43a 100644 --- a/src/psqt.cpp +++ b/src/psqt.cpp @@ -59,14 +59,14 @@ constexpr Score Bonus[][RANK_NB][int(FILE_NB) / 2] = { { S(-48,-46), S( 1,-42), S(-14,-37), S(-23,-24) } }, { // Rook - { S(-31, -9), S(-20,-13), S(-14,-10), S(-5, -9) }, - { S(-21,-12), S(-13, -9), S( -8, -1), S( 6, -2) }, - { S(-25, 6), S(-11, -8), S( -1, -2), S( 3, -6) }, - { S(-13, -6), S( -5, 1), S( -4, -9), S(-6, 7) }, - { S(-27, -5), S(-15, 8), S( -4, 7), S( 3, -6) }, - { S(-22, 6), S( -2, 1), S( 6, -7), S(12, 10) }, - { S( -2, 4), S( 12, 5), S( 16, 20), S(18, -5) }, - { S(-17, 18), S(-19, 0), S( -1, 19), S( 9, 13) } + { S(-26, -7), S(-19,-15), S( -8,-10), S(-1,-10) }, + { S(-21,-19), S(-24, -7), S( -6, 0), S( 5, -1) }, + { S(-29, -1), S(-20, -4), S( 6, 8), S(12,-19) }, + { S(-14, -1), S( -1, -3), S(-12, -8), S(-7, 10) }, + { S(-37, 1), S( -6, 13), S( 0, 14), S(10, 4) }, + { S(-16, 9), S( -1, 15), S( 4, -8), S( 1, 16) }, + { S( -1, 2), S( 10, 4), S( 13, 23), S(23, -4) }, + { S( -2, 21), S(-21, -3), S( 4, 26), S(-1, 20) } }, { // Queen { S( 3,-69), S(-5,-57), S(-5,-47), S( 4,-26) },