Hi Thomas.tpetzke wrote:Hi,
I have no insights into Komodos eval but if he would consider a White pawn at g5 in this position good it would have no trouble finding g4 even if the bonus is not applied with a pawn on the 4th rank already. That is how search works.
In my engines eval I award a bonus for a pawn storm mainly in positions where the kings have castled to opposite sides.
So I discourage pawns from advancing if they are part of the own king shelter. If the penalty for a weaker shelter is higher than the bonus for a storming pawn the pawn will not be moved.
To ask a question in a Henk-van-den-Beltian manner, are you sure that if a bonus is not applied with a storming pawn on the 4th rank, the search will always necessarily find the g4-g5 advance, if a storming pawn on g5 is considered good? Probably a layman's question, but I have to ask it.
That is the trick, how could you see that g4 is good at ply 1, when you probably need some 10 plies more to see that the enemy king safety will suffer even worse because of the attacking pawn, and thus its push be justified? I think you can safely dispense bonus points for all storming pawns constituting part of the king shelter, whenever the opponent does not have any visible counterplay; or when, according to your own eval, for a series of moves (say 5 consecutive), you have a good positive eval, but it does not increase, meaning you are not finding the right way. So then you can risk, as the risk might bring you dividends. I think theory of sacrifices might very well run along the same lines: you have a good positive score, you do not increase it for a number of consecutive moves, and therefore you attempt a sacrifice, which should have decent chances of success, as when your eval score is real, there must be a way to increase it even further.
As opposite-side castlings occur pretty rarely, I think iCE (why I am tempted to write ice or Ice instead?

Thanks again for informing me how storming works in some engines, I was really clueless.
And please excuse me for any inaccuracies/funny things I have suggested.