Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: official-stockfish/Stockfish
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c306d83869
Choose a base ref
...
head repository: official-stockfish/Stockfish
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0405f35403
Choose a head ref
  • 10 commits
  • 10 files changed
  • 8 contributors

Commits on Sep 4, 2020

  1. Restore development version

    have fun!
    
    No functional change
    vondele committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    571c2d6 View commit details
    Browse the repository at this point in the history
  2. Less pruning in qsearch

    do not prune moves that give discovery checks, even if with negative SSE.
    
    STC https://tests.stockfishchess.org/tests/view/5f4cb5e8ba100690c5cc5d25
    LLR: 2.96 (-2.94,2.94) {-0.25,1.25}
    Total: 91328 W: 9940 L: 9667 D: 71721
    Ptnml(0-2): 491, 7345, 29693, 7670, 465
    
    LTC https://tests.stockfishchess.org/tests/view/5f4dbc2eba100690c5cc5dac
    LLR: 2.97 (-2.94,2.94) {0.25,1.25}
    Total: 52448 W: 2799 L: 2586 D: 47063
    Ptnml(0-2): 53, 2220, 21459, 2445, 47
    
    closes #3098
    
    bench: 4031192
    unaiic authored and vondele committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    0e1f734 View commit details
    Browse the repository at this point in the history
  3. Simplify singularQuietLMR

    remove formerPV dependence
    
    STC https://tests.stockfishchess.org/tests/view/5f4cb922ba100690c5cc5d35
    LLR: 2.96 (-2.94,2.94) {-1.25,0.25}
    Total: 113672 W: 12347 L: 12368 D: 88957
    Ptnml(0-2): 566, 9537, 36699, 9420, 614
    
    LTC https://tests.stockfishchess.org/tests/view/5f4e8474ba100690c5cc5e12
    LLR: 2.93 (-2.94,2.94) {-0.75,0.25}
    Total: 43032 W: 2298 L: 2227 D: 38507
    Ptnml(0-2): 45, 1940, 17475, 2011, 45
    
    closes #3102
    
    bench: 3290084
    unaiic authored and vondele committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    d6530f7 View commit details
    Browse the repository at this point in the history
  4. LMR Simplification

    remove reduction at non-check cut nodes for second move at low depths
    
    STC:
    LLR: 2.95 (-2.94,2.94) {-1.25,0.25}
    Total: 61712 W: 6594 L: 6543 D: 48575
    Ptnml(0-2): 293, 5085, 20082, 5070, 326
    https://tests.stockfishchess.org/tests/view/5f5007d6ba100690c5cc5ea9
    
    LTC:
    LLR: 2.94 (-2.94,2.94) {-0.75,0.25}
    Total: 57544 W: 2983 L: 2925 D: 51636
    Ptnml(0-2): 47, 2568, 23495, 2604, 58
    https://tests.stockfishchess.org/tests/view/5f50c597ba100690c5cc5ef7
    
    closes #3103
    
    Bench: 3952302
    VoyagerOne authored and vondele committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    2a69611 View commit details
    Browse the repository at this point in the history
  5. Update default net to nn-308d71810dff.nnue

    equivalent to 20200903-1739
    
    Net trained from scratch, so it has quite different features extracted compared to the previous net (82215d0fd0df).
    
    STC:
    LLR: 2.98 (-2.94,2.94) {-0.25,1.25}
    Total: 108328 W: 14048 L: 13719 D: 80561
    Ptnml(0-2): 842, 10039, 32062, 10390, 831
    https://tests.stockfishchess.org/tests/view/5f50e053ba100690c5cc5f00
    
    LTC:
    LLR: 2.96 (-2.94,2.94) {0.25,1.25}
    Total: 13872 W: 1059 L: 890 D: 11923
    Ptnml(0-2): 30, 724, 5270, 871, 41
    https://tests.stockfishchess.org/tests/view/5f51821fba100690c5cc5f36
    
    closes #3104
    
    Bench: 3832716
    sergiovieri authored and vondele committed Sep 4, 2020
    2 Configuration menu
    Copy the full SHA
    9cc482c View commit details
    Browse the repository at this point in the history
  6. Adjust penalty on refuted early quiet moves

    This patch changes how previous early moves are penalized in case
    search finds a best move. Here, the first quiet move that was not
    a transposition table move is penalized.
    
    passed STC
    https://tests.stockfishchess.org/tests/view/5f51d839ba100690c5cc5f69
    LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
    Total: 10088 W: 1150 L: 997 D: 7941
    Ptnml(0-2): 41, 772, 3278, 899, 54
    
    passed LTC
    https://tests.stockfishchess.org/tests/view/5f51e435ba100690c5cc5f76
    LLR: 2.93 (-2.94,2.94) {0.25,1.25}
    Total: 30808 W: 1564 L: 1405 D: 27839
    Ptnml(0-2): 19, 1245, 12717, 1404, 19
    
    closes #3106
    
    bench 3983758
    Vizvezdenec authored and vondele committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    9a063fc View commit details
    Browse the repository at this point in the history
  7. Use classical eval more often

    If there is a moderate imbalance, use classical eval with small probability (1/16),
    as derived from the node counter.
    
    STC:
    LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
    Total: 32320 W: 3562 L: 3377 D: 25381
    Ptnml(0-2): 144, 2609, 10478, 2776, 153
    https://tests.stockfishchess.org/tests/view/5f520615ba100690c5cc5f80
    
    LTC:
    LLR: 2.95 (-2.94,2.94) {0.25,1.25}
    Total: 21032 W: 1116 L: 974 D: 18942
    Ptnml(0-2): 20, 837, 8664, 971, 24
    https://tests.stockfishchess.org/tests/view/5f522eaaba100690c5cc5f8c
    
    closes #3107
    
    Bench: 4109324
    SFisGOD authored and vondele committed Sep 4, 2020
    Configuration menu
    Copy the full SHA
    d539da1 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2020

  1. Bug fix in do_null_move() and NNUE simplification.

    This fixes #3108 and removes some NNUE code that is currently not used.
    
    At the moment, do_null_move() copies the accumulator from the previous
    state into the new state, which is correct. It then clears the "computed_score"
    flag because the side to move has changed, and with the other side to move
    NNUE will return a completely different evaluation (normally with changed
    sign but also with different NNUE-internal tempo bonus).
    
    The problem is that do_null_move() clears the wrong flag. It clears the
    computed_score flag of the old state, not of the new state. It turns out
    that this almost never affects the search. For example, fixing it does not
    change the current bench (but it does change the previous bench). This is
    because the search code usually avoids calling evaluate() after a null move.
    
    This PR corrects do_null_move() by removing the computed_score flag altogether.
    The flag is not needed because nnue_evaluate() is never called twice on a position.
    
    This PR also removes some unnecessary {}s and inserts a few blank lines
    in the modified NNUE files in line with SF coding style.
    
    Resulf ot STC non-regression test:
    LLR: 2.95 (-2.94,2.94) {-1.25,0.25}
    Total: 26328 W: 3118 L: 3012 D: 20198
    Ptnml(0-2): 126, 2208, 8397, 2300, 133
    https://tests.stockfishchess.org/tests/view/5f553ccc2d02727c56b36db1
    
    closes #3109
    
    bench: 4109324
    syzygy1 authored and vondele committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    fc27d15 View commit details
    Browse the repository at this point in the history
  2. Always re-enable NNUE after "bench".

    Restore the default NNUE setting (enabled) after a bench command.
    This also makes the resulting program settings independent of the
    number of FENs that are being benched.
    
    Fixes issue #3112.
    
    closes #3113
    
    No functional change.
    gcp authored and vondele committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    d2562cd View commit details
    Browse the repository at this point in the history
  3. Double probability of using classical eval

    This patch doubles the moderate imbalance threshold and probability of using classical eval.
    So now if imbalance is greater than PawnValueMg / 4 then there is a 1/8 chance of using classical eval.
    
    STC:
    LLR: 2.93 (-2.94,2.94) {-0.25,1.25}
    Total: 10984 W: 1303 L: 1140 D: 8541
    Ptnml(0-2): 58, 867, 3489, 1010, 68
    https://tests.stockfishchess.org/tests/view/5f554c9f97da2d5437d3813e
    
    LTC:
    LLR: 2.95 (-2.94,2.94) {0.25,1.25}
    Total: 43064 W: 2476 L: 2276 D: 38312
    Ptnml(0-2): 37, 1985, 17308, 2145, 57
    https://tests.stockfishchess.org/tests/view/5f55690a00a0aa2ca79f0a43
    
    closes #3114
    
    Bench: 4161067
    SFisGOD authored and vondele committed Sep 8, 2020
    Configuration menu
    Copy the full SHA
    0405f35 View commit details
    Browse the repository at this point in the history
Loading