Stockfish 7 progress

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

clumma
Posts: 186
Joined: Fri Oct 10, 2014 10:05 pm
Location: Berkeley, CA

Stockfish 7 progress

Post by clumma »

I'm always curious what might be learned from Stockfish's progress. Is it just accumulation of many small improvements, or are some changes more important than others?

This graph by Stefan Pohl makes Elo progress from SF6 to SF7 look non uniform, with a large bump in October

Image

Does anyone know which changes these were?

-Carl
User avatar
lucasart
Posts: 3232
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: Stockfish 7 progress

Post by lucasart »

Below is the list of all functional changes (ie. excluding cosmetic patches) since SF6.

As usual, small streams make big rivers: no, there is no earth shattering patch that reinvents computer chess theory, just incremental tweaks.

The only really significant change is the rewrite of SMP in a simpler, and surprisingly more efficient way, so called lazy SMP. Congratulation to mbootsector for doing all the hard work.

Code: Select all

commit 74e2fa97b7ce49722b908f35988f3c75dee9bf36
Author&#58; Stefano80 <stefano.cardanobile@gmail.com>
Date&#58;   Wed Jan 13 16&#58;05&#58;31 2016 +0000

    Adjust reductions based on history and cmh tables
    
    STC&#58;
    LLR&#58; 4.06 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 149395 W&#58; 28029 L&#58; 27208 D&#58; 94158
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 9628 W&#58; 1368 L&#58; 1217 D&#58; 7043
    
    bench&#58; 8076724
    
    Resolves #565

commit aa31f7f096adef50fe119b41d4e7834c41fec310
Author&#58; lucasart <lucas.braesch@gmail.com>
Date&#58;   Sat Jan 2 09&#58;10&#58;12 2016 +0800

    Retire CenterBind
    
    And compensate in the PSQT.
    
    STC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 27714 W&#58; 5161 L&#58; 5052 D&#58; 17501
    
    LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 36354 W&#58; 5008 L&#58; 4909 D&#58; 26437
    
    Bench&#58; 8603285
    
    Resolves #556

commit 1de97337c2d53bdff0f1c3f362d232028ef736a5
Author&#58; Alain SAVARD <support@multicim.com>
Date&#58;   Sun Jan 3 14&#58;15&#58;29 2016 +0000

    Fine tuning of unsupported pawn penalty
    
    Adjust the unsupported pawn penalty when the pawn is supporting 2 pawns
    &#40;for example g7 in f6-g7-h6&#41;
    
    Passed STC
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 23833 W&#58; 4384 L&#58; 4158 D&#58; 15291
    
    Passed LTC
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 42711 W&#58; 5918 L&#58; 5655 D&#58; 31138
    
    Bench&#58; 8390233
    
    Resolves #549

commit dd9cf305816c84c2acfa11cae09a31c4d77cc5a5
Author&#58; Joona Kiiski <joona@zoox.com>
Date&#58;   Sat Jan 2 20&#58;26&#58;02 2016 +0000

    Stockfish 7
    
    Bench&#58; 8355485
    
    No functional change

commit 7cafbab529bbba596a47af1d1ee7495599c1eaea
Author&#58; Joona Kiiski <joona@zoox.com>
Date&#58;   Wed Dec 30 11&#58;32&#58;45 2015 +0000

    Stockfish 7 Beta 2
    
    Bench&#58; 8355485
    
    No functional change

commit a5c76d69c346d620b6f7a300d4a33cc5867f4d64
Author&#58; Joona Kiiski <joona@zoox.com>
Date&#58;   Sun Dec 27 19&#58;35&#58;48 2015 +0000

    Stockfish 7 Beta 1
    
    Bench&#58; 8355485
    
    No functional change

commit da34023cfcb856e95d8cbc0b80653ab0ee6af6d6
Author&#58; Alain SAVARD <support@multicim.com>
Date&#58;   Tue Dec 22 10&#58;00&#58;04 2015 +0000

    New mobility bonus
    
    Tuned the global mobility factor for each piece, as well as some +- delta,
    
    The master mobility factor was &#123;266,334&#125; and tuning gave
    &#123;267, 362&#125; +S&#40;-2,-2&#41; for the Knight
    &#123;249, 328&#125; +S&#40; 0,-2&#41; for the Bishop
    &#123;298, 353&#125; +S&#40;1,1&#41; for the Rook
    &#123;265, 358&#125; +S&#40;2,-1&#41; for the Queen
    
    Passed STC
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 49402 W&#58; 9367 L&#58; 9037 D&#58; 30998
    
    and LTC
    LLR&#58; 2.97 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 26831 W&#58; 3871 L&#58; 3658 D&#58; 19302
    
    Bench&#58; 8355485
    
    Resolves #536

commit ed72a1e9ba37a9fa2674da8f46bb0597a1721c2d
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Sat Dec 19 15&#58;58&#58;45 2015 -0500

    Remove killer move conditions from LMR
    
    STC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 8459 W&#58; 1619 L&#58; 1477 D&#58; 5363
    
    LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 32239 W&#58; 4404 L&#58; 4299 D&#58; 23536
    
    Bench&#58; 7597031
    
    Resolves #534

commit 38adb487ca37f276674d04e92dd3213f4d47cf72
Author&#58; Guenther Demetz <guenther.demetz@wuerth-phoenix.com>
Date&#58;   Fri Dec 18 21&#58;55&#58;07 2015 +0000

    Distinct iteration paths for Lazy SMP threads
    
    STC 5+0.1, threads 7
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 6026 W&#58; 1047 L&#58; 901 D&#58; 4078
    
    LTC&#58; 20+0.2, threads 7
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 19739 W&#58; 2910 L&#58; 2721 D&#58; 14108
    
    STC 5+0.1, threads 20
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 2493 W&#58; 462 L&#58; 331 D&#58; 1700
    
    LTC 30+0.3, threads 20
    ELO&#58; 8.86 +-3.7 &#40;95%) LOS&#58; 100.0%
    Total&#58; 8000 W&#58; 1076 L&#58; 872 D&#58; 6052
    
    Bench&#58; 8012530
    
    Resolves #525

commit 9fac5774f414ec4a2e86c6b0306f07de427cd5db
Author&#58; Alain SAVARD <support@multicim.com>
Date&#58;   Mon Dec 14 18&#58;04&#58;20 2015 +0000

    Threats retuned
    
    STC&#58;
    
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 45239 W&#58; 8913 L&#58; 8591 D&#58; 27735
    
    LTC&#58;
    
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 21046 W&#58; 3200 L&#58; 2989 D&#58; 14857
    
    Bench&#58; 8012530
    
    Resolves #526

commit 8315620522dd268755f32be792802abb62f7366f
Author&#58; absimaldata <adpq11@gmail.com>
Date&#58;   Wed Dec 2 01&#58;27&#58;05 2015 +0530

    New Tuned Weights
    
    More accurate evaluation weights
    
    Performed better at STC
    
    LLR&#58; 1.32 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 190043 W&#58; 37433 L&#58; 36675 D&#58; 115935
    
    Passed LTC
    
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 30157 W&#58; 4540 L&#58; 4303 D&#58; 21314
    
    Bench&#58; 9264977
    
    Resolves #515

commit 5a42427cb882f8adcfe65d41f4fabac5d2ac4a5b
Author&#58; Stéphane Nicolet <cassio@free.fr>
Date&#58;   Thu Nov 26 10&#58;15&#58;51 2015 +0100

    Introduce new Threats weights = &#123;350, 256&#125;
    
    Raise the midgame threats weight by 37%.
    
    Passed STC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 8165 W&#58; 1675 L&#58; 1487 D&#58; 5003
    
    and LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 28181 W&#58; 4141 L&#58; 3912 D&#58; 20128
    
    Bench&#58; 7824961
    
    Resolves #512

commit 07e0741dfbca07097f38e46f3f7752b48675a515
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Sun Nov 15 20&#58;38&#58;01 2015 -0800

    History Pruning&#58; Don't prune the main killer move.
    
    Also increased pruned depth to 4.
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 23380 W&#58; 4581 L&#58; 4350 D&#58; 14449
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 28934 W&#58; 4329 L&#58; 4105 D&#58; 20500
    
    Bench&#58; 8369743
    
    Resolves #498

commit cccf3c815c2f2be884fac4248a2be91b6823df8a
Author&#58; Stefan Geschwentner <stgeschwentner@gmail.com>
Date&#58;   Sat Nov 14 06&#58;30&#58;50 2015 -0800

    Bonus for reachable outpost
    
    Give a bonus for outpost squares which in reach of a bishop or knight.
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 22725 W&#58; 4570 L&#58; 4339 D&#58; 13816
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 15019 W&#58; 2333 L&#58; 2157 D&#58; 10529
    
    Bench&#58; 8503181
    
    Resolves #495

commit 9c9205860c5ab0e4f3180298e3f7082be259772c
Author&#58; Marco Costalba <mcostalba@gmail.com>
Date&#58;   Tue Nov 3 11&#58;15&#58;14 2015 +0100

    Get rid of timer thread
    
    Unfortunately std&#58;&#58;condition_variable&#58;&#58;wait_for&#40;)
    is not accurate in general case and the timer thread
    can wake up also after tens or even hundreds of
    millisecs after time has elapsded. CPU load, process
    priorities, number of concurrent threads, even from
    other processes, will have effect upon it.
    
    Even official documentation says&#58; "This function may
    block for longer than timeout_duration due to scheduling
    or resource contention delays."
    
    So retire timer and use a polling scheme based on a
    local thread counter that counts search&#40;) calls and
    a small trick to keep polling frequency constant,
    independently from the number of threads.
    
    Tested for no regression at very fast TC 2+0.05 th 7&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 32969 W&#58; 6720 L&#58; 6620 D&#58; 19629
    
    TC 2+0.05 th 1&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 7765 W&#58; 1917 L&#58; 1765 D&#58; 4083
    
    And at STC TC, both single thread
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 15587 W&#58; 3036 L&#58; 2905 D&#58; 9646
    
    And with 7 threads
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 8149 W&#58; 1367 L&#58; 1227 D&#58; 5555
    
    bench&#58; 8639247

commit aa242d2f84eaf2307f34d5356079125eaf5ff26a
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Fri Oct 30 16&#58;39&#58;21 2015 -0400

    New History Bonus Formula
    
    bonus = d^2 + d - 1
    
    Bench&#58; 8639247
    
    Resolves #484

commit 55758344d3ccf49353bcd8f3a06a4553ff1b753a
Author&#58; Alain SAVARD <support@multicim.com>
Date&#58;   Sun Oct 18 22&#58;17&#58;37 2015 -0400

    Simplify threats
    
    Using less parameters and code to compute Threats
    Includes also a few spacing edits.
    
    Run as a simplification.
    
    Passed STC 10+0.1
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 18879 W&#58; 3725 L&#58; 3600 D&#58; 11554
    
    Passed LTC 60+0.4
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 74116 W&#58; 11001 L&#58; 10958 D&#58; 52157
    
    bench&#58; 8004751

commit 4eca981e557704f4ce3db829adf380b8fc058926
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Wed Oct 21 18&#58;21&#58;23 2015 -0400

    History pruning
    
    Prune moves with negative History
    and CMH scores at low depth.
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 24182 W&#58; 4672 L&#58; 4439 D&#58; 15071
    
    LTC&#58;
    LLR&#58; 2.97 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 12579 W&#58; 1959 L&#58; 1792 D&#58; 8828
    
    bench&#58; 8907701

commit 328d314f2faa128f6bed32e334190cdaed62d9bc
Author&#58; Stefano80 <stefano.cardanobile@gmail.com>
Date&#58;   Tue Oct 20 19&#58;46&#58;06 2015 -0700

    Almost passed tuning attempts
    
    Collect and give a second try to some almost passed tuning attempts and
    one-line tweaks from the last month.
    
    Passed STC
    
    LLR&#58; 3.07 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 15124 W&#58; 2974 L&#58; 2756 D&#58; 9394
    
    And LTC
    
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 21577 W&#58; 3507 L&#58; 3289 D&#58; 14781
    
    Bench&#58; 8855226
    
    Resolves #464

commit ecc5ff6693f116f4a8ae5f5080252f29b279c0a1
Author&#58; mbootsector <mbootsector@gmail.com>
Date&#58;   Tue Oct 6 08&#58;15&#58;17 2015 +0200

    Lazy SMP
    
    Start all threads searching on root position and
    use only the shared TT table as synching scheme.
    
    It seems this scheme scales better than YBWC for
    high number of threads.
    
    Verified for nor regression at STC 3 threads
    LLR&#58; -2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 40232 W&#58; 6908 L&#58; 7130 D&#58; 26194
    
    Verified for nor regression at LTC 3 threads
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 28186 W&#58; 3908 L&#58; 3798 D&#58; 20480
    
    Verified for nor regression at STC 7 threads
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 3607 W&#58; 674 L&#58; 526 D&#58; 2407
    
    Verified for nor regression at LTC 7 threads
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 4235 W&#58; 671 L&#58; 528 D&#58; 3036
    
    Tested with fixed games at LTC with 20 threads
    ELO&#58; 44.75 +-7.6 &#40;95%) LOS&#58; 100.0%
    Total&#58; 2069 W&#58; 407 L&#58; 142 D&#58; 1520
    
    Tested with fixed games at XLTC &#40;120secs&#41; with 20 threads
    ELO&#58; 28.01 +-6.7 &#40;95%) LOS&#58; 100.0%
    Total&#58; 2275 W&#58; 349 L&#58; 166 D&#58; 1760
    
    Original patch of mbootsector, with additional work
    from Ivan Ivec &#40;log formula&#41;, Joerg Oster &#40;id loop
    simplification&#41; and Marco Costalba &#40;assorted formatting
    and rework&#41;.
    
    Bench&#58; 8116244

commit 7ea5659c5fe0325f1b6ee5fec06ecd0f066e81c3
Author&#58; Stéphane Nicolet <cassio@free.fr>
Date&#58;   Thu Oct 15 21&#58;27&#58;52 2015 -0700

    Asymmetry bonus for the attacking side
    
    Use asymmetry in the position &#40;king separation, pawn structure&#41; to
    compute an "initiative bonus" for the attacking side.
    
    Passed STC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 14563 W&#58; 2826 L&#58; 2636 D&#58; 9101
    
    And LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 14363 W&#58; 2317 L&#58; 2141 D&#58; 9905
    
    Bench&#58; 8116244
    
    Resolves #462

commit 8fd34d7763072fc3ec7216729c1f7b7354bfa470
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Mon Oct 12 14&#58;00&#58;54 2015 -0700

    Combination of two ideas&#58;
    
    Apply bonus for the prior CMH that caused a fail low.
    
    Balance Stats&#58; CMH and History bonuses are updated differently.
    This eliminates the "fudge" factor weight when scoring moves. Also
    eliminated discontinuity in the gravity history stat formula. &#40;i.e. stat
    scores will no longer inverse when depth exceeds 22&#41;
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 21802 W&#58; 4107 L&#58; 3887 D&#58; 13808
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 46036 W&#58; 7046 L&#58; 6756 D&#58; 32234
    
    Bench&#58; 7677367

commit 55b46ffa909cf3873e4ac7129e324ed3eb1d0124
Author&#58; Jonathan Calovski <jonoface@live.com.au>
Date&#58;   Wed Oct 7 19&#58;48&#58;54 2015 +1100

    Retire rook contact checks
    
    STC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 34114 W&#58; 6363 L&#58; 6265 D&#58; 21486
    
    LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 61776 W&#58; 9349 L&#58; 9289 D&#58; 43138
    
    LTC &#40;after rebasing&#41;&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 15261 W&#58; 2343 L&#58; 2214 D&#58; 10704
    
    Bench&#58; 7523382
    
    Resolves #442

commit 436c3037310ad997f85a5da0685b6bc91699163b
Author&#58; Stefano80 <stefano.cardanobile@gmail.com>
Date&#58;   Mon Oct 5 19&#58;48&#58;47 2015 -0700

    Tuning of assorted values
    
    Passed STC
    
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 45401 W&#58; 8590 L&#58; 8274 D&#58; 28537
    
    Passed LTC
    
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 36089 W&#58; 5589 L&#58; 5331 D&#58; 25169
    
    Bench&#58; 8397672
    
    Resolves #445

commit 540b49a1522440597501aa94618cf391cef08feb
Author&#58; Alain SAVARD <support@multicim.com>
Date&#58;   Tue Oct 6 03&#58;32&#58;26 2015 +0100

    Remove queen threat evaluation
    
    Threats by queen seem to be worthless.
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 13627 W&#58; 2607 L&#58; 2473 D&#58; 8547
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 19146 W&#58; 2950 L&#58; 2827 D&#58; 13369
    
    Bench&#58; 8222484
    
    Resolves #439

commit 83e19fbed539fc05626d82afefde730bdcb344ab
Author&#58; Stefan Geschwentner <stgeschwentner@gmail.com>
Date&#58;   Sat Oct 3 03&#58;46&#58;53 2015 -0700

    File based passed pawn bonus
    
    Add file based bonus for passed pawns. Values tuned by SPSA.
    
    STC&#58;
    LLR&#58; 3.33 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 36889 W&#58; 6805 L&#58; 6507 D&#58; 23577
    
    LTC&#58;
    LLR&#58; 2.97 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 32301 W&#58; 5101 L&#58; 4858 D&#58; 22342
    
    Bench&#58; 8073614
    
    Resolves #436

commit 9f5b31c21df72f60ab02417940ae573621ee7b90
Author&#58; Jonathan Calovski <jonoface@live.com.au>
Date&#58;   Sat Oct 3 03&#58;36&#58;51 2015 -0700

    Bonus for checking moves
    
    STC&#58;
    LLR&#58; 2.97 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 14531 W&#58; 2765 L&#58; 2576 D&#58; 9190
    
    LTC&#58;
    LLR&#58; 3.20 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 52518 W&#58; 8107 L&#58; 7782 D&#58; 36629
    
    Bench&#58; 7556477
    
    Resolves #435

commit 77b4f4c2e735a3f1173d74ce904db9dae262a682
Author&#58; Jonathan Calovski <jonoface@live.com.au>
Date&#58;   Sat Sep 19 08&#58;28&#58;26 2015 +1000

    Refine ranks and increase resulting bonus.
    
    STC&#58;
    LLR&#58; 2.94 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 272379 W&#58; 51773 L&#58; 50658 D&#58; 169948
    
    LTC&#58;
    LLR&#58; 3.06 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 41504 W&#58; 6555 L&#58; 6273 D&#58; 28676
    
    bench&#58; 7658406
    
    Resolves #430

commit 660c38f781060f1382b4b0b6e9a8b25658559820
Author&#58; Stefan Geschwentner <stgeschwentner@gmail.com>
Date&#58;   Tue Sep 15 05&#58;55&#58;09 2015 -0700

    Scales the endgame score by the number of pawns.
    
    Credits goes also to Stephane Nicolet for his great idea of scaling by pawns.
    
    STC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 9994 W&#58; 1929 L&#58; 1760 D&#58; 6305
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 11240 W&#58; 1789 L&#58; 1626 D&#58; 7825
    
    bench 7298564
    
    Resolves #423

commit 7f300a769848c695fb28da444b0c3f4c1d919945
Author&#58; Joona Kiiski <joona.kiiski@gmail.com>
Date&#58;   Tue Aug 25 20&#58;52&#58;44 2015 +0100

    History gravity
    
    Instead of using hard coded Min and Max values for history,
    always adjust the old value slightly downwards before adding a new value.
    
    The adjustment acts like gravity that prevents the value escaping too
    far from zero.
    
    Bench&#58; 8020484
    
    Resolves #407

commit 7ad85fca6d0ce5a8e62be67de7ec3d396670ca74
Author&#58; lucasart <lucas.braesch@gmail.com>
Date&#58;   Tue Aug 25 19&#58;46&#58;37 2015 +0800

    Prune castling moves
    
    Align the behaviour with reductions. Initially castling moves had to be
    treated differently, because the SEE did not handle them correctly. But now it
    does.
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 83750 W&#58; 15722 L&#58; 15711 D&#58; 52317
    
    LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 97183 W&#58; 15120 L&#58; 15115 D&#58; 66948
    
    bench 7759837
    
    Resolves #403

commit 69a1a808c8ed02332914afbb503f3d96fa8bb093
Author&#58; Alain SAVARD <support@multicim.com>
Date&#58;   Mon Aug 17 19&#58;30&#58;17 2015 +0100

    Retire PawnSafePush bonus
    
    PawnSafePush, with the value S&#40;5,5&#41; proved not "necessary"
    possibly due to recent changes to MobilityArea and other changes to Connected bonus.
    
    STC&#58;
    LLR&#58; 3.22 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 98528 W&#58; 18757 L&#58; 18759 D&#58; 61012
    
    LTC&#58;
    LLR&#58; 5.30 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 204194 W&#58; 31698 L&#58; 31734 D&#58; 140762
    
    Bench&#58; 7620871
    
    Resolves #396

commit 9dbb3ae8b2c5ef4ad2b399a42707ad1fd851c68b
Author&#58; mstembera <MissingEmail@email>
Date&#58;   Sat Aug 15 12&#58;22&#58;54 2015 +0100

    TT entry value based on depth and relative age
    
    Calculate TT replace value as depth minus eight times relative age.
    
    STC 2MB
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 45258 W&#58; 8595 L&#58; 8279 D&#58; 28384
    
    LTC 8MB
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 56401 W&#58; 8809 L&#58; 8489 D&#58; 39103
    
    STC 16MB
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-4.00,0.00&#93;
    Total&#58; 34764 W&#58; 6565 L&#58; 6529 D&#58; 21670
    
    Bench&#58; 9069474
    
    Resolves #395

commit f4ace94f91c31631a280b929d50fbe7077305dc2
Author&#58; DiscanX <discan123@gmail.com>
Date&#58;   Mon Aug 10 01&#58;25&#58;41 2015 +0800

    Tuned values for mid and end game passed pawns.
    
    STC &#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 22691 W&#58; 4468 L&#58; 4228 D&#58; 13995
    
    LTC &#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 13620 W&#58; 2216 L&#58; 2023 D&#58; 9381
    
    Bench&#58; 8384669
    
    Resolves #391

commit 1aae35b8b7caec936c77fc981a8868d5b237d05b
Author&#58; mstembera <MissingEmail@email>
Date&#58;   Sat Aug 8 03&#58;06&#58;32 2015 -0700

    Revert TT replacement strategy changes (#380&#41;
    
    It could cause problems with high depths and long time controls
    
    Bench&#58; 8626315
    
    Resolves #390

commit 68d61b80c60a81055a2ffb2e251a237b979e9b31
Author&#58; Marco Costalba <mcostalba@gmail.com>
Date&#58;   Tue Jul 28 12&#58;53&#58;13 2015 +0200

    Simplify IID depth formula
    
    Restore original formula messed up during
    half-ply removal.
    
    STC
    LLR&#58; 4.11 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 21349 W&#58; 4091 L&#58; 3909 D&#58; 13349
    
    LTC
    LLR&#58; 5.42 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 52819 W&#58; 8321 L&#58; 8122 D&#58; 36376
    
    bench&#58; 8040572

commit a2410227cc8df5373d6970bfe63bbd3df5287c8c
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Thu Jul 30 00&#58;50&#58;45 2015 +0800

    PV refutation penalty
    
    Extra penalty for PV move in previous ply when it gets refuted.
    
    STC&#58;
    LLR&#58; 4.49 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 41094 W&#58; 7889 L&#58; 7620 D&#58; 25585
    
    LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 12304 W&#58; 1967 L&#58; 1811 D&#58; 8526
    
    Bench&#58; 8373608
    
    Resolves #386

commit 4a6d59c6c7caa8a9055197280ea7bdcd072feeaa
Author&#58; Alain SAVARD <support@multicim.com>
Date&#58;   Thu Jul 30 00&#58;47&#58;51 2015 +0800

    MobilityArea &#40;simplified&#41;
    
    Based off of Pull request #383&#58;
    
    Include squares occupied by some pawns in the MobilityArea
    a&#41; not blocked
    b&#41; on rank 4 and above
    c&#41; or captures
    
    Passed STC
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 8157 W&#58; 1644 L&#58; 1516 D&#58; 4997
    
    And LTC
    LLR&#58; 2.97 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 26086 W&#58; 4274 L&#58; 4051 D&#58; 17761
    
    -----------
    
    Then, a simplification test failed, trying to remove b and c&#41;
    LLR&#58; -2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 6048 W&#58; 1117 L&#58; 1288 D&#58; 3643
    
    Another simplification test, was run to remove just &#40;c&#41;
    Passed STC
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 28073 W&#58; 5364 L&#58; 5255 D&#58; 17454
    
    And LTC
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 34652 W&#58; 5448 L&#58; 5348 D&#58; 23856
    
    A parameter tweak test showed that changing b&#41; for "on rank 3 and above"
    does not work
    LLR&#58; -2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 5233 W&#58; 937 L&#58; 1077 D&#58; 3219
    
    Finally, a small rewrite, and we have this version
    
    Include squares occupied by some pawns in the MobilityArea which are
    a&#41; not blocked
    b&#41; on rank 4 and above
    
    Bench&#58; 8977899
    
    Resolves #385

commit 51330414c4a773a9c3d1dd562fdc8536344a67b8
Author&#58; mstembera <MissingEmail@email>
Date&#58;   Sat Jul 25 00&#58;33&#58;53 2015 +0800

    Tuned version of TT replacement policy
    
    If the used multiplier of 8 was any number larger than DEPTH_MAX
    this would be a non functional patch.
    
    STC 2MB
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 16353 W&#58; 3216 L&#58; 3066 D&#58; 10071
    http&#58;//tests.stockfishchess.org/tests/view/55a6d0630ebc590abbe1babd
    
    LTC 8MB
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 134618 W&#58; 21276 L&#58; 20716 D&#58; 92626
    http&#58;//tests.stockfishchess.org/tests/view/55a74d760ebc590abbe1bad6
    
    STC 16MB
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-4.00,0.00&#93;
    Total&#58; 22549 W&#58; 4257 L&#58; 4178 D&#58; 14114
    http&#58;//tests.stockfishchess.org/tests/view/55a9a2f90ebc590abbe1bb16
    
    Bench&#58; 7372460
    
    Resolves #380

commit 1d977aa79ecaf410f4b2065eb8f11e0a5e689db4
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Mon Jul 13 18&#58;19&#58;09 2015 -0400

    LMR Simplification&#58; Remove countermove condition
    
    Removed countermove condition for decreasing reduction.
    
    LTC&#58;
    LLR&#58; 3.01 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 32410 W&#58; 5092 L&#58; 4986 D&#58; 22332
    
    STC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 24450 W&#58; 4632 L&#58; 4517 D&#58; 15301
    
    Bench&#58; 6943812
    
    Resolves #378

commit d8aeaab79ca6809f8ad6a650611e827a7cba8978
Author&#58; mstembera <MissingEmail@email>
Date&#58;   Wed Jul 15 20&#58;15&#58;14 2015 +0100

    Consistent TT replace policy
    
    This fixes an inconsistency bug where TT entries were valued differently
    depending on which pointer they were accessed through.
    
    STC 2MB
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 11301 W&#58; 2176 L&#58; 2038 D&#58; 7087
    
    LTC 8MB
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 17732 W&#58; 2870 L&#58; 2745 D&#58; 12117
    
    STC 16MB
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-4.00,0.00&#93;
    Total&#58; 17401 W&#58; 3324 L&#58; 3227 D&#58; 10850
    
    Bench&#58; 8248164
    
    Resolves #377

commit b2edac7075ca238326378cb2c5ef09f7cdb2fd9e
Author&#58; Marco Costalba <mcostalba@gmail.com>
Date&#58;   Tue Jun 30 13&#58;50&#58;59 2015 +0200

    Remove useless razoring condition
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 20626 W&#58; 3977 L&#58; 3855 D&#58; 12794
    
    LTC&#58;
    LLR&#58; 3.10 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 87334 W&#58; 13675 L&#58; 13648 D&#58; 60011
    
    Retire also the now unused pawn_on_7th&#40;) helper.
    
    bench&#58; 8248166

commit aa0dc16b754f65e5f5b84c7500732476ca1f035b
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Sat Jun 27 12&#58;19&#58;42 2015 -0400

    CMH Fix&#58; Exclude captures for TT move refutation penalty
    
    This will make sure we store only quiet moves for TT Penalty.
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 34748 W&#58; 6617 L&#58; 6420 D&#58; 21711
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 19975 W&#58; 3259 L&#58; 3137 D&#58; 13579
    
    Bench&#58; 8063826
    
    Resolves #373

commit 7e9f776fcafe0121c7449f4339b26d77c14adf50
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Sat Jun 27 09&#58;41&#58;17 2015 +0100

    LMR Tweak&#58; Decrease reduction if cmh>0 && history>0.
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 9627 W&#58; 1879 L&#58; 1748 D&#58; 6000
    
    LTC&#58;
    LLR&#58; 2.97 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 21543 W&#58; 3433 L&#58; 3234 D&#58; 14876
    
    Bench&#58; 8646407
    
    Resolves #370 #371

commit ad87d707fffeeac9aa1ae3e3e8d6fa2449ea1df9
Author&#58; lucasart <lucas.braesch@gmail.com>
Date&#58;   Sun Jun 7 09&#58;49&#58;01 2015 +0100

    Simplify outpost evaluation
    
    STC
    
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 114149 W&#58; 21986 L&#58; 22032 D&#58; 70131
    
    LTC
    
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 52232 W&#58; 8468 L&#58; 8396 D&#58; 35368
    
    Bench&#58; 6716940
    
    No functional change
    
    Resolves #363

commit 7b8ffe0f5d89784c6b360331a7781604305371d9
Author&#58; Vince Negri <vince.negri@gmail.com>
Date&#58;   Sun May 31 10&#58;52&#58;41 2015 +0100

    Remove intermediate re-search in LMR
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 20149 W&#58; 3830 L&#58; 3707 D&#58; 12612
    
    LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 45384 W&#58; 7089 L&#58; 7006 D&#58; 31289
    
    Bench&#58; 8110365
    
    Resolves #361

commit 5ebdf2f8c857681309e60d831f4f56452fb81235
Author&#58; lucasart <lucas.braesch@gmail.com>
Date&#58;   Tue Jun 2 12&#58;08&#58;35 2015 -0700

    Tune pawn shelter/storm
    
    STC
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 31679 W&#58; 6183 L&#58; 5912 D&#58; 19584
    
    LTC
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 43550 W&#58; 6885 L&#58; 6602 D&#58; 30063
    
    Bench&#58; 9219343
    
    Resolves #360

commit 4502a1934f2d624288b635b5901ecda8cefa342c
Author&#58; Stéphane Nicolet <cassio@free.fr>
Date&#58;   Tue Jun 2 12&#58;06&#58;46 2015 -0700

    Tweak backward pawns definition
    
    Advanced pawns cannot be backward. Also lower the backward penalty in
    endgame.
    
    Passed STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 18534 W&#58; 3588 L&#58; 3433 D&#58; 11513
    
    and LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 21319 W&#58; 3415 L&#58; 3217 D&#58; 14687
    
    Bench&#58; 7271152
    
    Resolves #359

commit 8e95c39bfa97e6248d9686b47dc4361f23fda06f
Author&#58; lucasart <lucas.braesch@gmail.com>
Date&#58;   Fri May 22 18&#58;39&#58;36 2015 +0800

    Simplify backward pawn scoring
    
    STC
    
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 52322 W&#58; 10011 L&#58; 9945 D&#58; 32366
    
    LTC
    
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 14143 W&#58; 2334 L&#58; 2203 D&#58; 9606
    
    Bench&#58; 7976423
    
    Resolves #354

commit 2e0ec4ad6fe3eaf3c4194eb9da2b49bad5bf29b2
Author&#58; lucasart <lucas.braesch@gmail.com>
Date&#58;   Thu May 21 19&#58;52&#58;25 2015 +0800

    Fix merge error for Tuned PSQT
    
    Fall-out from 411e704f
    
    Bench&#58; 7907776
    
    Resolves #352

commit e14046517ed0a690c0969b3ca8d1b0e25ac9fb9e
Author&#58; Stefan Geschwentner <stgeschwentner@gmail.com>
Date&#58;   Mon May 18 13&#58;58&#58;13 2015 -0700

    Remove Gain Stats
    
    Additionally in futility pruning the margin is raised for compensation.
    
    STC
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 48481 W&#58; 9229 L&#58; 9156 D&#58; 30096
    
    LTC
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 32058 W&#58; 5134 L&#58; 5031 D&#58; 21893
    
    Bench&#58; 8098149
    
    Resolves #350

commit 411e704fdf5afac1bbfa8a28b86751501e0eed95
Author&#58; lucasart <lucas.braesch@gmail.com>
Date&#58;   Sat May 16 09&#58;12&#58;36 2015 +0800

    Tuned PSQT
    
    STC&#58;
    LLR&#58; 3.11 (-2.94,2.94&#41; &#91;-0.50,4.50&#93;
    Total&#58; 58764 W&#58; 11530 L&#58; 11185 D&#58; 36049
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,4.50&#93;
    Total&#58; 282710 W&#58; 46339 L&#58; 45209 D&#58; 191162
    
    Bench&#58; 8512947
    
    Resolves #349

commit eaeb63f1d03aa71edf719605a31d121bf086a03d
Author&#58; mstembera <MissingEmail@email>
Date&#58;   Sat May 9 17&#58;43&#58;57 2015 +0100

    Smart TT save
    
    Don't overwrite more valuable data with less valuable data
    
    STC 2MB
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 21132 W&#58; 4108 L&#58; 3946 D&#58; 13078
    http&#58;//tests.stockfishchess.org/tests/view/5547d59f0ebc5940ca5d6883
    
    LTC 8MB
    LLR&#58; 2.97 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 13381 W&#58; 2149 L&#58; 1987 D&#58; 9245
    http&#58;//tests.stockfishchess.org/tests/view/5549b5a80ebc5940ca5d68b9
    
    STC 16MB regression w/ zero effective hash pressure
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-5.00,0.00&#93;
    Total&#58; 18944 W&#58; 3607 L&#58; 3564 D&#58; 11773
    http&#58;//tests.stockfishchess.org/tests/view/554b0fda0ebc5940ca5d68ea
    
    Bench&#58; 8787152
    
    Resolves #347

commit 946fa4762539307dcdcb30d08f13d627864e9bcf
Author&#58; lucasart <lucas.braesch@gmail.com>
Date&#58;   Tue May 5 19&#58;10&#58;19 2015 +0800

    Never clear stats
    
    Based on an idea and patch by VoyagerOne.
    
    Small simplification, but was tedted for an ELO gain anyway.
    
    STC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-1.00,4.00&#93;
    Total&#58; 5375 W&#58; 1119 L&#58; 977 D&#58; 3279
    
    LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,5.00&#93;
    Total&#58; 17893 W&#58; 2984 L&#58; 2792 D&#58; 12117
    
    bench 8322847

commit 59f64fda4fffe595d53183caae94b1d9a2062f32
Author&#58; Stefano80 <stefano.cardanobile@gmail.com>
Date&#58;   Sun May 3 10&#58;18&#58;38 2015 -0700

    Improve ordering of good captures using rank term
    
    Rank based term improved approximation of pos.see&#40;) for scoring good
    captures.
    
    STC
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 4632 W&#58; 945 L&#58; 827 D&#58; 2860
    
    LTC
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 25770 W&#58; 4184 L&#58; 3964 D&#58; 17622
    
    Bench&#58; 7593704
    
    Resolves #342

commit cc54a91ca508e68bf84715a50f84c79f66b8f109
Author&#58; Stefano80 <stefano.cardanobile@gmail.com>
Date&#58;   Tue Apr 28 22&#58;06&#58;18 2015 +0100

    Replace MVV/LVA by MVV for good captures
    
    Passed STC
    
    LLR&#58; 3.71 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 64363 W&#58; 12299 L&#58; 12214 D&#58; 39850
    
    and LTC
    
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 69976 W&#58; 11056 L&#58; 11011 D&#58; 47909
    
    Bench&#58; 8012532
    
    Resolves #340

commit b7063ef65b4a5720e1d594beb50aaaca6fb11d93
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Sun Apr 26 20&#58;12&#58;25 2015 +0100

    Change extra ply LMR condition to&#58; cmh <= 0 && hist < 0
    
    Extra ply LMR condition is now cmh <= 0 && h < 0
    Instead of cmh + h < 0
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 55210 W&#58; 10812 L&#58; 10557 D&#58; 33841
    
    LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 13212 W&#58; 2239 L&#58; 2045 D&#58; 8928
    
    Bench&#58; 8420865
    
    Resolves #339

commit 078625e33389536addc9f94b7fc197230ef2f0fb
Author&#58; Alain SAVARD <support@multicim.com>
Date&#58;   Sat Apr 18 22&#58;12&#58;56 2015 +0100

    Exclude queen from Rook Contact Check computation
    
    In ei.attackedBy, Queen does not x-ray through Rook, but the Rook does
    X-ray through the Queen.
    
    So most of the rook contact checks supported by queen are, in fact,
    Queen Contact Checks and they are already scored separately.
    
    Bench&#58; 7762189
    
    Resolves #338

commit 20e92895af45ec9599110506eea231fc689c05ba
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Fri Apr 10 17&#58;50&#58;19 2015 -0400

    Removed extra condition &#40;history < 0&#41; in LMR to help sync up with move ordering.
    
    LMR condition is now cmh+history<0
    Instead of history<0 OR cmh+history<0
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00, 1.00&#93;
    Total&#58; 26446 W&#58; 5092 L&#58; 4980 D&#58; 16374
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00, 1.00&#93;
    Total&#58; 14129 W&#58; 2340 L&#58; 2209 D&#58; 9580
    
    Bench&#58; 7815183
    
    Resolves #331

commit 27efc5ac996ffc679395317c8bbb16aca996296c
Author&#58; Stefan Geschwentner <stgeschwentner@gmail.com>
Date&#58;   Fri Apr 10 20&#58;32&#58;39 2015 +0100

    Update stats at pv nodes
    
    If a quiet best move is found at a pv node then always update stats.
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 41485 W&#58; 8047 L&#58; 7830 D&#58; 25608
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 14351 W&#58; 2420 L&#58; 2250 D&#58; 9681
    
    Bench&#58; 6985247
    
    Resolves #330

commit 36f2133df3e5aea1436a17ae20f3a0d488be31bd
Author&#58; mstembera <MissingEmail@email>
Date&#58;   Fri Apr 10 20&#58;09&#58;45 2015 +0100

    New formula for quiet move scoring&#58; 3 * cmh + 1 * hist
    
    STC
    
    LLR&#58; 2.97 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 45363 W&#58; 8759 L&#58; 8532 D&#58; 28072
    
    LTC
    
    LLR&#58; 3.51 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 125092 W&#58; 20032 L&#58; 19468 D&#58; 85592
    
    Bench&#58; 7058819
    
    Resolves #328

commit ef4d89c9bd4fff869f9b57d7f5fcdacdfd46f91c
Author&#58; Stefan Geschwentner <stgeschwentner@gmail.com>
Date&#58;   Sun Apr 5 20&#58;36&#58;11 2015 +0200

    update stats also in check
    
    Update stats also if in check &#40;drop condition&#41;.
    
    STC&#58;
    LLR&#58; 3.22 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 87472 W&#58; 16929 L&#58; 16913 D&#58; 53630
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 39971 W&#58; 6436 L&#58; 6345 D&#58; 27190
    
    Bench&#58; 7086031
    
    Resolves #327

commit aaf17326e2db5f8bc6664c69e1c3e7fe59cde4ec
Author&#58; lucasart <lucas.braesch@gmail.com>
Date&#58;   Sat Apr 4 08&#58;00&#58;15 2015 +0800

    Prune evasions when we can castle
    
    A minor simplification.
    
    STC&#58;
    
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.50,0.50&#93;
    Total&#58; 67877 W&#58; 12882 L&#58; 12904 D&#58; 42091
    
    STC&#58;
    
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 20677 W&#58; 4023 L&#58; 3901 D&#58; 12753
    
    LTC&#58;
    
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 12221 W&#58; 2022 L&#58; 1888 D&#58; 8311
    
    Bench&#58; 7911336
    
    Resolves #326

commit 6661a3154152ab448b1dc11d882586976f616f92
Author&#58; mstembera <MissingEmail@email>
Date&#58;   Fri Apr 3 01&#58;16&#58;15 2015 +0800

    Simplification to use only one counter move.
    
    STC http&#58;//tests.stockfishchess.org/tests/view/5518dca30ebc5902160ec5d0
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.50,0.50&#93;
    Total&#58; 18868 W&#58; 3638 L&#58; 3530 D&#58; 11700
    
    LTC http&#58;//tests.stockfishchess.org/tests/view/5518f7ed0ebc5902160ec5d4
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 69767 W&#58; 11019 L&#58; 10973 D&#58; 47775
    
    Extracted from http&#58;//tests.stockfishchess.org/tests/view/5511028a0ebc5902160ec40b
    
    Original patch by hxim.  All credit goes to him.
    
    Bench&#58; 7664249
    
    Resolves #320

commit 63500274db9beb08c726c27c45f19a22601a0743
Author&#58; Ajith <achajo@yahoo.co.in>
Date&#58;   Sun Mar 29 07&#58;27&#58;43 2015 +0800

    Give a reduced bonus for threats by hanging pawns
    
    Passed STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 105539 W&#58; 20389 L&#58; 20001 D&#58; 65149
    
    and LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 9629 W&#58; 1577 L&#58; 1432 D&#58; 6620
    
    Bench&#58; 7658627
    
    Resolves #317

commit 1d5eaba5735e24c3afdeb07a5108d7ebf9e3ff57
Author&#58; mbootsector <mbootsector@gmail.com>
Date&#58;   Sat Mar 28 22&#58;09&#58;48 2015 +0000

    Retire follow-up move heuristic
    
    STC&#58; http&#58;//tests.stockfishchess.org/tests/view/5501d0f30ebc5902160ec0fd
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 34891 W&#58; 6904 L&#58; 6808 D&#58; 21179
    
    LTC&#58; http&#58;//tests.stockfishchess.org/tests/view/550328540ebc5902160ec133
    LLR&#58; 3.10 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 182653 W&#58; 29866 L&#58; 29993 D&#58; 122794
    
    Bench&#58; 8396161
    
    Resolves #310

commit ac8e6ff000d3d990ae07297ec60e33a9cfb513b1
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Sat Mar 28 21&#58;15&#58;49 2015 +0000

    Use CounterMoveHistory when calculating LMR for cut nodes
    
    If the sum of CounterMoveHistory heuristic and History heuristic is below zero,
    then reduce an extra ply in cut nodes
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 6479 W&#58; 1099 L&#58; 967 D&#58; 4413
    
    Bench&#58; 7773299
    
    Resolves #315

commit 50182f11004334177ceeebb93d4b7eadb67aadb9
Author&#58; joergoster <osterj165@googlemail.com>
Date&#58;   Wed Mar 25 07&#58;38&#58;32 2015 +0800

    Tuned values for the pawn piece square table
    
    Quick measure at very fast tc&#58;
    ELO&#58; 4.77 +-2.2 &#40;95%) LOS&#58; 100.0%
    Total&#58; 40124 W&#58; 8711 L&#58; 8160 D&#58; 23253
    
    LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 52284 W&#58; 8880 L&#58; 8559 D&#58; 34845
    
    Bench&#58; 8865736
    
    Resolves #311

commit e51965aa57ddc50d04016e3622da49cf9f8e6238
Author&#58; VoyagerOne <excelgeek@gmail.com>
Date&#58;   Tue Mar 24 23&#58;00&#58;31 2015 +0000

    Introduce a new counter move history penalty
    
    Extra penalty for TT move in previous ply when it gets refuted
    
    STC&#58;
    
    LLR&#58; 2.94 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 31303 W&#58; 6216 L&#58; 6025 D&#58; 19062
    
    LTC&#58;
    
    LLR&#58; 2.97 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 6950 W&#58; 1189 L&#58; 1054 D&#58; 4707
    
    Bench&#58; 8191926
    
    Resolves #309

commit 966bc477af9eae9be63b08111a76e8306263e4a3
Author&#58; joergoster <osterj165@googlemail.com>
Date&#58;   Fri Mar 20 08&#58;08&#58;21 2015 +0800

    Tuned mobility with another SPSA run
    
    Further improved mobility values after another SPSA session, 50k
    iterations.
    
    Elo measure at very fast 9+0.05"&#58;
    ELO&#58; 3.40 +-2.2 &#40;95%) LOS&#58; 99.9%
    Total&#58; 40000 W&#58; 8434 L&#58; 8042 D&#58; 23524
    
    and LTC SPRT&#91;0, 4&#93;&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 11052 W&#58; 1874 L&#58; 1687 D&#58; 7491
    
    Bench&#58; 8226843
    
    Resolves #301

commit a4b98a052e2cadfb15984f0937c8131e18c663b2
Author&#58; joergoster <osterj165@googlemail.com>
Date&#58;   Sat Mar 14 21&#58;35&#58;52 2015 +0000

    New values for Mobility and Outposts.
    
    Both are the result of a SPSA tuning session with a custom book, 50k iterations each.
    
    After an additional tuning session of the mobility values, tuning the delta values, with following result.
    
    40k games at 9+0.05&#58;
    ELO&#58; 4.13 +-2.2 &#40;95%) LOS&#58; 100.0%
    Total&#58; 40000 W&#58; 8581 L&#58; 8106 D&#58; 23313
    
    and LTC
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 36518 W&#58; 6049 L&#58; 5782 D&#58; 24687
    
    Bench&#58; 8567402
    
    Resolves #284

commit 13c11f40480ec97316bd4da3a53787cc871037ea
Author&#58; Stefan Geschwentner <stgeschwentner@gmail.com>
Date&#58;   Thu Mar 12 07&#58;29&#58;57 2015 +0000

    Introduce Counter Move History tables
    
    Introduce a counter move history table which additionally is indexed by the last move's piece and target square.
    For quiet move ordering use now the sum of standard and counter move history table.
    
    STC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 4747 W&#58; 1005 L&#58; 885 D&#58; 2857
    
    LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 5726 W&#58; 1001 L&#58; 872 D&#58; 3853
    
    Because of reported low NPS on multi core test
    STC &#40;7 threads&#41;&#58;
    ELO&#58; 7.26 +-3.3 &#40;95%) LOS&#58; 100.0%
    Total&#58; 14937 W&#58; 2710 L&#58; 2398 D&#58; 9829
    
    Bench&#58; 7725341
    
    Resolves #282

commit 9369f4963d9376820cb5ca4bad66b86e67b0a010
Author&#58; Stéphane Nicolet <cassio@free.fr>
Date&#58;   Sun Mar 1 00&#58;58&#58;32 2015 +0800

    Raise penalty for knight attacked by pawn
    
    Raise a bit the penalty for knight attacked by pawn.
    
    STC&#58;
    LLR&#58; 2.97 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 27744 W&#58; 5563 L&#58; 5380 D&#58; 16801
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 87571 W&#58; 14747 L&#58; 14314 D&#58; 58510
    
    Bench&#58; 8285241
    
    Resolves #270

commit fce799294c124a096b15539bb863788ec3a68cf6
Author&#58; Alain SAVARD <support@multicim.com>
Date&#58;   Fri Feb 27 01&#58;50&#58;35 2015 +0800

    Apex Pawns
    
    Pawns which are supported already have a bonus. Apex are pawns which are
    supported twice.
    This patch gives an additional 50% bonus for them.
    
    STC
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 6549 W&#58; 1333 L&#58; 1209 D&#58; 4007
    
    LTC
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 18002 W&#58; 3037 L&#58; 2850 D&#58; 12115
    
    Bench&#58; 8069601
    
    Resolves #267

commit e2226cbb20342bc23ed42cfe538b4e3ca3697291
Author&#58; Marco Costalba <mcostalba@gmail.com>
Date&#58;   Thu Feb 19 14&#58;14&#58;20 2015 +0100

    Use only 'level' as late join metric
    
    It seems other metric are useless, this allow us
    to simplify the code and to prune useless stuff.
    
    STC 20K games 4 threads
    ELO&#58; -0.76 +-2.8 &#40;95%) LOS&#58; 29.9%
    Total&#58; 20000 W&#58; 3477 L&#58; 3521 D&#58; 13002
    
    STC 10K games 16 threads
    ELO&#58; 1.36 +-3.9 &#40;95%) LOS&#58; 75.0%
    Total&#58; 10000 W&#58; 1690 L&#58; 1651 D&#58; 6659
    
    bench&#58; 8253813

commit 2f465927363e3e753dfb65d67f9b126afc34f4fa
Author&#58; snicolet <cassio@free.fr>
Date&#58;   Fri Feb 20 19&#58;56&#58;57 2015 +0000

    Mobile phalanxes
    
    Try to create mobile phalanxes
    
    STC&#58;
    LLR&#58; 2.97 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 52393 W&#58; 10912 L&#58; 10656 D&#58; 30825
    
    LTC&#58;
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 30398 W&#58; 5315 L&#58; 5063 D&#58; 20020
    
    Bench&#58; 8253813
    
    Resolves #261

commit 6656ed8904ccf0e20321f9929f2d13fbb7b9223d
Author&#58; Marco Costalba <mcostalba@gmail.com>
Date&#58;   Tue Feb 17 08&#58;23&#58;35 2015 +0100

    Simplify attackUnits formula
    
    Use '/ 8' instead of '* 31 / 256'
    
    Passed STC
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 55077 W&#58; 10999 L&#58; 10940 D&#58; 33138
    
    And LTC
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-3.00,1.00&#93;
    Total&#58; 14751 W&#58; 2530 L&#58; 2400 D&#58; 9821
    
    bench&#58; 7911944

commit a8f9c7a790883d2d31e108cd2739aefcfa5d919e
Author&#58; snicolet <cassio@free.fr>
Date&#58;   Fri Feb 13 21&#58;33&#58;00 2015 +0000

    Small bonus for all safe pawn pushes
    
    Pawn flexibility&#58; add a small bonus for all safe pawn pushes
    
    STC&#58;
    LLR&#58; 2.70 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 18233 W&#58; 3705 L&#58; 3557 D&#58; 10971
    
    LTC&#58;
    LLR&#58; 2.97 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 17684 W&#58; 3042 L&#58; 2854 D&#58; 11788
    
    Bench&#58; 7369224
    
    Resolves #253

commit e118570038f2d9b668b445fe6d31df94151a717b
Author&#58; Joona Kiiski <zamar@meripeto.&#40;none&#41;>
Date&#58;   Sun Feb 8 19&#58;20&#58;39 2015 +0000

    Pawn Center Bind Bonus
    
    Bonus for two pawns controlling the same central square
    
    STC&#58;
    
    LLR&#58; 3.14 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 15974 W&#58; 3291 L&#58; 3133 D&#58; 9550
    
    LTC&#58;
    
    LLR&#58; 3.24 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 10449 W&#58; 1837 L&#58; 1674 D&#58; 6938
    
    Idea from Lyudmil Tsvetkov.
    
    Bench&#58; 7699138
    
    Resolves #248

commit 18b08096399c0e316baa1999f8cc6ce56bc7f616
Author&#58; Stefan Geschwentner <stgeschwentner@gmail.com>
Date&#58;   Tue Feb 3 11&#58;16&#58;50 2015 +0800

    Add bonus for pawn attack threats
    
    Latent pawn attacks&#58; Add a bonus to safe pawn pushes which attacks an
    enemy piece.  Based on an idea of Lyudmil Tsvetkov.
    
    STC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;-1.50,4.50&#93;
    Total&#58; 7925 W&#58; 1666 L&#58; 1537 D&#58; 4722
    
    LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,6.00&#93;
    Total&#58; 40109 W&#58; 6841 L&#58; 6546 D&#58; 26722
    
    Bench&#58; 7696257
    
    Resolves #240

commit ddccb5355cabb7d1a9bf2c0fe3c51b3da0234260
Author&#58; NicklasPersson <nipe0008@student.umu.se>
Date&#58;   Tue Feb 3 04&#58;00&#58;52 2015 +0800

    Improved King Safety values
    
    From an SPSA-session on king safety.
    
    STC&#58;
    ELO&#58; 3.21 +-2.1 &#40;95%) LOS&#58; 99.8%
    Total&#58; 40000 W&#58; 8181 L&#58; 7812 D&#58; 24007
    
    LTC&#58;
    LLR&#58; 2.95 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 47765 W&#58; 8091 L&#58; 7785 D&#58; 31889
    
    Bench&#58; 8589262
    
    Resolves #241

commit 7837fb2aca6db425e5f7237f5cc714412fc0140d
Author&#58; NicklasPersson <nipe0008@student.umu.se>
Date&#58;   Wed Jan 28 21&#58;00&#58;09 2015 +0000

    King safety tuning with values obtained by SPSA.
    
    Part I&#58;
    
    LTC&#58;
    
    LLR&#58; 2.96 (-2.94,2.94&#41; &#91;0.00,4.00&#93;
    Total&#58; 11529 W&#58; 2075 L&#58; 1882 D&#58; 7572
    
    Part II&#58;
    
    LTC&#58;
    
    ELO&#58; 2.07 +-2.1 &#40;95%) LOS&#58; 97.3%
    Total&#58; 34859 W&#58; 5967 L&#58; 5759 D&#58; 23133
    
    Bench&#58; 7374604
    
    Resolves #228

commit f53aea45e3230239d358d4d35357c9ee6bf6fb54
Author&#58; Marco Costalba <mcostalba@gmail.com>
Date&#58;   Sun Jan 18 08&#58;05&#58;05 2015 +0100

    Add syzygy support
    
    bench&#58; 8080602

commit 3c07603dac03f0da20194097cf4eb1a396fea60d
Author&#58; Marco Costalba <mcostalba@gmail.com>
Date&#58;   Sun Jan 18 08&#58;00&#58;50 2015 +0100

    Import C++11 branch
    
    Import C++11 branch from&#58;
    
    https&#58;//github.com/mcostalba/Stockfish/tree/c++11
    
    The version imported is teh last one as of today&#58;
    https&#58;//github.com/mcostalba/Stockfish/commit/6670e93e50a7a4e739ac2ac8b6026ffa3a12150a
    
    Branch is fully equivalent with master but syzygy
    tablebases that are missing &#40;but will be added with
    next commit&#41;.
    
    bench&#58; 8080602
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
User avatar
lucasart
Posts: 3232
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: Stockfish 7 progress

Post by lucasart »

Actually there is one idea worth mentionning: Counter Moves History. It was introduced by Stefan Geschwenter, and proved to be worth quite a bit of elo, as it was later fine tuned, and used in various places (thanks to VoyagerOne who managed to get quite a bit of elo out of this CMH).

As far as I know, this idea did not exist in the "litterature", and is unique to SF. Although, I suppose every top engine has now copied it.
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.
Sven
Posts: 4052
Joined: Thu May 15, 2008 9:57 pm
Location: Berlin, Germany
Full name: Sven Schüle

Re: Stockfish 7 progress

Post by Sven »

I suggest to remove email addresses from the list above.
Michael Sherwin
Posts: 3196
Joined: Fri May 26, 2006 3:00 am
Location: WY, USA
Full name: Michael Sherwin

Re: Stockfish 7 progress

Post by Michael Sherwin »

lucasart wrote:Actually there is one idea worth mentionning: Counter Moves History. It was introduced by Stefan Geschwenter, and proved to be worth quite a bit of elo, as it was later fine tuned, and used in various places (thanks to VoyagerOne who managed to get quite a bit of elo out of this CMH).

As far as I know, this idea did not exist in the "litterature", and is unique to SF. Although, I suppose every top engine has now copied it.
Has been in RomiChess since 2005!

Code: Select all

    case MOVEKILL&#58;
      h->phase = ADDMOVES;
      m.m = moveKill&#91;piece&#91;board&#91;&#40;h-1&#41;->ts&#93;&#93;.fig&#93;&#91;&#40;h-1&#41;->fs&#93;&#91;&#40;h-1&#41;->ts&#93;.m;
      if&#40;wtm ? wPieces & setBit&#91;m.fs&#93; &#58; bPieces & setBit&#91;m.fs&#93;) &#123;
        id = board&#91;m.fs&#93;;
        if&#40;piece&#91;id&#93;.typ == m.typ&#41; &#123;
          if&#40;h->moves&#91;id&#93; & setBit&#91;m.ts&#93;) &#123;
            h->moves&#91;id&#93; ^= setBit&#91;m.ts&#93;;
            h->node->m = m.m;
            &#40;h+1&#41;->t = h->node + 1;
            return TRUE;
          &#125;   
        &#125;  
      &#125;
If you are on a sidewalk and the covid goes beep beep
Just step aside or you might have a bit of heat
Covid covid runs through the town all day
Can the people ever change their ways
Sherwin the covid's after you
Sherwin if it catches you you're through
User avatar
stegemma
Posts: 859
Joined: Mon Aug 10, 2009 10:05 pm
Location: Italy
Full name: Stefano Gemma

Re: Stockfish 7 progress

Post by stegemma »

Anybody knows if there is a mathematical limit to ELO, in a limited set of players where only one of them grows in strength?
Author of Drago, Raffaela, Freccia, Satana, Sabrina.
http://www.linformatica.com
User avatar
Evert
Posts: 2929
Joined: Sat Jan 22, 2011 12:42 am
Location: NL

Re: Stockfish 7 progress

Post by Evert »

stegemma wrote:Anybody knows if there is a mathematical limit to ELO, in a limited set of players where only one of them grows in strength?
The winning rate of the strongest player grows to 1 asymptotically as its rating approaches infinity (or, more accurately, its rating difference compared to the other players in the pool).

Other than that, no. At least not with the standard Elo models (based on logistic or normal distributions). Of course the winning rate becomes 1 for all practical purposes long before then...
clumma
Posts: 186
Joined: Fri Oct 10, 2014 10:05 pm
Location: Berkeley, CA

Re: Stockfish 7 progress

Post by clumma »

stegemma wrote:Anybody knows if there is a mathematical limit to ELO, in a limited set of players where only one of them grows in strength?
This should probably be a separate thread, but Regan's research suggests that perfect chess corresponds to a FIDE Elo of 3600. He got that result with Rybka and it would be interesting to recompute it with Komodo or SF, but in any case I'd wager it's less than 4000.

-Carl
clumma
Posts: 186
Joined: Fri Oct 10, 2014 10:05 pm
Location: Berkeley, CA

Re: Stockfish 7 progress

Post by clumma »

Thanks for your reply, Lucas. The move to lazy SMP is interesting, and did occur in October. I found these recent threads, which I will read
http://www.talkchess.com/forum/viewtopic.php?t=57572
http://www.talkchess.com/forum/viewtopic.php?t=55352

However, if I'm reading Pohl's site right, his tests are all single-core
http://spcc.beepworld.de/
so lazy SMP probably doesn't explain the two October bumps on his graph.

-Carl
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Stockfish 7 progress

Post by MikeB »

clumma wrote:I'm always curious what might be learned from Stockfish's progress. Is it just accumulation of many small improvements, or are some changes more important than others?

This graph by Stefan Pohl makes Elo progress from SF6 to SF7 look non uniform, with a large bump in October

Image

Does anyone know which changes these were?

-Carl
I am fairly certain over the last 7 months or so, since I have been following it, this was the largest single patch worth 8 Elo, . Most seem to be 2 to 3 ELO . They come in spurts , a week or more goes by their may no patches ELO gains. One week you might have 3 or 4 committed the same week with 10 ELO or so. Note: All ELO gains are measured in self testing , which tend to exaggerate the real ELO gain, but they are gains nonetheless.

Very impressed with the approach that they have taken, they have many contributors , 3 or 4 senior programmers (I'm not 100% sure what is the exact protocol - this is the way its appears to me) who review and approve all changes on a collaborative basis, especially given that is it's 100% volunteer and that it is totally 100% transparent. The code is shared with the public as soon as it approved. Second to Bob Hyatt for sharing his code for the last 25+ years, the development and opened source of Fruit , followed by Glaurung and now Stockfish is the primary reason why we now have engines that are far superior to the top GMs. Even if you take a top engine from the 90's and run it on today's hardware, it would not be far superior or perhaps even superior to a top GM. The difference is the source and all those who made their engine open source shared a part in that.

I hope it continues - these are good times for those who enjoy chess engines.