jnlt3 / blackmarlin

WIP Chess Engine
GNU General Public License v3.0
95 stars 7 forks source link

Change replacement scheme formula to have more precision #255

Closed jnlt3 closed 7 months ago

jnlt3 commented 7 months ago

Precision is lost during integer division of depth and age, this patch fixes it.

STC Simplification:

Elo   | 1.78 +- 3.59 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=8MB
LLR   | 2.99 (-2.94, 2.94) [-4.00, 0.00]
Games | N: 17392 W: 4250 L: 4161 D: 8981
Penta | [154, 2012, 4304, 2043, 183]

LTC Simplification (Rebased):

Elo   | 1.30 +- 3.28 (95%)
SPRT  | 40.0+0.40s Threads=1 Hash=64MB
LLR   | 2.96 (-2.94, 2.94) [-4.00, 0.00]
Games | N: 19448 W: 4443 L: 4370 D: 10635
Penta | [46, 2228, 5117, 2273, 60]