For the experience file, there can't be two entries for the same position's hashKey, because, if there is another (or the same) move, but with a greater depth, the entry is updated.
For the contempt, stockfish uses contempt here:
Code: Select all
Score score = pos.psq_score() + me->imbalance() + pos.this_thread()->contempt;
There was also a recent discussion on discord channel and it was confirmed this:
https://discord.com/channels/4359437104 ... 6409731082
Someone also proposed to completely remove it.
ShashChess, anyway, has always contempt to 0 (and also no dynamic contempt).
Infact, it must correctly define a position nature based on score and with contempt this is misleading.
After by choosing personalities, you can bootstraap an analysis/game play based on your needs.
Andrea