Equal opponent is it ever wise to use Komodo contempt?

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
Leto
Posts: 2152
Joined: Thu May 04, 2006 3:40 am
Location: Dune

Re: Equal opponent is it ever wise to use Komodo contempt?

Post by Leto »

Laskos wrote:
hgm wrote:Indeed, contempt should just reflect how likely it is your opponent plays poorer than you, (e.g. as Elo difference), and any effect of position score and game phase on the desirability of a draw in this light should be automatically calculated. It would only make sense to adjust it during the game when you know your opponent is (say) especially good in the end-game and below-average for his rating in the middle-game.
Yes, without some special knowledge about the opponent, this dynamic part of Contempt should be in eval. Stockfish seems to behave normally with its Contempt. Against Komodo the optimal Contempt is close to 0 (they are close in general strength, and there is no special knowldge about particular strengths), independently of the opening advantage:

Code: Select all

SF7 Opening Advantage: 120-160cp

Contempt=-30
+361 =108 -31   83.0%

Contempt=0
+379 =87 -34    85.5%

Contempt=30
+379 =79 -42    83.7%


SF7 Opening Disadvantage: 120-160cp

Contempt=-30
+56 =118 -326    23.0%

Contempt=0
+74 =109 -317    25.7%

Contempt=30
+42 =135 -323    21.9%

Good find Kai
User avatar
Nordlandia
Posts: 2845
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

Re: Equal opponent is it ever wise to use Komodo contempt?

Post by Nordlandia »

White: 8-Core i7-5960X
Hash: 4096 MB
Table Memory: 256
Contempt: +25
TBs: 6-Men Syzygy
Ponder: On
---------------------------
Black: 2-Core i5-5200U
Hash: 2048 MB
Contempt Houdini: 0
TBs: 5-Men Syzygy
Ponder: On

[pgn][Event "Auto 232 Game"]
[Site "EXPERT-PC"]
[Date "2016.04.22"]
[Round "1"]
[White "Komodo-9.42-64bit"]
[Black "Houdini 4 Pro"]
[Result "1-0"]
[BlackElo "2000"]
[ECO "A00"]
[Opening "Dunst (Sleipner-Heinrichsen-Van Geet) Opening"]
[Time "17:17:20"]
[WhiteElo "2000"]
[TimeControl "1800+30"]
[Termination "normal"]
[PlyCount "181"]
[WhiteType "program"]
[BlackType "program"]

1. Nc3 Na6 2. Ne4 Nb4 3. Nc3 Nxa2 4. Nb1 Nb4 5. Nc3 Na6 6. Nb1 Nb8 7. Nf3
Nf6 8. Nh4 Ng4 9. Nf3 Nxh2 10. Ng1 Ng4 11. Nf3 Nh6 12. Ng1 Rg8 13. Nf3 Rh8
14. Ng1 Ng8 15. Nc3 Nc6 16. Nb1 Rb8 17. Nc3 Ra8 18. Nb1 Nb8 19. e4 {0.00/30
101} c5 20. c3 {0.00/30 0} Nc6 21. Nf3 {-0.14/30 196} Nf6 22. e5 {0.00/28
90} Ng4 23. Ng5 {+0.14/30 194} Ngxe5 24. d4 {+0.35/29 59} f6 25. Nxh7
{+0.66/29 106} cxd4 26. cxd4 {+0.66/30 53} Nf7 27. d5 {+0.68/31 137} Nb4
28. Nc3 {+0.74/30 43} b6 29. Bd3 {+0.60/31 14} Nxd3+ 30. Qxd3 {+0.60/31 3}
Qc7 31. Qg6 {+0.64/33 26} Qd6 32. Be3 {+0.64/33 323} Bb7 33. Rh3 {+0.64/32
268} f5 34. Qxf5 {+0.64/32 0} e6 35. Qh5 {+0.64/32 0} Bxd5 36. Qg6
{+0.63/34 147} Rxh7 37. Rxh7 {+0.67/31 31} Bc6 38. Kf1 {+0.65/33 77} e5 39.
Qf5 {+0.57/31 114} Qb4 40. Re1 {+0.66/33 240} Qc4+ 41. Kg1 {+0.75/33 87}
Qe6 42. Qxe6+ {+0.69/32 78} dxe6 43. f3 {+0.69/32 91} Rc8 44. Rh4 {+0.75/32
64} Kd7 45. Rc4 {+0.69/36 125} Kc7 46. Ne4 {+0.56/35 61} Kb7 47. Rd1
{+0.56/35 0} Be7 48. Kf2 {+0.56/35 0} Bh4+ 49. g3 {+0.56/33 53} Be7 50. g4
{+0.58/36 51} Rf8 51. Rdc1 {+0.51/37 52} Rc8 52. R4c2 {+0.54/34 74} Bh4+
53. Kg1 {+0.53/36 121} Be7 54. Kh2 {+0.52/36 10} Rc7 55. Rd1 {+0.60/31 25}
Rc8 56. Kg2 {+0.50/33 194} Rf8 57. Rdc1 {+0.52/32 40} Rc8 58. Kh3 {+0.53/32
26} Rh8+ 59. Kg3 {+0.53/32 0} Rc8 60. Rd2 {+0.54/33 50} Rf8 61. g5
{+0.54/33 0} Bd5 62. Rdc2 {+0.54/33 0} Nd6 63. Rc7+ {+0.54/33 0} Kb8 64.
Kg2 {+0.60/34 34} Bd8 65. Rd7 {+0.60/33 31} Nxe4 66. fxe4 {+0.67/36 11}
Bxe4+ 67. Kg3 {+0.67/36 0} g6 68. Rc3 {+0.64/34 22} Rh8 69. b4 {+0.95/32
55} a6 70. Bc1 {+0.97/30 30} Bd5 71. Rg7 {+0.97/30 0} Be4 72. b5 {+2.11/33
33} Bf5 73. Kf2 {+2.11/33 0} axb5 74. Ba3 {+2.11/33 0} Rh2+ 75. Kg1
{+2.11/33 0} Rd2 76. Rc6 {+2.11/33 0} Bxg5 77. Bd6+ {+3.05/34 36} Rxd6 78.
Rxd6 {+3.37/34 39} Kc8 79. Kf2 {+3.50/35 28} Bh4+ 80. Ke2 {+3.50/35 0} Bg4+
81. Kf1 {+3.50/35 0} Bf6 82. Rf7 {+250.00/53 93} Bg5 83. Rc6+ {+250.00/52
40} Kd8 84. Rxb6 {+250.00/48 35} Ke8 85. Rh7 {+250.00/48 65} Bf5 86. Kf2
{+250.00/53 111} Be4 87. Rxe6+ {+250.00/52 26} Kd8 88. Rxe5 {+250.00/60 52}
Bf5 89. Rxb5 {+250.00/62 62} Kc8 90. Re5 {+250.00/65 67} Bf6 91. Re8
{+250.00/77 82 Black resigns} 1-0[/pgn]

Interesting imbalance:

[d]1k6/6R1/1p1Rp1p1/1p2pbb1/8/8/8/6K1 b - - 0 78
lkaufman
Posts: 6300
Joined: Sun Jan 10, 2010 6:15 am
Location: Maryland USA
Full name: Larry Kaufman

Re: Equal opponent is it ever wise to use Komodo contempt?

Post by lkaufman »

Were the unbalanced positions you used materially unbalanced (a pawn or more), or just positionally unbalanced?
Komodo rules!
User avatar
Nordlandia
Posts: 2845
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

Re: Equal opponent is it ever wise to use Komodo contempt?

Post by Nordlandia »

lkaufman wrote:Were the unbalanced positions you used materially unbalanced (a pawn or more), or just positionally unbalanced?
[d]rnbqkbnr/pppppppp/8/8/8/8/1PPPPPP1/RNBQKBNR w KQ - 0 1

Two rooks pawns for no castling rights for black.

I used contempt of +20 and +25 respectively.

I can reverse the colors, e.g Houdini play black (8-Core), - Komodo on (2-core) to see how it turns out.
Last edited by Nordlandia on Fri Apr 22, 2016 10:03 pm, edited 2 times in total.
User avatar
Laskos
Posts: 10948
Joined: Wed Jul 26, 2006 10:21 pm
Full name: Kai Laskos

Re: Equal opponent is it ever wise to use Komodo contempt?

Post by Laskos »

lkaufman wrote:Were the unbalanced positions you used materially unbalanced (a pawn or more), or just positionally unbalanced?
Some 1500 positions Stockfish evaluated as 120-160cp. The majority are material or obvious captures, but there are some just positionally unbalanced too.
mjlef
Posts: 1494
Joined: Thu Mar 30, 2006 2:08 pm

Re: Equal opponent is it ever wise to use Komodo contempt?

Post by mjlef »

Laskos wrote:
lkaufman wrote:Were the unbalanced positions you used materially unbalanced (a pawn or more), or just positionally unbalanced?
Some 1500 positions Stockfish evaluated as 120-160cp. The majority are material or obvious captures, but there are some just positionally unbalanced too.
We are trying to reproduce your results. Were the positions selected via a static eval, or a full search? If search, how deep?

The hard part of using the best score form the root, and changing the Contempt, is that each time you do it you would have to clear the various evaluation hashes and main Hash table, which is going to kill search efficiency. But it could be worth it maybe once during the game. If the positions were selected with a static eval, then this does not matter.

Mark
User avatar
Laskos
Posts: 10948
Joined: Wed Jul 26, 2006 10:21 pm
Full name: Kai Laskos

Re: Equal opponent is it ever wise to use Komodo contempt?

Post by Laskos »

mjlef wrote:
Laskos wrote:
lkaufman wrote:Were the unbalanced positions you used materially unbalanced (a pawn or more), or just positionally unbalanced?
Some 1500 positions Stockfish evaluated as 120-160cp. The majority are material or obvious captures, but there are some just positionally unbalanced too.
We are trying to reproduce your results. Were the positions selected via a static eval, or a full search? If search, how deep?

The hard part of using the best score form the root, and changing the Contempt, is that each time you do it you would have to clear the various evaluation hashes and main Hash table, which is going to kill search efficiency. But it could be worth it maybe once during the game. If the positions were selected with a static eval, then this does not matter.

Mark
Search 100ms of Stockfish. Depths were 10-12 or so. Also, positions were early middlegame. I built these kinds if opening suites about half a year ago for other purposes, they came in handy to test what Larry said.
User avatar
Nordlandia
Posts: 2845
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

Re: Equal opponent is it ever wise to use Komodo contempt?

Post by Nordlandia »

White: Komodo 9.42 | i5-5200U [2-Core]
2048 MB hash
Ponder: On
5-Men Syzygy
Contempt for white +30
Table Memory 256

Black: Houdini 4 Pro | i7-5960X 4.1GHz
Contempt: 0
Hash: 4096 MB
TBs: 6-Men Syzygy

[pgn][Event "Auto 232 Game"]
[Site "EXPERT-PC"]
[Date "2016.04.22"]
[Round "1"]
[White "Komodo 9.42"]
[Black "Houdini_4_Pro_x64B"]
[Result "1/2-1/2"]
[ECO "A00"]
[WhiteElo "2000"]
[BlackElo "2000"]
[SetUp "1"]
[FEN "rnbqkbnr/pppppppp/8/8/8/8/1PPPPPP1/RNBQKBNR w KQ - 0 19"]
[PlyCount "188"]
[EventDate "2016.??.??"]

19. e4 c5 20. Nf3 Nc6 21. d4 cxd4 (21... cxd4 22. Nxd4 a6 {-0.38/25 Komodo 9.3
64-bit}) 22. Nxd4 (22. Nxd4 Nf6 23. Nc3 {-0.18/18 Komodo 8 32-bit}) 22... g6 (
22... g6 23. Be3 Bg7 {-0.37/24 Stockfish 5 64 SSE4.2}) 23. Bc4 (23. Bc4 {
-0.22/22 Komodo 9.02 64-bit}) 23... Bg7 (23... h5 24. Nxc6 bxc6 {-0.67/26
Stockfish 090416 64 POPCNT}) 24. Nxc6 (24. Nxc6 bxc6 25. Bd2 {-0.60/25
Stockfish 5 64 SSE4.2}) 24... bxc6 (24... bxc6 25. O-O h5 {-0.78/20 Deep Fritz
14 x64}) 25. Qf3 (25. Qf3 e6 26. Nc3 {-0.57/24 Stockfish 7 64}) 25... e6 (25...
e6 26. Nc3 h5 {-0.54/15 Deep Rybka 4 SSE42 x64}) 26. Nc3 (26. O-O h5 27. Bb3 {
-0.72/17 Fritz 11 SE}) 26... h5 (26... h5 27. Bf4 Nh6 {-0.90/19 Deep Fritz 14
x64}) 27. Bf4 (27. Be2 a5 28. Bf4 {-1.66/20 Houdini 3 x64}) 27... Nh6 (27... a5
28. Bd6 {-0.40/26 Stockfish 6 x64}) 28. Qg3 (28. Bd6 Ng4 29. Qg3 {-1.59/11
Fritz 6 Light}) 28... Ng4 (28... Ng4 29. f3 e5 {-0.20/30 Komodo 9.42 64-bit +
Powerbook 2016 + Full syzygy TB on SSD}) 29. Bd6 f5 30. Be2 (30. Be2 Kf7 31.
Bxg4 {-0.51/25 Stockfish 5 64 SSE4.2}) 30... h4 (30... h4 31. Qf4 Bh6 {-0.57/
20 Deep Fritz 13}) 31. Qf4 (31. Qf4 {-0.31/22 Komodo 8 64-bit}) 31... Bh6 (
31... Bh6 32. Qf3 {-0.20/24 Komodo 9.42 64-bit 2CPU}) 32. Qf3 (32. Qf3 {
-0.58/23 Stockfish 7 64}) 32... Qf6 (32... Qf6 33. exf5 gxf5 {-0.15/25
Stockfish 150316 64}) 33. exf5 (33. exf5 {-0.96/20 Deep Fritz 14 x64}) 33...
exf5 (33... exf5 34. Rd1 Ne5 {-0.86/26 Stockfish 090416 64 POPCNT}) 34. Nb5 (
34. Nb5 Kf7 {-0.74/26 Komodo 9.42 64-bit}) 34... Kf7 (34... Kf7 35. O-O {
-0.57/21 Deep Fritz 14 x64}) 35. O-O cxb5 (35... cxb5 {-0.86/27 Stockfish 7 64}
) 36. Rfd1 Qe6 (36... Qe6 37. Bxb5 Be3 {-0.53/20 Deep Fritz 14 x64}) 37. Bxb5 (
37. Bxb5 Kg7 {-0.84/25 Stockfish 7 64 POPCNT}) 37... Kg7 38. Bb4 (38. Ra4 Re8
39. Rxg4 {-1.18/28 Stockfish 5 64 SSE4.2}) 38... Rb8 (38... Rb8 {-1.30/21
Houdini 4 Pro x64}) 39. Re1 (39. Re1 {-0.74/20 Komodo 6 64-bit}) 39... Qf7 (
39... Qf7 40. Qc3+ Kh7 {-1.63/18 Fritz 11 SE}) 40. Qd3 (40. Qc3+ Kh7 41. Re7 {
-1.63/26 Stockfish 4 64}) 40... Bg5 41. f3 (41. f3 Rxb5 {-0.33/27 Stockfish
090416 64 POPCNT}) 41... Rxb5 (41... Rxb5 42. Qxb5 {-0.37/27 Komodo 9.3 64-bit}
) 42. Qxb5 (42. Qxb5 Nh6 43. Rxa7 {-0.16/19 Fritz 11 SE}) 42... Nh6 43. Bc3+ (
43. Rxa7 Bf6 {-0.44/31 Stockfish 6 x64}) 43... Bf6 (43... Bf6 44. Qc5 Bxc3 {
-0.40/27 Komodo 9.02 64-bit}) 44. Qc5 (44. Qc5 Bxc3 45. bxc3 {-0.16/26 Komodo
9.1 32-bit}) 44... Bxc3 (44... Bxc3 45. bxc3 Qf6 {0.00/22 Houdini 3 Pro x64})
45. bxc3 Qf6 (45... Qf6 46. Rxa7 Nf7 {-0.55/28 Stockfish 7 64}) 46. Rxa7 (46.
Rxa7 {-0.64/25 Deep Fritz 14 x64}) 46... Nf7 (46... Nf7 47. Rc7 {-0.22/30
Komodo 9.42 64-bit}) 47. Rc7 (47. Rc7 h3 48. Rxc8 {-0.40/24 Houdini 3 Pro x64})
47... h3 (47... h3 48. Rxc8 Rxc8 {-0.37/24 Houdini 4 Pro x64}) 48. Rxc8 Rxc8 (
48... Rxc8 49. Qxc8 Qb6+ {-0.60/24 Fritz 13}) 49. Qxc8 (49. Qxc8 Qb6+ 50. Kh1 {
-0.96/28 Stockfish 5 64 SSE4.2}) 49... Qb6+ 50. Kh1 (50. Kh1 Qf2 51. Rg1 {
-0.62/31 Stockfish 7 64}) 50... Qf2 (50... Qf2 51. Rg1 Ne5 {-0.89/34 Stockfish
5 64 SSE4.2}) 51. Rg1 (51. Rg1 Ne5 52. Qd8 {-0.58/23 Deep Fritz 14 x64}) 51...
Ne5 (51... Ne5 52. Qd8 Kf7 {-0.76/24 Deep Fritz 13}) 52. Qd8 (52. Qd8 Kf7 53.
Qh8 {-0.46/31 Stockfish 7 64 BMI2}) 52... Kf7 (52... Kf7 53. Qh8 hxg2+ {
-0.59/23 Deep Fritz 14}) 53. Qh8 (53. Qh8 hxg2+ 54. Rxg2 {-0.77/32 Stockfish 6
64}) 53... hxg2+ (53... hxg2+ 54. Rxg2 Qf1+ {-0.71/21 Deep Fritz 13}) 54. Rxg2
(54. Rxg2 Qf1+ 55. Rg1 {-0.66/24 Deep Fritz 14 x64}) 54... Qf1+ (54... Qf1+ 55.
Rg1 Qxf3+ {-0.21/33 Komodo 9.42 64-bit + Powerbook 2016 + Full syzygy TB on SSD
}) 55. Rg1 (55. Rg1 Qxf3+ 56. Rg2 {-0.86/33 Stockfish 5 64 SSE4.2}) 55... Qxf3+
56. Rg2 Qxc3 (56... Qxc3 57. Qh7+ Ke6 {-0.27/28 Komodo 9.42 64-bit}) 57. Qh7+ (
57. Qh7+ Ke6 58. Qg8+ {-0.50/29 Stockfish 7 64}) 57... Ke6 (57... Ke6 58. Qg8+
Ke7 {-0.32/27 Komodo 9.02 64-bit}) 58. Qg8+ (58. Qg8+ Ke7 59. Qh7+ {-0.45/26
Komodo 8 64-bit}) 58... Ke7 (58... Kf6 59. Qh8+ Kf7 {-0.58/23 Deep Fritz 14 x64
}) 59. Qh7+ (59. Qh7+ Kd8 60. Qh4+ {-0.77/28 Stockfish 5 64 SSE4.2}) 59... Kd8
60. Qh4+ (60. Qh4+ Kc8 61. Qg3 {-0.26/28 Komodo 9.42 64-bit 2CPU}) 60... Kc7 (
60... Kc7 61. Qf4 Qe1+ {-0.45/30 Stockfish 090416 64 POPCNT}) 61. Qf4 (61. Qf4
d6 62. Re2 {-0.72/29 Stockfish 5 64 SSE4.2}) 61... Qe1+ (61... Qe1+ 62. Rg1 Qe2
{-0.42/24 Komodo 8 64-bit}) 62. Rg1 Qe2 (62... Qe2 63. Rf1 d6 {-0.33/23
Houdini 3 x64}) 63. Rf1 (63. Rf1 Kd6 64. Rf2 {-0.48/25 Stockfish 7 64 POPCNT})
63... Kd6 (63... d5 64. Kg1 Qe4 {-0.75/22 Deep Fritz 14}) 64. Rf2 (64. Rf2 Qd1+
65. Kg2 {-0.39/24 Houdini 4 Pro x64}) 64... Qh5+ (64... Qg4 65. Qe3 {-0.61/22
Deep Fritz 14 x64}) 65. Kg2 (65. Kg2 Ke6 {-0.28/28 Komodo 9.02 64-bit}) 65...
Ke6 66. Qb4 (66. Qe3 {-0.34/28 Stockfish 090416 64 POPCNT}) 66... d6 (66...
Qg4+ 67. Qxg4 Nxg4 {-0.37/23 Komodo 6 64-bit}) 67. Qb3+ (67. Qb8 Qg4+ 68. Kf1 {
-0.60/22 Deep Fritz 14 x64}) 67... Kf6 (67... Kf6 68. Qb4 Qd1 {-0.11/31 Komodo
9.42 64-bit}) 68. Qb4 (68. Qb8 Qg4+ 69. Kf1 {-0.77/27 Stockfish 6 x64}) 68...
Qd1 (68... Qd1 69. Qh4+ Ke6 {-0.70/31 Stockfish 5 64 SSE4.2}) 69. Qh4+ Ke6 (
69... Ke6 70. Qh6 Qd5+ {-0.62/24 Deep Fritz 14 x64}) 70. Qh6 (70. Qa4 Kf6 71.
Qh4+ {-0.43/21 Deep Fritz 13}) 70... Qd5+ 71. Kf1 (71. Kf1 Qa8 {-0.22/29
Komodo 9.3 64-bit}) 71... Qa8 (71... Qa8 72. Qg7 {-0.53/29 Stockfish 6 64}) 72.
Qg7 (72. Qg7 Qh1+ 73. Ke2 {-0.58/22 Deep Fritz 14}) 72... Qh1+ (72... Qh1+ 73.
Ke2 Qe4+ {-0.60/23 Deep Fritz 14 x64}) 73. Ke2 (73. Ke2 Qh4 {-0.75/24 Deep
Fritz 14 x64}) 73... Qh5+ (73... Qh5+ 74. Ke1 Qh4 {-0.68/22 Deep Fritz 14 x64})
74. Ke1 Qh4 75. Qg8+ (75. Qg8+ Kd7 76. Qg7+ {-0.01/30 Komodo 9.42 64-bit})
75... Kd7 (75... Ke7 76. Qg7+ Ke8 {-0.45/23 Komodo 6 64-bit}) 76. Qg7+ Qe7 (
76... Kd8 77. Qg8+ Kc7 {-0.04/26 Komodo 9.02 64-bit}) 77. Qxe7+ (77. Qxe7+ Kxe7
78. Rf1 {-0.05/35 Komodo 9.3 64-bit}) 77... Kxe7 (77... Kxe7 78. Ke2 Kf6 {
-0.10/33 Komodo 9.3 64-bit}) 78. Ke2 (78. Ke2 Kf6 79. Rf1 {0.00/40 Komodo 9.42
64-bit + Powerbook 2016 + Full syzygy TB on SSD}) 78... Kf6 (78... Kf6 79. Rf1
g5 {-0.14/36 Stockfish 7 64}) 79. Rh2 (79. Rh2 f4 80. Rh8 {-0.07/35 Stockfish
7 64}) 79... f4 80. Rh8 g5 (80... g5 81. Rf8+ Ke6 {-0.45/27 Fritz 11 SE}) 81.
Rg8 g4 (81... g4 82. Kf2 Ng6 {-1.17/29 Fritz 15}) 82. Kf2 (82. Kf2 Ng6 83. Kf1
{-0.20/42 Stockfish 7 64 BMI2}) 82... Kf5 (82... Kf5 83. Rf8+ {-0.13/38
Stockfish 150316 64}) 83. Rd8 (83. Rf8+ Ke4 84. Rg8 {0.00/52 Stockfish 5 64
SSE4.2}) 83... Ke6 84. Re8+ (84. Re8+ Kf7 85. Rb8 {0.00/39 Stockfish 7 64
POPCNT}) 84... Kf7 (84... Kf7 85. Rb8 Nc4 {-0.56/43 Stockfish 5 64 SSE4.2}) 85.
Rd8 (85. Ra8 Nc4 86. Ra4 {-1.28/16 Fritz 6 Light}) 85... Nc4 86. Rd7+ (86. Rd7+
Kf6 87. Rd8 {-0.63/26 Houdini 4 Pro x64}) 86... Kf6 (86... Ke6 87. Rg7 Ne5 {
-0.52/28 Komodo 8 32-bit}) 87. Rd8 (87. Rd8 Kf7 88. Rd7+ {-0.97/25 Deep Fritz
14 x64}) 87... f3 (87... Ke7 88. Rg8 Ne5 {-0.32/41 Stockfish 7 64 BMI2}) 88.
Re8 (88. Kg3 Ke5 89. Rf8 {0.00/41 Stockfish 7 64}) 88... d5 (88... d5 89. Kg3
Kf7 {0.00/42 Stockfish 4 64}) 89. Kg3 (89. Kg3 Kf7 90. Re1 {0.00/27 Deep Fritz
14 x64}) 89... Kf5 (89... Kf7 90. Re1 Kg6 {0.00/34 Komodo 8 64-bit}) 90. Rf8+ (
90. Rf8+ Ke4 91. Kxg4 {0.00/35 Komodo 8 64-bit}) 90... Ke4 (90... Ke4 91. Kxg4
Ne3+ {0.00/46 Komodo 9.42 64-bit}) 91. Kxg4 (91. Kxg4 Ne3+ 92. Kg3 {0.00/40
Komodo 9.1 32-bit}) 91... Ne3+ (91... Ne3+ 92. Kg3 Nxc2 {0.00/31 Deep Fritz 14
x64}) 92. Kg3 (92. Kg3 Nxc2 93. Re8+ {0.00/93 Stockfish 090416 64 POPCNT})
92... Nxc2 (92... Nxc2 93. Rxf3 d4 {0.00/64 Stockfish 5 64 SSE4.2}) 93. Re8+
Kd3 94. Kf2 Nb4 95. Re6 Kc3 96. Rd6 Kc4 97. Rf6 d4 98. Rb6 Nd5 99. Rc6+ Kd3
100. Rc8 Ne7 101. Rd8 Nc6 102. Ra8 Ne5 103. Re8 Nc4 104. Re7 Nd2 105. Rd7 Kc3
106. Rd8 d3 107. Rd7 Kc2 108. Rc7+ Kd1 109. Rd7 Ne4+ 110. Kxf3 Nc5 111. Rd4 d2
112. Rxd2+ Kxd2 1/2-1/2[/pgn]
User avatar
Laskos
Posts: 10948
Joined: Wed Jul 26, 2006 10:21 pm
Full name: Kai Laskos

Re: Equal opponent is it ever wise to use Komodo contempt?

Post by Laskos »

lkaufman wrote: Based on Kai's tests, a value of about 40% of the score, with the sign reversed (negative contempt when ahead) should help, which is roughly what I use in the handicap matches.
I tested for a simulation of your handicap matches: Komodo much stronger and in significant opening disadvantage.

Code: Select all

Komodo 12s+0.12s vs Stockfish 2s+0.02s
Disadvantage 200-240cp

Contempt=0
+282 =267 -451    41.6%  

Contempt=+30
+318 =241 -441    43.9%

Contempt=+60
+343 =225 -432    45.6%

Contempt=+90
+355 =222 -423    46.6%    +35 ELO points

Contempt=+120
+336 =207 -457    44.0%
The Contempt seems to improve chances of win by 26%.
lkaufman
Posts: 6300
Joined: Sun Jan 10, 2010 6:15 am
Location: Maryland USA
Full name: Larry Kaufman

Re: Equal opponent is it ever wise to use Komodo contempt?

Post by lkaufman »

We did make a change to Contempt (for Komodo 10) based on your findings, but it is a small change and appears to be worth just one or two elo. But we'll take it, thanks!
Komodo rules!