Odd stockfish result

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

jwes
Posts: 778
Joined: Sat Jul 01, 2006 7:11 am

Odd stockfish result

Post by jwes »

In this position:
[d]1r3bk1/2R2pp1/2Q1p2p/q3P3/3P4/5N1P/5PP1/6K1 b - - 3 1

stockfish thinks that rb6 wins the queen at plies 3-4. I would guess that this is very agressive LMR.

Code: Select all

ucinewgame
position fen 1r3bk1/2R2pp1/2Q1p2p/q3P3/3P4/5N1P/5PP1/6K1 b - - 3 1
go depth 7
info depth 1 seldepth 2 multipv 1 score cp -15 nodes 68 nps 17000 tbhits 0 time 4 pv a5a2
info depth 2 seldepth 2 multipv 1 score cp 8 nodes 147 nps 29400 tbhits 0 time 5 pv a5a2 g2g3
info depth 3 seldepth 5 multipv 1 score cp 343 nodes 539 nps 59888 tbhits 0 time 9 pv b8b6 c7c8 b6c6 c8c6
info depth 4 seldepth 5 multipv 1 score cp 320 nodes 633 nps 52750 tbhits 0 time 12 pv b8b6 c6b6 a5b6 c7c8
info depth 5 seldepth 8 multipv 1 score cp -84 nodes 2306 nps 104818 tbhits 0 time 22 pv f8b4 c7c8 b8c8 c6c8 g8h7 c8c1 g7g6
info depth 6 seldepth 10 multipv 1 score cp -103 nodes 5301 nps 139500 tbhits 0 time 38 pv a5b5 c6b5 b8b5 c7c8 b5b2 f3e1
info depth 7 seldepth 10 multipv 1 score cp -116 nodes 6884 nps 143416 tbhits 0 time 48 pv a5b5 c6b5 b8b5 g1f1 b5b1 f1e2 f8b4 g2g4
bestmove a5b5 ponder c6b5
User avatar
sje
Posts: 4675
Joined: Mon Mar 13, 2006 7:43 pm

Re: Odd stockfish result

Post by sje »

How can the half move counter equal three when the full move number is only one? The program should have flagged an error.
jwes
Posts: 778
Joined: Sat Jul 01, 2006 7:11 am

Re: Odd stockfish result

Post by jwes »

sje wrote:How can the half move counter equal three when the full move number is only one? The program should have flagged an error.
If I fix it, I get the same result.
[d]1r3bk1/2R2pp1/2Q1p2p/q3P3/3P4/5N1P/5PP1/6K1 b - - 3 34

Code: Select all

ucinewgame
position fen 1r3bk1/2R2pp1/2Q1p2p/q3P3/3P4/5N1P/5PP1/6K1 b - - 3 34
go depth 7
info depth 1 seldepth 2 multipv 1 score cp -15 nodes 68 nps 17000 tbhits 0 time 4 pv a5a2
info depth 2 seldepth 2 multipv 1 score cp 8 nodes 147 nps 21000 tbhits 0 time 7 pv a5a2 g2g3
info depth 3 seldepth 5 multipv 1 score cp 343 nodes 539 nps 38500 tbhits 0 time 14 pv b8b6 c7c8 b6c6 c8c6
info depth 4 seldepth 5 multipv 1 score cp 320 nodes 633 nps 31650 tbhits 0 time 20 pv b8b6 c6b6 a5b6 c7c8
info depth 5 seldepth 8 multipv 1 score cp -84 nodes 2306 nps 69878 tbhits 0 time 33 pv f8b4 c7c8 b8c8 c6c8 g8h7 c8c1 g7g6
info depth 6 seldepth 10 multipv 1 score cp -103 nodes 5301 nps 117800 tbhits 0 time 45 pv a5b5 c6b5 b8b5 c7c8 b5b2 f3e1
info depth 7 seldepth 10 multipv 1 score cp -116 nodes 6884 nps 125163 tbhits 0 time 55 pv a5b5 c6b5 b8b5 g1f1 b5b1 f1e2 f8b4 g2g4
bestmove a5b5 ponder c6b5
zullil
Posts: 6442
Joined: Tue Jan 09, 2007 12:31 am
Location: PA USA
Full name: Louis Zulli

Re: Odd stockfish result

Post by zullil »

jwes wrote:In this position:
[d]1r3bk1/2R2pp1/2Q1p2p/q3P3/3P4/5N1P/5PP1/6K1 b - - 3 1

stockfish thinks that rb6 wins the queen at plies 3-4. I would guess that this is very agressive LMR.

Code: Select all

ucinewgame
position fen 1r3bk1/2R2pp1/2Q1p2p/q3P3/3P4/5N1P/5PP1/6K1 b - - 3 1
go depth 7
info depth 1 seldepth 2 multipv 1 score cp -15 nodes 68 nps 17000 tbhits 0 time 4 pv a5a2
info depth 2 seldepth 2 multipv 1 score cp 8 nodes 147 nps 29400 tbhits 0 time 5 pv a5a2 g2g3
info depth 3 seldepth 5 multipv 1 score cp 343 nodes 539 nps 59888 tbhits 0 time 9 pv b8b6 c7c8 b6c6 c8c6
info depth 4 seldepth 5 multipv 1 score cp 320 nodes 633 nps 52750 tbhits 0 time 12 pv b8b6 c6b6 a5b6 c7c8
info depth 5 seldepth 8 multipv 1 score cp -84 nodes 2306 nps 104818 tbhits 0 time 22 pv f8b4 c7c8 b8c8 c6c8 g8h7 c8c1 g7g6
info depth 6 seldepth 10 multipv 1 score cp -103 nodes 5301 nps 139500 tbhits 0 time 38 pv a5b5 c6b5 b8b5 c7c8 b5b2 f3e1
info depth 7 seldepth 10 multipv 1 score cp -116 nodes 6884 nps 143416 tbhits 0 time 48 pv a5b5 c6b5 b8b5 g1f1 b5b1 f1e2 f8b4 g2g4
bestmove a5b5 ponder c6b5
No seeing this with the latest Stockfish development version. But this rings a bell. Perhaps it was fixed with a recent patch. What version of Stockfish do you have?

Code: Select all

Stockfish 310715 64 BMI2 by Tord Romstad, Marco Costalba and Joona Kiiski
setoption name Threads value 1
setoption name Hash value 16
position fen 1r3bk1/2R2pp1/2Q1p2p/q3P3/3P4/5N1P/5PP1/6K1 b - - 3 34
d  

 +---+---+---+---+---+---+---+---+
 |   | r |   |   |   | b | k |   |
 +---+---+---+---+---+---+---+---+
 |   |   | R |   |   | p | p |   |
 +---+---+---+---+---+---+---+---+
 |   |   | Q |   | p |   |   | p |
 +---+---+---+---+---+---+---+---+
 | q |   |   |   | P |   |   |   |
 +---+---+---+---+---+---+---+---+
 |   |   |   | P |   |   |   |   |
 +---+---+---+---+---+---+---+---+
 |   |   |   |   |   | N |   | P |
 +---+---+---+---+---+---+---+---+
 |   |   |   |   |   | P | P |   |
 +---+---+---+---+---+---+---+---+
 |   |   |   |   |   |   | K |   |
 +---+---+---+---+---+---+---+---+

Fen: 1r3bk1/2R2pp1/2Q1p2p/q3P3/3P4/5N1P/5PP1/6K1 b - - 3 34
Key: 9365EB952079D30B
Checkers: 
go depth 7
info depth 1 seldepth 2 multipv 1 score cp 5 nodes 69 nps 34500 tbhits 0 time 2 pv a5a2
info depth 2 seldepth 2 multipv 1 score cp 34 nodes 140 nps 46666 tbhits 0 time 3 pv a5a2 g1h2 a2f2
info depth 3 seldepth 3 multipv 1 score cp 34 nodes 209 nps 69666 tbhits 0 time 3 pv a5a2 g1h2 a2f2
info depth 4 seldepth 4 multipv 1 score cp 8 nodes 313 nps 104333 tbhits 0 time 3 pv a5a2 g1h2 a2f2 d4d5
info depth 5 seldepth 5 multipv 1 score cp -8 nodes 1135 nps 227000 tbhits 0 time 5 pv b8b2 c6c3 a5a2 g1h2 b2f2
info depth 6 seldepth 7 multipv 1 score cp -96 nodes 4141 nps 517625 tbhits 0 time 8 pv b8d8 c6c1 h6h5 g1h2 g7g6 c1c2
info depth 7 seldepth 8 multipv 1 score cp -108 nodes 6368 nps 578909 tbhits 0 time 11 pv b8d8 g1h2 d8d4 f3d4 a5e5 g2g3 e5d4 c6c2
bestmove b8d8 ponder g1h2
quit
[EDIT] Related to http://talkchess.com/forum/viewtopic.ph ... highlight=