No it does not. You said that "Cowardice and Contempt 0 are quite alike" when in fact Contempt 0 gives symmetric evaluation in H3 and Cowardice makes Stockfish's king safety asymmetric.shrapnel wrote:Bingo ! Proves my point completely that Cowardice is factored in, in Houdini's Contempt.syzygy wrote:Just see here:
Contempt = 0: symmetric evaluation.
Contempt = 1: piece value imbalance.
Contempt = 2: piece value imbalance and king safety imbalance.
Contempt at 2 is also not Cowardice but rather anti-Cowardice.
What Stockfish's Cowardice is for the engine's king safety, is Stockfish's Aggressiveness for the opponent's king safety. So Contempt = 2 for H3 could be emulated by increasing Aggressiveness and/or lowering Cowardice.
Stockfish's Contempt does not correspond to any of H3's Contempt values. Contempt for Stockfish is simply the "value" of a draw.
Without thinking too deeply about this, I would say H3's Contempt = 1 approach seems more sound that Stockfish's Contempt approach. With enough material left against a weaker opponent, it makes sense to reject an opportunity for a draw by repetition and it makes sense to actually be positive about the engine's winning chances even if objectively the engine's position is slightly inferior. With little material left H3 will not overestimate its position against a weaker opponent and take the draw if objectively the position is slightly inferior.
H3's Contempt = 1 (and = 2) also affects playing style if there is no draw opportunity. Stockfish's Contempt only makes a difference if there are draw opportunities (somewhere in the tree). Stockfish's Cowardice and Aggressiveness compensate for this (but are more focussed on king safety than on material, although the two of course are not independent).
