Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Miguel Lahoz
Date: Sat Jul 28 07:34:37 2018 +0200 Timestamp: 1532756077 Increase the mg->eg gradient for the PawnlessFlank malus Just a change of value to S(19, 84). Also somewhat of a follow up to the recent tweak in definition of KingFlank. I tried a lot of other values before this, increasing and decreasing but with little success, and before giving up I wanted to try tweaking the middlegame and endgame values in the opposite directions. I guess this is somewhat lucky. STC: LLR: 2.94 (-2.94,2.94) [0.00,4.00] Total: 67685 W: 15399 L: 14963 D: 37323 Elo +2.24 http://tests.stockfishchess.org/tests/view/5b5b5ae80ebc5902bdb8e4f8 LTC: (Also thanks to Stephane Nicolet) LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 54635 W: 9505 L: 9172 D: 35958 Elo +2.12 http://tests.stockfishchess.org/tests/view/5b5b78f20ebc5902bdb8ece5 Closes https://github.com/official-stockfish/Stockfish/pull/1714 Bench: 4883742 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: VoyagerOne
Date: Fri Jul 27 16:23:45 2018 +0200 Timestamp: 1532701425 Simplify cmh pruning Simplify cmh pruning by removing PvNode exception STC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 9935 W: 2330 L: 2184 D: 5421 Elo +5.11 http://tests.stockfishchess.org/tests/view/5b587dc00ebc5902bdb88424 LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 20635 W: 3585 L: 3464 D: 13586 Elo +2.04 http://tests.stockfishchess.org/tests/view/5b58910a0ebc5902bdb885b9 Closes https://github.com/official-stockfish/Stockfish/pull/1711 Bench: 4905530 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Stéphane Nicolet
Date: Fri Jul 27 15:46:13 2018 +0200 Timestamp: 1532699173 Fix a compilation error for MSVC The previous commit wouldn't compile on the Microsoft Virtual Studio C++ compiler. So use a more compatible style for the same idea (which we already use in numerous places of evaluate.cpp, for instance in line 563). Under the Clang compiler, both versions generate exactly the same machine code (same md5 signatures for the two binaries). No functional change. see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Stéphane Nicolet
Date: Fri Jul 27 15:23:57 2018 +0200 Timestamp: 1532697837 Remove a popcount for HinderPassedPawn Remove a popcount for HinderPassedPawn, and compensate by doubling the bonus from S(4,0) to to S(8,0). Maybe it was pure luck, but we got the idea of this Elo gaining patch by seing the simplification attempt by Mike Whiteley in pull request #1703. This suggests that whenever we have a passed evaluation simplification, we should consider the possibility that the master bonus has become slightly out of tune with time, and we should try a few Elo gaining [0..4] tests by hand-tuning the master bonus. STC: LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 19136 W: 4388 L: 4147 D: 10601 Elo +4.38 http://tests.stockfishchess.org/tests/view/5b59be6f0ebc5902bdb8ac06 LTC: LLR: 2.96 (-2.94,2.94) [0.00,4.00] Total: 99382 W: 17324 L: 16843 D: 65215 Elo +1.68 http://tests.stockfishchess.org/tests/view/5b59d2410ebc5902bdb8afa8 Closes https://github.com/official-stockfish/Stockfish/pull/1710 Bench: 4688817 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Miguel Lahoz
Date: Fri Jul 27 10:38:20 2018 +0200 Timestamp: 1532680700 Tweak KingFlank when king is on edge files This tweak excludes files D and E from the KingFlank bitboard when our king is on the A or H files respectively. As far as I can tell, this affects two things: the calculation for CloseEnemies and PawnlessFlank. Aside from filtering out slightly less relevant attacks in the flank, I suspect this helps with king prophylaxis, avoiding attacks and moving towards the center when the pawns start to come off. STC LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 56755 W: 12881 L: 12489 D: 31385 Elo +2.40 http://tests.stockfishchess.org/tests/view/5b58a94c0ebc5902bdb88c72 LTC LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 130205 W: 22536 L: 21957 D: 85712 Elo +1.54 http://tests.stockfishchess.org/tests/view/5b58b7580ebc5902bdb89029 How to continue: Tweaking the two bonuses mentioned might give some gain, although as far as I can tell, CloseEnemies is very sensitive to even small changes. Closes https://github.com/official-stockfish/Stockfish/pull/1705 Bench: 5026009 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Jekaa
Date: Fri Jul 27 10:30:53 2018 +0200 Timestamp: 1532680253 Small reformat in evaluate threats (non functional) When evaluating threat by safe pawn and pawn push the same expression is used. STC LLR: 2.95 (-2.94,2.94) [0.00,5.00] Total: 19444 W: 4540 L: 4309 D: 10595 Elo +4.13 http://tests.stockfishchess.org/tests/view/5b5a6e150ebc5902bdb8c5c0 Closes https://github.com/official-stockfish/Stockfish/pull/1709 No functional change. -------------------- Comments by Stéphane Nicolet: I don't measure any speed-up on my system, with two parallel benches at depth 22: Total time (ms) : 74989 Nodes searched : 144830258 Nodes/second : 1931353 master Total time (ms) : 75341 Nodes searched : 144830258 Nodes/second : 1922329 testedpatch And anyway, like Stefan Geschwentner, I don't think that a 0.3% speed-up would be enough to pass a [0..5] LTC test -- as a first approximation, we have this rule of thumb that 1% speed-up gives about 1 Elo point. However, considering the facts that the reformatting by itself is interesting, that this is your first green test and that you played by the rules by running the SPRT[0..5] test before opening the pull request, I will commit the change. I will only take the liberty to change the occurrences of safe in lines 590 and 591 to b, to make the code more similar to lines 584 and 585. So approved, and congrats :-) see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: ianfab
Date: Fri Jul 27 10:16:33 2018 +0200 Timestamp: 1532679393 Fix condition for error message of signature script Use obtained bench instead of reference bench when checking for crash. No functional change. see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: protonspring
Date: Thu Jul 26 09:34:22 2018 +0200 Timestamp: 1532590462 Remove condition for pawn threats It appears as though removing squares that are already attacked by our pawns can be removed. STC LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 51242 W: 11503 L: 11440 D: 28299 Elo +0.43 http://tests.stockfishchess.org/tests/view/5b58b5a40ebc5902bdb88f52 LTC LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 35246 W: 6063 L: 5966 D: 23217 Elo +0.96 http://tests.stockfishchess.org/tests/view/5b58f8e20ebc5902bdb8959b How to continue after this patch: there is now a slight semantic overlap between the ThreatByPawnPush and the ThreatBySafePawn bonuses, so hand-tuning either of these, or both at the same time, is natural. Closes https://github.com/official-stockfish/Stockfish/pull/1702 Bench 4734881 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Stefan Geschwentner
Date: Thu Jul 26 01:29:12 2018 +0200 Timestamp: 1532561352 Rank threats on pinned pawns Add for pinned pawns half of the standard rank based threat bonus. STC: LLR: 2.97 (-2.94,2.94) [0.00,5.00] Total: 44010 W: 9987 L: 9635 D: 24388 Elo +2.78 http://tests.stockfishchess.org/tests/view/5b58aa780ebc5902bdb88c7a LTC: LLR: 2.95 (-2.94,2.94) [0.00,5.00] Total: 29475 W: 5089 L: 4847 D: 19539 Elo +2.85 http://tests.stockfishchess.org/tests/view/5b58b56c0ebc5902bdb88f37 Closes https://github.com/official-stockfish/Stockfish/pull/1701 Bench: 4503866 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Stéphane Nicolet
Date: Wed Jul 25 18:31:02 2018 +0200 Timestamp: 1532536262 Code clean-up This patch implements some idea by Alain Savard and Mike Whiteley taken from the perpertual renaming/reformatting thread. This is a pure code cleaning patch (so no change in functionality), but I use it as a pretext to correct the bogus bench number that I introduced in the previous commit. Bench: 4413383 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Stefan Geschwentner
Date: Wed Jul 25 18:02:07 2018 +0200 Timestamp: 1532534527 Tweak stat bonus Increase stat bonus by 1/32 and adjust the divisor of main and capture history tables to 10692. STC: LLR: 2.96 (-2.94,2.94) [0.00,4.00] Total: 28437 W: 6444 L: 6166 D: 15827 Elo +3.40 http://tests.stockfishchess.org/tests/view/5b579b4d0ebc5902bdb87139 LTC: LLR: 2.96 (-2.94,2.94) [0.00,4.00] Total: 111204 W: 19160 L: 18644 D: 73400 Elo +1.61 http://tests.stockfishchess.org/tests/view/5b57a7c60ebc5902bdb872d3 Closes https://github.com/official-stockfish/Stockfish/pull/1698 Bench: 4778882 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: VoyagerOne
Date: Wed Jul 25 17:55:16 2018 +0200 Timestamp: 1532534116 CounterMove History Pruning Tweak STC: (Yellow) LLR: -2.96 (-2.94,2.94) [0.00,5.00] Total: 40124 W: 8817 L: 8751 D: 22556 Elo +0.57 http://tests.stockfishchess.org/tests/view/5b5690180ebc5902bdb85c8a LTC: LLR: 2.95 (-2.94,2.94) [0.00,5.00] Total: 21599 W: 3811 L: 3599 D: 14189 Elo +3.41 http://tests.stockfishchess.org/tests/view/5b5757010ebc5902bdb86b1f Closes https://github.com/official-stockfish/Stockfish/pull/1697 Bench: 4794161 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Stefan Geschwentner
Date: Wed Jul 25 07:39:06 2018 +0200 Timestamp: 1532497146 Revert "Tweak reductions formula: 0.88 * depth + 0.12" This patch reverts the recent commit called "Tweak reductions formula, etc." The decisions for the revert decision were as follows: 1) The original commit called "Tweak reductions formula: 0.88 * depth + 0.12" showed bad scaling at in a Very Long Time Control (VLTC) test: VLTC (180+1.8): LLR: -1.59 (-2.94,2.94) [0.00,5.00] Total: 14968 W: 2247 L: 2257 D: 10464 Elo -0.23 http://tests.stockfishchess.org/tests/view/5b559ffa0ebc5902bdb84f36 2) So there was a suspicion that the original fast passing LTC test which lead us to accept the patch may have been a statistical accident, so we organized a match against the previous master at LTC to get an Elo estimate for the patch: LTC match: ELO: -1.83 +-2.1 (95%) LOS: 4.3% Total: 36018 W: 6018 L: 6208 D: 23792 Elo -1.83 http://tests.stockfishchess.org/tests/view/5b55f8110ebc5902bdb8526f 3) Based on these results, we ran a simplification test with [-3..1] bounds for the revert at LTC: LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 41501 W: 7107 L: 7020 D: 27374 Elo +0.73 http://tests.stockfishchess.org/tests/view/5b5738670ebc5902bdb86932 4) So we revert. Bench: 4491691 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: double-beep
Date: Tue Jul 24 08:39:08 2018 +0200 Timestamp: 1532414348 Slight decrease of overload value Set overload value to S(13,6) STC: LLR: 2.96 (-2.94,2.94) [0.00,4.00] Total: 27606 W: 6371 L: 6094 D: 15141 Elo +3.49 http://tests.stockfishchess.org/tests/view/5b5455840ebc5902bdb82425 LTC: LLR: 2.95 (-2.94,2.94) [0.00,4.00] Total: 112435 W: 19442 L: 18921 D: 74072 Elo +1.61 http://tests.stockfishchess.org/tests/view/5b546d4a0ebc5902bdb82741 Closes https://github.com/official-stockfish/Stockfish/pull/1694 Bench: 4937000 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Stefan Geschwentner
Date: Mon Jul 23 09:16:29 2018 +0200 Timestamp: 1532330189 Tweak reductions formula: 0.88 * depth + 0.12 Replace the depth part in the reduction formula for higher depths with a slower growing linear function. So for depth > 3 less reductions are used. What we can try next: - move the break point to even higher depths - tweak the slope for lower and higher depth - even possibly use a further higher depth threshold for a another slower growing function STC: LLR: 2.95 (-2.94,2.94) [0.00,5.00] Total: 25317 W: 5763 L: 5505 D: 14049 Elo +3.54 http://tests.stockfishchess.org/tests/view/5b54f9f70ebc5902bdb840ed LTC: LLR: 2.96 (-2.94,2.94) [0.00,5.00] Total: 7451 W: 1320 L: 1167 D: 4964 Elo +7.14 http://tests.stockfishchess.org/tests/view/5b54feeb0ebc5902bdb84244 Closes https://github.com/official-stockfish/Stockfish/pull/1692 Bench: 4617359 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Goodkov Vasiliy Aleksandrovich
Date: Mon Jul 23 00:03:05 2018 +0200 Timestamp: 1532296985 Simplify condition for ThreatByRook Remove stronglyProtected Queen for ThreatByRook. Idea is that in the current master the SliderOnQueen bonus and the see_ge() function do something similar as ThreatByRook for Queen, so this patch removes some redundancy, in that sense. STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 21878 W: 4939 L: 4818 D: 12121 Elo +1.92 http://tests.stockfishchess.org/tests/view/5b53a83b0ebc5902bdb815d1 LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 35307 W: 5979 L: 5882 D: 23446 Elo +0.95 http://tests.stockfishchess.org/tests/view/5b53b60b0ebc5902bdb8174c Close https://github.com/official-stockfish/Stockfish/pull/1690 Bench: 4834554 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: protonspring
Date: Sun Jul 22 17:59:39 2018 +0200 Timestamp: 1532275179 simplified forward ranks. This is a non-functional simplification. We change replaces an 'OR' and a lookup (rank_bb(ksq)) with a bitwise ~. This is fewer operations and is probably faster. STC LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 25441 W: 5689 L: 5575 D: 14177 Elo +1.56 http://tests.stockfishchess.org/tests/view/5b52d05a0ebc5902bdb8010e LTC LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 26904 W: 4664 L: 4553 D: 17687 Elo +1.43 http://tests.stockfishchess.org/tests/view/5b543df70ebc5902bdb8212d No functional change. see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Marco Costalba
Date: Sun Jul 22 17:55:41 2018 +0200 Timestamp: 1532274941 Slight tidy up in endgame machinery No functional change. see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Stefan Geschwentner
Date: Sun Jul 22 17:53:31 2018 +0200 Timestamp: 1532274811 Non functional LMR rewrite. see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Alain SAVARD
Date: Sat Jul 21 07:05:50 2018 +0200 Timestamp: 1532149550 Simplify the "overload" condition This is a follow-up of the previous pull request (#1686) by Miguel. We simplify the "Overload" bonus condition by re-using the "weak" variable, which captures well the essence of the overload condition. This may also be a small speed optimization because the weak variable is in a register at this point of the code. http://tests.stockfishchess.org/tests/view/5b527b440ebc5902bdb7f7db LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 10925 W: 2517 L: 2374 D: 6034 Elo +4.55 http://tests.stockfishchess.org/tests/view/5b527f930ebc5902bdb7f883 LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 15569 W: 2697 L: 2568 D: 10304 Elo +2.88 Closes https://github.com/official-stockfish/Stockfish/pull/1687 Bench: 5010472 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Miguel Lahoz
Date: Sat Jul 21 06:56:48 2018 +0200 Timestamp: 1532149008 Remove connectivity. There seems to be some strange interaction between Overload and Connectivity. Overload encourages us to not have too many defended and attacked pieces, as this may expose us to various tactics. This feels somewhat like it is in conflict with Connectivity, where pieces are defended preemptively. Here I take the "pick one or the other" approach and just remove connectivity, while strengthening the effect of Overload to compensate. The reasoning is that if we defend our pieces preemptively, then it does get attacked, we want to do something about it so we don't get penalized by Overload. On the other hand, if it doesn't get attacked, then there's no need to defend it. STC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 27734 W: 6174 L: 6064 D: 15496 Elo +1.38 http://tests.stockfishchess.org/tests/view/5b5073bd0ebc5902bdb7ba5c LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 51606 W: 8897 L: 8827 D: 33882 Elo +0.47 http://tests.stockfishchess.org/tests/view/5b50aa900ebc5902bdb7bf29 Bench: 4658006 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Stefan Geschwentner
Date: Thu Jul 19 18:27:20 2018 +0200 Timestamp: 1532017640 Better check evasion move sorting Use in addition the counter move history table for sorting quiet check evasion moves in main and quiecence search. Also rename "contHistory" to "continuationHistory" while there. STC: LLR: 2.96 (-2.94,2.94) [0.00,5.00] Total: 73284 W: 16433 L: 15938 D: 40913 Elo +2.35 http://tests.stockfishchess.org/tests/view/5b4f526e0ebc5902bdb7a401 LTC: LLR: 2.96 (-2.94,2.94) [0.00,5.00] Total: 12135 W: 2171 L: 1997 D: 7967 Elo +4.98 http://tests.stockfishchess.org/tests/view/5b4fc0ef0ebc5902bdb7ae0e Closes https://github.com/official-stockfish/Stockfish/pull/1685 Bench 4817583 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: Miguel Lahoz
Date: Wed Jul 18 08:44:45 2018 +0200 Timestamp: 1531896285 Use single value for KingProtector. After some recent big tuning session, the values for King Protector were simplified to only be used on minor pieces. This patch tries to further simplify by just using a single value, since current S(6,5) and S(5,6) are close to each other. The value S(6,6) ended up passing, although S(5,5) was also tried and failed STC. STC LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 14261 W: 3288 L: 3151 D: 7822 Elo +3.34 http://tests.stockfishchess.org/tests/view/5b4ccdf50ebc5902bdb77f65 LTC LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 19606 W: 3396 L: 3273 D: 12937 Elo +2.18 http://tests.stockfishchess.org/tests/view/5b4ce4280ebc5902bdb7803b Bench: 5448998 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: ElbertoOne
Date: Wed Jul 18 08:37:13 2018 +0200 Timestamp: 1531895833 Simplify Overload condition Extend the bonus for Overload to cases where our side has more than one attacker to a non pawn piece. Based on an idea by Bryan in the forum. For instance, now black gets the overload bonus in this position: 8/5R1k/6pb/p6p/P1N4P/1Pp5/2K3P1/2N4r b - - 6 46 because two black pieces are attacking the knight on c1 that is defended only by the king. STC LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 57446 W: 12762 L: 12711 D: 31973 Elo +0.31 http://tests.stockfishchess.org/tests/view/5b4ca9970ebc5902bdb77a88 LTC LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 42113 W: 7295 L: 7209 D: 27609 Elo +0.71 http://tests.stockfishchess.org/tests/view/5b4ccea00ebc5902bdb77f69 Bench: 4667263 see source |
Windows x64 for Haswell CPUs Windows x64 for modern computers Windows x64 Windows 32 Linux x64 for Haswell CPUs Linux x64 for modern computers Linux x64 | Author: DU-jdto
Date: Wed Jul 18 08:26:33 2018 +0200 Timestamp: 1531895193 Minor code style tweaks No functional change. see source |