lila icon indicating copy to clipboard operation
lila copied to clipboard

Cached move analysis not changing when best move is different with a newer stockfish

Open mrobaczyk opened this issue 2 years ago • 2 comments

Correct me if I'm wrong, but in this position:

https://lichess.org/analysis/8/2pp2pp/8/2PP1P2/1p5k/8/PP4p1/6K1_w_-_-_0_1?color=white#0

for 1 PV line the best move is Kxg2 at depth 52. When I hit the plus it instantly sees f6 as winning. After I analyze to about depth 25 it does not replace the cached result despite lower depth. But this is a known study where white is winning with f6.

Probably the cached move was done with weaker stockfish. Maybe stockfish version should also somehow override earlier deep analysis.

image

mrobaczyk avatar Sep 01 '22 10:09 mrobaczyk

After giving it a little bit more thought it's unclear for me how it should exactly work. The SF version on lichess is changing very often, right? Given that, maybe the cached analysis should have a time expire (let's say 1 year or so) so eventually in this position it would get replaced with f6.

mrobaczyk avatar Sep 05 '22 07:09 mrobaczyk

The SF version on lichess is changing very often, right?

Depends on what you consider "very often". They are currently using a +1yo version.

https://github.com/official-stockfish/Stockfish/commit/1946a675

image

dav1312 avatar Sep 10 '22 11:09 dav1312