Hi,
I am new to this forum and started chess programming a couple of months ago. I have a working engine, I am quite happy with it, but noticed that the PV line sometimes shorter than expected. After googling around a bit I have found a couple conversations when this issue comes up.
They usually say that it happens because of the transposition table and I can confirm that switching off the TT makes this issue go away, but the engine gets slower and the PV line and best score also vary between the TT enabled and disabled version.
It is unclear to my if PV line truncation is just a cosmetics issue or it has other deeper implications which changes the behavior of the engine on the long term?
If it has to be fixed my plan is to generate zobrist hash after each move and get best move from the TT until I reach the necessary PV length. Is that the right way to do it?
Thanks,