Compare your engine's performance

Discussion of chess software programming and technical issues.

Moderator: Ras

Chessnut1071
Posts: 313
Joined: Tue Aug 03, 2021 2:41 pm
Full name: Bill Beame

Re: Compare your engine's performance

Post by Chessnut1071 »

amanjpro wrote: Wed Aug 18, 2021 1:09 am Both Ras and Vivien are right, it is mate in 3

Here is what Zahak finds:

Code: Select all


position fen 5k2/ppp2r1p/2p2ppP/8/2Q5/2P2N2/PP4P1/1K1R4 w - - 0 1
go infinite
info depth 1 seldepth 2 hashfull 0 nodes 145 nps 366169 score cp 1411 time 0 pv c4b4 f7e7
info depth 2 seldepth 4 hashfull 0 nodes 687 nps 419104 score cp 1418 time 1 pv c4b4 f7e7 d1d8 f8f7
info depth 3 seldepth 4 hashfull 0 nodes 7594 nps 717092 score cp 1894 time 10 pv c4e6 f7e7 d1d8 e7e8
info depth 4 seldepth 4 hashfull 0 nodes 7968 nps 703978 score cp 2008 time 11 pv c4e6 f7d7 d1d7 b7b5
info depth 5 seldepth 5 hashfull 0 nodes 8662 nps 700099 score mate +2 time 12 pv c4e6 f7d7 d1d7 b7b5 d7d8
bestmove c4e6 ponder f7d7
Negative, that is not forced. Qe6 2. Bxp [e3h6]
Chessnut1071
Posts: 313
Joined: Tue Aug 03, 2021 2:41 pm
Full name: Bill Beame

Re: Compare your engine's performance

Post by Chessnut1071 »

amanjpro wrote: Wed Aug 18, 2021 1:09 am Both Ras and Vivien are right, it is mate in 3

Here is what Zahak finds:

Code: Select all


position fen 5k2/ppp2r1p/2p2ppP/8/2Q5/2P2N2/PP4P1/1K1R4 w - - 0 1
go infinite
info depth 1 seldepth 2 hashfull 0 nodes 145 nps 366169 score cp 1411 time 0 pv c4b4 f7e7
info depth 2 seldepth 4 hashfull 0 nodes 687 nps 419104 score cp 1418 time 1 pv c4b4 f7e7 d1d8 f8f7
info depth 3 seldepth 4 hashfull 0 nodes 7594 nps 717092 score cp 1894 time 10 pv c4e6 f7e7 d1d8 e7e8
info depth 4 seldepth 4 hashfull 0 nodes 7968 nps 703978 score cp 2008 time 11 pv c4e6 f7d7 d1d7 b7b5
info depth 5 seldepth 5 hashfull 0 nodes 8662 nps 700099 score mate +2 time 12 pv c4e6 f7d7 d1d7 b7b5 d7d8
bestmove c4e6 ponder f7d7
Negative on forced mate. 1 Qe6 ...2 Bxp!
amanjpro
Posts: 883
Joined: Sat Mar 13, 2021 1:47 am
Full name: Amanj Sherwany

Re: Compare your engine's performance

Post by amanjpro »

Chessnut1071 wrote: Wed Aug 18, 2021 2:11 am
amanjpro wrote: Wed Aug 18, 2021 1:09 am Both Ras and Vivien are right, it is mate in 3

Here is what Zahak finds:

Code: Select all


position fen 5k2/ppp2r1p/2p2ppP/8/2Q5/2P2N2/PP4P1/1K1R4 w - - 0 1
go infinite
info depth 1 seldepth 2 hashfull 0 nodes 145 nps 366169 score cp 1411 time 0 pv c4b4 f7e7
info depth 2 seldepth 4 hashfull 0 nodes 687 nps 419104 score cp 1418 time 1 pv c4b4 f7e7 d1d8 f8f7
info depth 3 seldepth 4 hashfull 0 nodes 7594 nps 717092 score cp 1894 time 10 pv c4e6 f7e7 d1d8 e7e8
info depth 4 seldepth 4 hashfull 0 nodes 7968 nps 703978 score cp 2008 time 11 pv c4e6 f7d7 d1d7 b7b5
info depth 5 seldepth 5 hashfull 0 nodes 8662 nps 700099 score mate +2 time 12 pv c4e6 f7d7 d1d7 b7b5 d7d8
bestmove c4e6 ponder f7d7
Negative on forced mate. 1 Qe6 ...2 Bxp!
Wait, are we talking about the same position:

[d]5k2/ppp2r1p/2p2ppP/8/2Q5/2P2N2/PP4P1/1K1R4 w - - 0 1

There is no B in this position
amanjpro
Posts: 883
Joined: Sat Mar 13, 2021 1:47 am
Full name: Amanj Sherwany

Re: Compare your engine's performance

Post by amanjpro »

Oh, I just rendered your FEN, and it is an invalid position:

[d]5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/pp4p1/1K1R4
Chessnut1071
Posts: 313
Joined: Tue Aug 03, 2021 2:41 pm
Full name: Bill Beame

Re: Compare your engine's performance

Post by Chessnut1071 »

Chessnut1071 wrote: Wed Aug 18, 2021 12:10 am
amanjpro wrote: Tue Aug 17, 2021 11:51 pm
xr_a_y wrote: Tue Aug 17, 2021 11:33 pm If i read it well, this is a simple mate in 3, no need for engine ?

[d] 5k2/ppp2r1p/2p2ppP/8/2Q5/2P2N2/PP4P1/1K1R4 w - - 0 1
I can find mate in 4, but not 3
The solution is well over 4 moves
FEN:
5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/pp4p1/1K1R4
Chessnut1071
Posts: 313
Joined: Tue Aug 03, 2021 2:41 pm
Full name: Bill Beame

Re: Compare your engine's performance

Post by Chessnut1071 »

amanjpro wrote: Wed Aug 18, 2021 2:13 am
Chessnut1071 wrote: Wed Aug 18, 2021 2:11 am
amanjpro wrote: Wed Aug 18, 2021 1:09 am Both Ras and Vivien are right, it is mate in 3

Here is what Zahak finds:

Code: Select all


position fen 5k2/ppp2r1p/2p2ppP/8/2Q5/2P2N2/PP4P1/1K1R4 w - - 0 1
go infinite
info depth 1 seldepth 2 hashfull 0 nodes 145 nps 366169 score cp 1411 time 0 pv c4b4 f7e7
info depth 2 seldepth 4 hashfull 0 nodes 687 nps 419104 score cp 1418 time 1 pv c4b4 f7e7 d1d8 f8f7
info depth 3 seldepth 4 hashfull 0 nodes 7594 nps 717092 score cp 1894 time 10 pv c4e6 f7e7 d1d8 e7e8
info depth 4 seldepth 4 hashfull 0 nodes 7968 nps 703978 score cp 2008 time 11 pv c4e6 f7d7 d1d7 b7b5
info depth 5 seldepth 5 hashfull 0 nodes 8662 nps 700099 score mate +2 time 12 pv c4e6 f7d7 d1d7 b7b5 d7d8
bestmove c4e6 ponder f7d7
Negative on forced mate. 1 Qe6 ...2 Bxp!
Wait, are we talking about the same position:

[d]5k2/ppp2r1p/2p2ppP/8/2Q5/2P2N2/PP4P1/1K1R4 w - - 0 1

There is no B in this position
FEN:
5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/pp4p1/1K1R4
Chessnut1071
Posts: 313
Joined: Tue Aug 03, 2021 2:41 pm
Full name: Bill Beame

Re: Compare your engine's performance

Post by Chessnut1071 »

amanjpro wrote: Wed Aug 18, 2021 2:14 am Oh, I just rendered your FEN, and it is an invalid position:

[d]5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/pp4p1/1K1R4
my keyboard dropped the Bc3 so I posted the FEN. I had to post it 4 times before it submitted.
amanjpro
Posts: 883
Joined: Sat Mar 13, 2021 1:47 am
Full name: Amanj Sherwany

Re: Compare your engine's performance

Post by amanjpro »

OK, your fen was very wrong, white is in check, and white still has castling right, which confused my engine to death, here is probably the correct fen:

[d]5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/PP4P1/1K1R4 w - - 0 1

Stockfish finds mate in 9 instantly, and took some more time to find mate in 7, Zahak needed to reach depth 28 to find mate in 7:

Code: Select all

info depth 28 seldepth 15 hashfull 779 nodes 113354684 nps 1115465 score mate +7 time 101620 pv c4e6 e3h6 d1d8 f8g7 f3e5 f6e5 e6e5 f7f6 d8d7 g7g8 e5f6 b7b5 f6f7 g8h8 f7h7
Chessnut1071 wrote: Wed Aug 18, 2021 2:25 am
FEN:
5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/pp4p1/1K1R4
Even this fen above is wrong, Please use the FEN tag to render it so you see what you are posting, are you sure this is the position, cant you see white is in check, and it is black's move (or at least that is what assumed):

[d]5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/pp4p1/1K1R4
Chessnut1071
Posts: 313
Joined: Tue Aug 03, 2021 2:41 pm
Full name: Bill Beame

Re: Compare your engine's performance

Post by Chessnut1071 »

amanjpro wrote: Wed Aug 18, 2021 2:37 am OK, your fen was very wrong, white is in check, and white still has castling right, which confused my engine to death, here is probably the correct fen:

[d]5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/PP4P1/1K1R4 w - - 0 1

Stockfish finds mate in 9 instantly, and took some more time to find mate in 7, Zahak needed to reach depth 28 to find mate in 7:

Code: Select all

info depth 28 seldepth 15 hashfull 779 nodes 113354684 nps 1115465 score mate +7 time 101620 pv c4e6 e3h6 d1d8 f8g7 f3e5 f6e5 e6e5 f7f6 d8d7 g7g8 e5f6 b7b5 f6f7 g8h8 f7h7

thanks: sorry about the mistakes, I rushed it too fast I guess: 1. Qe4 ..... starts the forced 7-move mate,
Chessnut1071 wrote: Wed Aug 18, 2021 2:25 am
FEN:
5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/pp4p1/1K1R4
Even this fen above is wrong, Please use the FEN tag to render it so you see what you are posting, are you sure this is the position, cant you see white is in check, and it is black's move (or at least that is what assumed):

[d]5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/pp4p1/1K1R4
Chessnut1071
Posts: 313
Joined: Tue Aug 03, 2021 2:41 pm
Full name: Bill Beame

Re: Compare your engine's performance

Post by Chessnut1071 »

Chessnut1071 wrote: Wed Aug 18, 2021 2:57 am
amanjpro wrote: Wed Aug 18, 2021 2:37 am OK, your fen was very wrong, white is in check, and white still has castling right, which confused my engine to death, here is probably the correct fen:

[d]5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/PP4P1/1K1R4 w - - 0 1

Stockfish finds mate in 9 instantly, and took some more time to find mate in 7, Zahak needed to reach depth 28 to find mate in 7:



what about 4. Rf6. This should stop the forced 7 move mate if Ne5. The listed move 4 Nd4

Code: Select all

info depth 28 seldepth 15 hashfull 779 nodes 113354684 nps 1115465 score mate +7 time 101620 pv c4e6 e3h6 d1d8 f8g7 f3e5 f6e5 e6e5 f7f6 d8d7 g7g8 e5f6 b7b5 f6f7 g8h8 f7h7

thanks: sorry about the mistakes, I rushed it too fast I guess: 1. Qe4 ..... starts the forced 7-move mate,
Chessnut1071 wrote: Wed Aug 18, 2021 2:25 am
FEN:
5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/pp4p1/1K1R4
Even this fen above is wrong, Please use the FEN tag to render it so you see what you are posting, are you sure this is the position, cant you see white is in check, and it is black's move (or at least that is what assumed):

[d]5k2/ppp2r1p/2p2ppP/8/2Q5/2P1bN2/pp4p1/1K1R4