lynx-chess / Lynx

Chess Engine, written in C#
https://lichess.org/@/Lynx_BOT
MIT License
47 stars 4 forks source link

⚖️ Enemy king distance to passed pawn #954

Closed eduherminio closed 2 months ago

eduherminio commented 2 months ago

Tuned values:

    public static readonly TaperedEvaluationTermByRank EnemyKingDistanceToPassedPawnPenalty =
    [
        Pack(0, 0),
        Pack(-52, 6),
        Pack(-17, 34),
        Pack(-0, 49),
        Pack(7, 60),
        Pack(22, 68),
        Pack(24, 77),
        Pack(28, 82)
    ];
Test  | eval/passed-pawn-enemy-king-distance
Elo   | -15.39 +- 20.91 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | -0.31 (-2.25, 2.89) [0.00, 3.00]
Games | 542: +148 -172 =222
Penta | [26, 61, 106, 67, 11]
https://openbench.lynx-chess.com/test/670/