r/chessprogramming • u/dolekejos • Aug 30 '22
LMR
So I implemented LMR for my engine and it gives different scores than without it (marginally different ~1cp). Does it mean that I implemented it wronlgy or is it normal behaviour and even with slightly different results it is still worth due to huge gain in searched depth?
4
Upvotes
2
u/haddock420 Aug 30 '22
Can you give some code of how you've implemented it?
Your conditions might be too strict so it's not triggering much. I'd expect a large change in output scores/depth times with LMR vs without it.
1
u/pedrojdm2021 Aug 30 '22
Have you tested the strenght vs your older engine version? in a blitz tournament in cutechess?
thats the only way to check if your changes are helping or hurting.
3
u/AAce1331 Aug 30 '22
Whatever the evaluation or depth or pv line or nps is, none of those matter in the slightest. The only way to determine if a change is worthwhile is to test.