That is not what I am asking.Cardoso wrote:Since I don't do TB probes at the root the draw searches are also not done at the root.
What do you mean by "current position"? I suppose the position you are at in the tree?Draw searches are only done if the current position is in the TB and it is a TB draws[/u]
No, my point is that case 1 and case 2 should be treated differently. This is not about probing at the root.So what I do does not fit in your needs since you are asking the root case.
You observed a problem of your engine giving away pieces because of TB probes returning a draw. I have the suspicion that this occurs mostly in case 1.
This is what I do in case 1. Saving time is not the issue, because the position is already won anyway. But I want to have natural looking play, therefore I discard all suboptimal moves and do a search - without TB probing - on the remaining moves.However at case 1 I suppose one could select only the moves with the best TB theoretical value (wdl TBs) and discard the rest. This way you prune worse branches completely and save time.
In case 2 of course I search, so I don't need special heuristics for 7 piece endgames that statically guess the outcome. For 7 piece positions I realy on searching deeper. But for 6 piece positions (when using 6 piece TBs) I know the outcome by probing, so I do not search deeper.At case 2 I really don't know what to do except continue searching the usual way. But maybe you can add specific endgame heuristic knowledge, but since you have TBs with 5 or 6 pieces this means you must add heuristic knowledge to 7 piece endgames and up, and this is too complex.
I don't see any point at all in searching deeper. If the position is a draw, what would you want to return? A value that is not a draw? Why?
Again, in case 1 this is different. If the root position is a draw and the game remains drawn after giving away a piece, you still don't want the engine to give away that piece because that looks awful. But in case 2 the game is usually not yet decided and knowing that a bad looking position is in fact a draw can save half a point - if you use that information.