Banksia GUI released

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

Moderator: Ras

User avatar
CMCanavessi
Posts: 1149
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: Banksia GUI released

Post by CMCanavessi »

I've found another issue with pondering, but I don't know if it's a Minic thing or a Banksia thing

Code: Select all

Minic 3.09 > bestmove e6d5 ponder f1e1
Minic 3.09 < position fen rnbkrqnb/pppppppp/8/8/8/8/PPPPPPPP/RNBKRQNB w EAea - 0 1 moves f2f4 d7d5 g1f3 b8c6 b1c3 g8f6 d2d3 c8e6 h2h3 g7g6 f1f2 f6d7 d1e1 f7f5 e2e4 d5e4 d3e4 h8c3 b2c3 f5e4 f3g5 f8g8 g5e4 e6d5 f1e1
Minic 3.09 < go ponder wtime 102100 btime 143677 winc 2000 binc 2000
DanaSah 8.8 < ponderhit
.
.
.
DanaSah 8.8 > bestmove e4d2 ponder d8a8
DanaSah 8.8 < position fen rnbkrqnb/pppppppp/8/8/8/8/PPPPPPPP/RNBKRQNB w EAea - 0 1 moves f2f4 d7d5 g1f3 b8c6 b1c3 g8f6 d2d3 c8e6 h2h3 g7g6 f1f2 f6d7 d1e1 f7f5 e2e4 d5e4 d3e4 h8c3 b2c3 f5e4 f3g5 f8g8 g5e4 e6d5 e4d2 d8a8
DanaSah 8.8 < go ponder wtime 97681 btime 145677 winc 2000 binc 2000
Minic 3.09 < stop
Minic 3.09 > bestmove O-O-O ponder c1d2
.
.
.
//MINIC LOSES ON TIME//
After DanaSah 8.8 moves (and Minic does NOT guess the correct move), Minic is told to stop, returns the bestmove, but then Banksia doesn't send the new position and go command...

Edit: tried some more games, looks like sometimes Banksia ignores Minic's reply... Here's the full log of one of those matches:

Edit2: in both games, Banksia just ignored Minic's bestmove O-O-O. Can it be that Banksia is filtering the "O-O-O" string out?
My chess engine Facón: https://github.com/CMCanavessi/facon
amanjpro
Posts: 883
Joined: Sat Mar 13, 2021 1:47 am
Full name: Amanj Sherwany

Re: Banksia GUI released

Post by amanjpro »

CMCanavessi wrote: Tue Aug 03, 2021 11:00 pm I've found another issue with pondering, but I don't know if it's a Minic thing or a Banksia thing

Code: Select all

Minic 3.09 > bestmove e6d5 ponder f1e1
Minic 3.09 < position fen rnbkrqnb/pppppppp/8/8/8/8/PPPPPPPP/RNBKRQNB w EAea - 0 1 moves f2f4 d7d5 g1f3 b8c6 b1c3 g8f6 d2d3 c8e6 h2h3 g7g6 f1f2 f6d7 d1e1 f7f5 e2e4 d5e4 d3e4 h8c3 b2c3 f5e4 f3g5 f8g8 g5e4 e6d5 f1e1
Minic 3.09 < go ponder wtime 102100 btime 143677 winc 2000 binc 2000
DanaSah 8.8 < ponderhit
.
.
.
DanaSah 8.8 > bestmove e4d2 ponder d8a8
DanaSah 8.8 < position fen rnbkrqnb/pppppppp/8/8/8/8/PPPPPPPP/RNBKRQNB w EAea - 0 1 moves f2f4 d7d5 g1f3 b8c6 b1c3 g8f6 d2d3 c8e6 h2h3 g7g6 f1f2 f6d7 d1e1 f7f5 e2e4 d5e4 d3e4 h8c3 b2c3 f5e4 f3g5 f8g8 g5e4 e6d5 e4d2 d8a8
DanaSah 8.8 < go ponder wtime 97681 btime 145677 winc 2000 binc 2000
Minic 3.09 < stop
Minic 3.09 > bestmove O-O-O ponder c1d2
.
.
.
//MINIC LOSES ON TIME//
After DanaSah 8.8 moves (and Minic does NOT guess the correct move), Minic is told to stop, returns the bestmove, but then Banksia doesn't send the new position and go command...

Edit: tried some more games, looks like sometimes Banksia ignores Minic's reply... Here's the full log of one of those matches:

Edit2: in both games, Banksia just ignored Minic's bestmove O-O-O. Can it be that Banksia is filtering the "O-O-O" string out?
Banksia correctly ignores the response. Stop is sent to the pondering engine when the pondering move is wrong... The engine responds with a "best"move only to comply with the protocol. And then banksia MUST send another go request to the engine with the start position and the moves, and a go command. If this is not done, then the bug is in the GUI else it is in the engine.

You can test Banksia's implementation against my engine Zahak, if Zahak also had issues then I'm sure it is a GUI bug
User avatar
CMCanavessi
Posts: 1149
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: Banksia GUI released

Post by CMCanavessi »

amanjpro wrote: Wed Aug 04, 2021 2:27 am Banksia correctly ignores the response. Stop is sent to the pondering engine when the pondering move is wrong... The engine responds with a "best"move only to comply with the protocol. And then banksia MUST send another go request to the engine with the start position and the moves, and a go command. If this is not done, then the bug is in the GUI else it is in the engine.

You can test Banksia's implementation against my engine Zahak, if Zahak also had issues then I'm sure it is a GUI bug
Yes, I know how it should work. What I mean is that maybe banksia is filtering Minic's bestmove after the stop command and then waits forever to receive the bestmove that it just filtered out (for whatever reason). Still, if you look at the full log that I posted from the other game, Banksia again ignores Minic's bestmove and that one wasn't while pondering, it was just a regular move.

As Banksia works ok with all other engines, there must be something that Minic is doing different (wrong or right I don't know, but definitely there's something different). I suspect that castling string.
My chess engine Facón: https://github.com/CMCanavessi/facon
amanjpro
Posts: 883
Joined: Sat Mar 13, 2021 1:47 am
Full name: Amanj Sherwany

Re: Banksia GUI released

Post by amanjpro »

CMCanavessi wrote: Wed Aug 04, 2021 5:14 am
amanjpro wrote: Wed Aug 04, 2021 2:27 am Banksia correctly ignores the response. Stop is sent to the pondering engine when the pondering move is wrong... The engine responds with a "best"move only to comply with the protocol. And then banksia MUST send another go request to the engine with the start position and the moves, and a go command. If this is not done, then the bug is in the GUI else it is in the engine.

You can test Banksia's implementation against my engine Zahak, if Zahak also had issues then I'm sure it is a GUI bug
Yes, I know how it should work. What I mean is that maybe banksia is filtering Minic's bestmove after the stop command and then waits forever to receive the bestmove that it just filtered out (for whatever reason). Still, if you look at the full log that I posted from the other game, Banksia again ignores Minic's bestmove and that one wasn't while pondering, it was just a regular move.

As Banksia works ok with all other engines, there must be something that Minic is doing different (wrong or right I don't know, but definitely there's something different). I suspect that castling string.
Actually you are absolutely right, castling should be written as e8c8, e1c1, e1g1 and e8g8...
So, Banksia cannot parse 0-0-0 (which is a PGN notation, not algebraic notation -- which is what is required by UCI)
Now wondering, how the hell Minic works at all? it is either never castles, or whenever it castles it disconnects?
User avatar
CMCanavessi
Posts: 1149
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: Banksia GUI released

Post by CMCanavessi »

Well, remember I'm testing FRC. Maybe Minic works ok in normal chess, but has problems with FRC notation, and/maybe cutechess or other GUIs can parse the O-O-O notation even if it's not compliant.
My chess engine Facón: https://github.com/CMCanavessi/facon
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Banksia GUI released

Post by xr_a_y »

Thanks for the analysis, i'll fix that.
User avatar
CMCanavessi
Posts: 1149
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: Banksia GUI released

Post by CMCanavessi »

xr_a_y wrote: Wed Aug 04, 2021 8:55 am Thanks for the analysis, i'll fix that.
Well, your fix seems to have worked fine. Minic is not losing on time anymore because of the castling string. However, it is still losing on time (not quite often though), due to some other reason. A couple of logs below:

Code: Select all

321.09:09:40 Minic 3.10> bestmove d2b4 ponder a8d5
321.09:09:40 Minic 3.10< position fen bnrbkqnr/pppppppp/8/8/8/8/PPPPPPPP/BNRBKQNR w HChc - 0 1 moves c2c4 b7b6 e2e3 e7e6 d1f3 b8c6 b2b3 g8f6 d2d4 g7g5 h2h3 a8b7 d4d5 e6d5 c4d5 c6b4 a2a3 b4d5 f1d3 c7c6 f3d5 c6d5 c1c8 b7c8 g1f3 h8g8 f3d4 f6e4 d4f5 f8c5 e1h1 d7d6 f5g3 f7f5 a1b2 c8d7 f1c1 c5b5 d3d1 d7e6 b1c3 e4c3 b2c3 b5d7 d1d3 e8f7 d3d4 f7g6 g3e2 h7h6 c3b2 g8e8 a3a4 a7a6 c1c6 e8g8 d4c3 d5d4 e2d4 e6d5 c6c8 d8f6 c8c7 d7e8 f2f3 g8g7 c7c8 e8e5 c3d3 h6h5 c8c2 d5b7 d4f5 e5f5 e3e4 f5d7 e4e5 d7f5 d3f5 g6f5 e5f6 g7d7 c2d2 f5e6 d2d4 d7c7 d4d3 b7c6 b2d4 b6b5 a4a5 b5b4 g1h2 c6d5 d4b6 c7f7 b6e3 f7f6 e3g5 f6f5 g5d2 d5a8 d2b4 a8d5
321.09:09:40 Minic 3.10< go ponder wtime 15499 btime 10014 winc 1000 binc 1000
321.09:09:40 Senpai 2.0< ponderhit
321.09:09:40 Senpai 2.0> info depth 22 seldepth 31 nodes 3336448 time 2323 nps 1436208
321.09:09:40 Senpai 2.0> bestmove f5d5 ponder d3d2
321.09:09:40 Senpai 2.0< position fen bnrbkqnr/pppppppp/8/8/8/8/PPPPPPPP/BNRBKQNR w HChc - 0 1 moves c2c4 b7b6 e2e3 e7e6 d1f3 b8c6 b2b3 g8f6 d2d4 g7g5 h2h3 a8b7 d4d5 e6d5 c4d5 c6b4 a2a3 b4d5 f1d3 c7c6 f3d5 c6d5 c1c8 b7c8 g1f3 h8g8 f3d4 f6e4 d4f5 f8c5 e1h1 d7d6 f5g3 f7f5 a1b2 c8d7 f1c1 c5b5 d3d1 d7e6 b1c3 e4c3 b2c3 b5d7 d1d3 e8f7 d3d4 f7g6 g3e2 h7h6 c3b2 g8e8 a3a4 a7a6 c1c6 e8g8 d4c3 d5d4 e2d4 e6d5 c6c8 d8f6 c8c7 d7e8 f2f3 g8g7 c7c8 e8e5 c3d3 h6h5 c8c2 d5b7 d4f5 e5f5 e3e4 f5d7 e4e5 d7f5 d3f5 g6f5 e5f6 g7d7 c2d2 f5e6 d2d4 d7c7 d4d3 b7c6 b2d4 b6b5 a4a5 b5b4 g1h2 c6d5 d4b6 c7f7 b6e3 f7f6 e3g5 f6f5 g5d2 d5a8 d2b4 f5d5 d3d2
321.09:09:40 Senpai 2.0< go ponder wtime 16499 btime 10004 winc 1000 binc 1000
321.09:09:40 Minic 3.10< stop
321.09:09:40 Senpai 2.0> info depth 1 score cp -177 nodes 192 pv d5d2
321.09:09:40 Senpai 2.0> info depth 2 seldepth 3 score cp -136 nodes 210 pv d5d2 b4d2 h5h4
321.09:09:40 Senpai 2.0> info depth 3 seldepth 6 score cp -127 nodes 266 pv d5d2 b4d2 h5h4 d2f4
321.09:09:40 Senpai 2.0> info depth 4 score cp -177 upperbound nodes 302 pv d5d2 b4d2 h5h4
321.09:09:40 Senpai 2.0> info depth 4 score cp -177 upperbound nodes 338 pv d5d2 b4d2 h5h4
321.09:09:40 Minic 3.10> info string Warn  2021-08-04 09:09:40-609: Empty pv
321.09:09:40 Minic 3.10> bestmove 0000
321.09:09:40 Senpai 2.0> info depth 4 score cp -177 upperbound nodes 374 pv d5d2 b4d2 h5h4
321.09:09:40 Senpai 2.0> info depth 4 seldepth 7 score cp -134 nodes 488 pv d5d2 b4d2 h5h4 b3b4 e6f5
321.09:09:40 Senpai 2.0> info depth 5 score cp -177 upperbound nodes 532 pv d5d2 b4d2 h5h4
321.09:09:40 Senpai 2.0> info depth 5 score cp -177 upperbound nodes 579 pv d5d2 b4d2 h5h4
321.09:09:40 Senpai 2.0> info depth 5 score cp -177 upperbound nodes 626 pv d5d2 b4d2 h5h4
321.09:09:40 Senpai 2.0> info depth 5 seldepth 8 score cp -153 nodes 817 pv d5d2 b4d2 h5h4 d2f4 e6d7 f4g5
321.09:09:40 Senpai 2.0> info depth 6 score cp -177 upperbound nodes 872 pv d5d2 b4d2 a8d5 b3b4 d5c4 g2g4 e6d7
321.09:09:40 Senpai 2.0> info depth 6 score cp -177 upperbound nodes 927 pv d5d2 b4d2 a8d5 b3b4 d5c4 g2g4 e6d7
321.09:09:40 Senpai 2.0> info depth 6 seldepth 9 score cp -147 nodes 1617 pv d5d2 b4d2 e6d7 h2g3 a8d5 b3b4 d5f7
321.09:09:40 Senpai 2.0> info depth 7 score cp -177 upperbound nodes 1685 pv d5d2 b4d2 a8d5 b3b4 d5c4 g2g4 e6d7
321.09:09:40 Senpai 2.0> info depth 7 score cp -177 upperbound nodes 1753 pv d5d2 b4d2 a8d5 b3b4 d5c4 g2g4 e6d7
321.09:09:40 Senpai 2.0> info depth 7 seldepth 9 score cp -170 nodes 2154 time 1 pv d5d2 b4d2 e6d7 h2g3 a8d5 b3b4 d5f7 g3h4
321.09:09:40 Senpai 2.0> info depth 8 seldepth 12 score cp -160 lowerbound nodes 3973 time 2 pv d5d2 b4d2 e6d5 d2e1 a8c6 b3b4 d5d4 h3h4
321.09:09:40 Senpai 2.0> info depth 8 seldepth 12 score cp -170 nodes 4670 time 3 pv d5d2 b4d2 e6d5 h2g3 d5d4 d2f4 d6d5 g3h4 d4c3 h4h5 c3b3
321.09:09:40 Senpai 2.0> info depth 9 seldepth 15 score cp -171 nodes 7012 time 4 pv d5d2 b4d2 e6d5 h2g3 d5d4 g3h4 a8d5 b3b4 d4d3 d2g5
321.09:09:40 Senpai 2.0> info depth 10 seldepth 15 score cp -178 nodes 10457 time 6 pv d5d2 b4d2 e6d5 h2g3 d5d4 g3h4 a8d5 b3b4 d5f7 d2g5 d6d5
321.09:09:40 Senpai 2.0> info depth 11 seldepth 16 score cp -179 nodes 17380 time 9 pv d5d2 b4d2 e6d5 h2g3 d5d4 g3h4 a8d5 d2f4 d5b3 f4d6 b3f7 d6c7
321.09:09:40 Senpai 2.0> info depth 12 seldepth 18 score cp -175 nodes 36331 time 20 nps 1791549 pv d5d2 b4d2 a8c6 h2g3 c6b5 g3h4 b5f1 g2g4 h5g4 h3g4 d6d5 h4g5 f1b5 f3f4
321.09:09:40 Senpai 2.0> info depth 13 seldepth 18 score cp -167 nodes 54921 time 31 nps 1754440 pv d5d2 b4d2 a8c6 h2g3 c6b5 g3h4 b5f1 g2g4 h5g4 h3g4 d6d5 h4g5 d5d4 f3f4 f1b5
321.09:09:40 Senpai 2.0> info depth 14 seldepth 13 score cp -177 upperbound nodes 55666 time 32 nps 1753652 pv d5d2 b4d2 a8d5 b3b4 d5c4 g2g4 e6d7
321.09:09:40 Senpai 2.0> info depth 14 seldepth 20 score cp -178 nodes 97590 time 58 nps 1689034 pv d5d2 b4d2 a8c6 h2g3 e6f5 g3h4 f5g6 d2e3 d6d5 e3d4 c6b5 g2g3 b5f1 b3b4 g6f5 h4h5 f1h3
321.09:09:40 Senpai 2.0> info depth 15 seldepth 21 score cp -180 nodes 131123 time 77 nps 1705461 pv d5d2 b4d2 a8c6 h2g3 e6f5 g3h4 f5g6 d2c3 c6d5 c3b4 d5b3 b4d6 b3c4 f3f4 c4f1 g2g4
321.09:09:40 Senpai 2.0> info depth 16 seldepth 20 score cp -183 nodes 211213 time 124 nps 1696923 pv d5d2 b4d2 a8c6 h2g3 e6f5 g3h4 f5g6 d2c3 c6b7 c3b4 d6d5 b4c3 b7c6 c3d4 c6b5 g2g3 b5f1
321.09:09:40 Senpai 2.0> info depth 17 seldepth 22 score cp -185 nodes 325374 time 196 nps 1660819 pv d5d2 b4d2 a8d5 b3b4 d5c4 g2g4 h5g4 f3g4 e6e5 h3h4 d6d5 h4h5 d5d4 h2g3 c4f7 g3h4 f7g8 g4g5 e5f5
321.09:09:41 Senpai 2.0> info depth 18 seldepth 23 score cp -184 nodes 641319 time 415 nps 1544134 pv d5d2 b4d2 a8c6 h2g3 e6f5 g3h4 f5g6 d2c3 c6b7 c3b4 d6d5 b4c3 b7c6 g2g4 h5g4 f3g4 c6b5 h4g3 b5d3 g3f4
321.09:09:41 Senpai 2.0> info depth 19 seldepth 22 score cp -185 nodes 778352 time 500 nps 1555900 pv d5d2 b4d2 a8d5 b3b4 d5c4 g2g4 h5g4 f3g4 e6e5 h3h4 d6d5 h4h5 d5d4 h2g3 c4f7 g3h4 f7g8 g4g5 e5f5 g5g6 d4d3
321.09:09:41 Senpai 2.0> info depth 20 seldepth 24 score cp -185 nodes 1080111 time 703 nps 1537223 pv d5d2 b4d2 a8d5 b3b4 d5c4 g2g4 h5g4 f3g4 e6e5 h3h4 d6d5 h4h5 d5d4 h2g3 c4f7 g3h4 f7g8 g4g5 e5f5 g5g6 d4d3 h4g3
321.09:09:41 Senpai 2.0> info depth 21 seldepth 27 currmove d5d2 currmovenumber 1 nodes 1521408 time 1000 nps 1521335
321.09:09:42 Senpai 2.0> info depth 21 seldepth 29 currmove d5d2 currmovenumber 1 nodes 2932224 time 2000 nps 1466088
321.09:09:43 Senpai 2.0> info depth 21 seldepth 29 score cp -195 upperbound nodes 4157965 time 2853 nps 1457455 pv d5d2 b4d2 a8d5 b3b4 d5c4 g2g4 h5g4 f3g4 e6e5 h3h4 d6d5 h4h5 d5d4 h2g3 c4f7 g3h4 f7g8 g4g5 e5f5 g5g6 d4d3 h4g3 f5e4
321.09:09:43 Senpai 2.0> info depth 21 seldepth 29 currmove e6f5 currmovenumber 4 nodes 4345600 time 3000 nps 1448468
321.09:09:44 Senpai 2.0> info depth 21 seldepth 29 currmove d5d2 currmovenumber 1 nodes 5851136 time 4000 nps 1462744
321.09:09:45 Senpai 2.0> info depth 21 seldepth 29 score cp -198 nodes 6518274 time 4398 nps 1482109 pv d5d2 b4d2 a8d5 b3b4 d5c4 g2g4 h5g4 f3g4 e6e5 h3h4 d6d5 h4h5 d5d4 h2g3 c4f7 g3h4 f7g8 g4g5 e5e4 g5g6 e4f5 h4g3 g8c4
321.09:09:45 Senpai 2.0> info depth 22 seldepth 28 currmove d5d2 currmovenumber 1 nodes 7398656 time 5000 nps 1479704
321.09:09:46 Senpai 2.0> info depth 22 seldepth 30 currmove d5d2 currmovenumber 1 nodes 8834304 time 6000 nps 1472366
321.09:09:47 Senpai 2.0> info depth 22 seldepth 30 currmove d5d2 currmovenumber 1 nodes 10289920 time 7000 nps 1469963
321.09:09:48 Senpai 2.0> info depth 22 seldepth 31 currmove d5d2 currmovenumber 1 nodes 11817984 time 8000 nps 1477229
321.09:09:49 Senpai 2.0> info depth 22 seldepth 31 currmove d5d2 currmovenumber 1 nodes 13317120 time 9000 nps 1479649
321.09:09:50 Senpai 2.0> info depth 22 seldepth 31 currmove d5d2 currmovenumber 1 nodes 14768640 time 10000 nps 1476848
321.09:09:50 Senpai 2.0> info depth 22 seldepth 31 score cp -199 nodes 15096603 time 10219 nps 1477365 pv d5d2 b4d2 a8c6 h2g3 c6e8 g3f4 e6f6 d2b4 e8f7 b4d6 f7b3 h3h4 f6g6 d6e5 b3d5 g2g4 d5c6 g4g5 g6f7 e5b2 f7g6 b2d4 c6b7 d4e5 b7d5
321.09:09:51 Senpai 2.0> info depth 23 seldepth 29 currmove d5d2 currmovenumber 1 nodes 16285184 time 11000 nps 1480461
321.09:09:52 Senpai 2.0> info depth 23 seldepth 31 currmove d5d2 currmovenumber 1 nodes 17860096 time 12000 nps 1488330
321.09:09:53 Senpai 2.0> info depth 23 seldepth 31 currmove d5d2 currmovenumber 1 nodes 19270400 time 13000 nps 1482328
321.09:09:54 Senpai 2.0> info depth 23 seldepth 31 score cp -203 nodes 19902633 time 13451 nps 1479649 pv d5d2 b4d2 a8c6 h2g3 e6e5 d2c3 e5d5 h3h4 d5c5 g3f4 c6d5 g2g4 d5f7 c3e1 c5b5 e1d2 f7e8 f4f5 e8c6 g4h5 c6f3 h5h6 d6d5 f5e5 f3e4
321.09:09:54 Senpai 2.0> info depth 24 seldepth 25 currmove d5d2 currmovenumber 1 nodes 20657920 time 14000 nps 1475551
321.09:09:55 Senpai 2.0> info depth 24 seldepth 34 currmove d5d2 currmovenumber 1 nodes 22205696 time 15000 nps 1480367
321.09:09:56 Senpai 2.0> info depth 24 seldepth 37 currmove d5d2 currmovenumber 1 nodes 23830272 time 16000 nps 1489388
321.09:09:57 banksia> Timeleft for Minic 3.10: 16.50, used: 16.63, Senpai 2.0: 10.00
321.09:09:57 Senpai 2.0< stop
321.09:09:57 Senpai 2.0> info depth 24 seldepth 37 nodes 24885760 time 16634 nps 1496092
321.09:09:57 Senpai 2.0> bestmove d5d2 ponder b4d2
321.09:09:57 banksia> 321) Minic 3.10 vs Senpai 2.0, #104, 0-1 (timeout)
321.09:09:59 Senpai 2.0< quit
321.09:09:59 Minic 3.10< quit

Code: Select all

241.09:06:03 Minic 3.10> bestmove h2h4 ponder h7h6
241.09:06:03 Minic 3.10< position fen bnqbrkrn/pppppppp/8/8/8/8/PPPPPPPP/BNQBRKRN w GEge - 0 1 moves c2c4 f8g8 d2d4 e7e6 h1g3 c7c5 d4d5 b7b5 b2b3 h8g6 e2e4 d7d6 g3h5 e6e5 c4b5 a7a6 d1e2 f7f5 b1c3 a6b5 f1g1 f5f4 c3b5 c8d7 f2f3 a8b7 a1c3 g6h4 g2g3 c5c4 g3h4 d7b5 b3c4 b5c5 g1h1 d8h4 e1d1 b8a6 f1g1 g7g6 d1d3 b7c8 e2d1 h4f2 g1g5 a6b4 c3b4 c5b4 c1d2 b4d2 d3d2 f2e3 d2e2 g8f7 d1a4 e8e7 h2h4 h7h6
241.09:06:03 Minic 3.10< go ponder wtime 14654 btime 27619 winc 1000 binc 1000
241.09:06:03 Cheng 4.41< ponderhit
241.09:06:03 Cheng 4.41> info time 3380 nodes 5620788 nps 1662955
241.09:06:03 Cheng 4.41> bestmove c8h3 ponder h1h2
241.09:06:03 Cheng 4.41< position fen bnqbrkrn/pppppppp/8/8/8/8/PPPPPPPP/BNQBRKRN w GEge - 0 1 moves c2c4 f8g8 d2d4 e7e6 h1g3 c7c5 d4d5 b7b5 b2b3 h8g6 e2e4 d7d6 g3h5 e6e5 c4b5 a7a6 d1e2 f7f5 b1c3 a6b5 f1g1 f5f4 c3b5 c8d7 f2f3 a8b7 a1c3 g6h4 g2g3 c5c4 g3h4 d7b5 b3c4 b5c5 g1h1 d8h4 e1d1 b8a6 f1g1 g7g6 d1d3 b7c8 e2d1 h4f2 g1g5 a6b4 c3b4 c5b4 c1d2 b4d2 d3d2 f2e3 d2e2 g8f7 d1a4 e8e7 h2h4 c8h3 h1h2
241.09:06:03 Cheng 4.41< go ponder wtime 15654 btime 27609 winc 1000 binc 1000
241.09:06:03 Minic 3.10< stop
241.09:06:03 Minic 3.10> info string Warn  2021-08-04 09:06:03-444: Empty pv
241.09:06:03 Minic 3.10> bestmove 0000
241.09:06:04 Cheng 4.41> info nodes 1653813 nps 1653813
241.09:06:04 Cheng 4.41> info depth 16 seldepth 35 time 950 nodes 1575058 nps 1657955 multipv 1 score cp 384 pv h7h6 e2e3 h6g5 e3c3 h3d7 a4b3 g6h5 h4g5 f7g6 c4c5 g6g5 c5c6 d7c8 a2a4 e7c7 b3c4 f8g8
241.09:06:04 Cheng 4.41> info currmovenumber 6 currmove e3b6
241.09:06:04 Cheng 4.41> info currmovenumber 7 currmove h3d7
241.09:06:04 Cheng 4.41> info currmovenumber 8 currmove f8a8
241.09:06:04 Cheng 4.41> info currmovenumber 9 currmove e7c7
241.09:06:04 Cheng 4.41> info currmovenumber 10 currmove e3a7
241.09:06:04 Cheng 4.41> info currmovenumber 11 currmove f8b8
241.09:06:04 Cheng 4.41> info currmovenumber 12 currmove e3f2
241.09:06:04 Cheng 4.41> info currmovenumber 13 currmove f8c8
241.09:06:04 Cheng 4.41> info currmovenumber 14 currmove e3d4
241.09:06:04 Cheng 4.41> info currmovenumber 15 currmove h3c8
241.09:06:04 Cheng 4.41> info currmovenumber 16 currmove e7b7
241.09:06:04 Cheng 4.41> info currmovenumber 17 currmove f8g8
241.09:06:04 Cheng 4.41> info currmovenumber 18 currmove f8e8
241.09:06:04 Cheng 4.41> info currmovenumber 19 currmove f8d8
241.09:06:04 Cheng 4.41> info currmovenumber 20 currmove e7e8
241.09:06:04 Cheng 4.41> info currmovenumber 21 currmove f8h8
241.09:06:04 Cheng 4.41> info currmovenumber 22 currmove e3c1
241.09:06:04 Cheng 4.41> info currmovenumber 23 currmove e3c5
241.09:06:04 Cheng 4.41> info currmovenumber 24 currmove e7d7
241.09:06:04 Cheng 4.41> info currmovenumber 25 currmove h3f5
241.09:06:04 Cheng 4.41> info currmovenumber 26 currmove e3d2
241.09:06:04 Cheng 4.41> info currmovenumber 27 currmove f7g8
241.09:06:04 Cheng 4.41> info currmovenumber 28 currmove e7e6
241.09:06:04 Cheng 4.41> info currmovenumber 29 currmove g6h5
241.09:06:04 Cheng 4.41> info currmovenumber 30 currmove e3g1
241.09:06:04 Cheng 4.41> info currmovenumber 31 currmove h3e6
241.09:06:04 Cheng 4.41> info depth 17 time 1033
241.09:06:04 Cheng 4.41> info currmovenumber 1 currmove h7h6
241.09:06:05 Cheng 4.41> info depth 17 seldepth 37 time 1884 nodes 3099856 nps 1645358 multipv 1 score cp 398 pv h7h6 h2h3 h6g5 h5g3 f4g3 e2e3 g5h4 c4c5 e7a7 a4b3 d6c5 e3c3 f7e7 c3c5 f8f3 c5c6 f3f4 c6g6
241.09:06:05 Cheng 4.41> info currmovenumber 2 currmove h3g4
241.09:06:05 Cheng 4.41> info currmovenumber 3 currmove h3f1
241.09:06:05 Cheng 4.41> info currmovenumber 4 currmove f8c8
241.09:06:05 Cheng 4.41> info currmovenumber 5 currmove f8a8
241.09:06:05 Cheng 4.41> info currmovenumber 6 currmove e7a7
241.09:06:05 Cheng 4.41> info currmovenumber 7 currmove e3a7
241.09:06:05 Cheng 4.41> info currmovenumber 8 currmove h3g2
241.09:06:05 Cheng 4.41> info currmovenumber 9 currmove f8h8
241.09:06:05 Cheng 4.41> info currmovenumber 10 currmove e7c7
241.09:06:05 Cheng 4.41> info currmovenumber 11 currmove h3d7
241.09:06:05 Cheng 4.41> info currmovenumber 12 currmove f8g8
241.09:06:05 Cheng 4.41> info currmovenumber 13 currmove h3c8
241.09:06:05 Cheng 4.41> info currmovenumber 14 currmove h3e6
241.09:06:05 Cheng 4.41> info currmovenumber 15 currmove f8b8
241.09:06:05 Cheng 4.41> info currmovenumber 16 currmove e3d4
241.09:06:05 Cheng 4.41> info currmovenumber 17 currmove f8e8
241.09:06:05 Cheng 4.41> info currmovenumber 18 currmove e3f2
241.09:06:05 Cheng 4.41> info currmovenumber 19 currmove e7b7
241.09:06:05 Cheng 4.41> info currmovenumber 20 currmove e7e8
241.09:06:05 Cheng 4.41> info currmovenumber 21 currmove e3b6
241.09:06:05 Cheng 4.41> info currmovenumber 22 currmove f7g8
241.09:06:05 Cheng 4.41> info currmovenumber 23 currmove f8d8
241.09:06:05 Cheng 4.41> info currmovenumber 24 currmove h3f5
241.09:06:05 Cheng 4.41> info currmovenumber 25 currmove e7d7
241.09:06:05 Cheng 4.41> info currmovenumber 26 currmove e3c1
241.09:06:05 Cheng 4.41> info currmovenumber 27 currmove e3c5
241.09:06:05 Cheng 4.41> info currmovenumber 28 currmove e7e6
241.09:06:05 Cheng 4.41> info currmovenumber 29 currmove e3g1
241.09:06:05 Cheng 4.41> info currmovenumber 30 currmove e3d2
241.09:06:05 Cheng 4.41> info currmovenumber 31 currmove g6h5
241.09:06:05 Cheng 4.41> info depth 18 time 1911
241.09:06:05 Cheng 4.41> info currmovenumber 1 currmove h7h6
241.09:06:05 Cheng 4.41> info nodes 3292215 nps 1646107
241.09:06:06 Cheng 4.41> info depth 18 seldepth 42 time 2907 nodes 4820708 nps 1658310 multipv 1 score cp 387 pv h7h6 h2h3 h6g5 h5g3 f4g3 e2e3 g5h4 a4b5 e7c7 a2a4 f7f6 a4a5 f6g5 a5a6 c7a7 e3a3 f8h8 b5c6 g5f4 c4c5 d6c5 d5d6
241.09:06:06 Cheng 4.41> info currmovenumber 2 currmove h3f1
241.09:06:06 Cheng 4.41> info currmovenumber 3 currmove f8a8
241.09:06:06 Cheng 4.41> info currmovenumber 4 currmove e7a7
241.09:06:06 Cheng 4.41> info currmovenumber 5 currmove h3g4
241.09:06:06 Cheng 4.41> info currmovenumber 6 currmove h3d7
241.09:06:06 Cheng 4.41> info currmovenumber 7 currmove h3g2
241.09:06:06 Cheng 4.41> info currmovenumber 8 currmove e3g1
241.09:06:06 Cheng 4.41> info currmovenumber 9 currmove f8c8
241.09:06:06 Cheng 4.41> info nodes 4974647 nps 1658215
241.09:06:06 Cheng 4.41> info currmovenumber 10 currmove e3a7
241.09:06:06 Cheng 4.41> info currmovenumber 11 currmove f8h8
241.09:06:06 Cheng 4.41> info currmovenumber 12 currmove e7c7
241.09:06:06 Cheng 4.41> info currmovenumber 13 currmove f8g8
241.09:06:06 Cheng 4.41> info currmovenumber 14 currmove h3c8
241.09:06:06 Cheng 4.41> info currmovenumber 15 currmove h3e6
241.09:06:06 Cheng 4.41> info currmovenumber 16 currmove f8b8
241.09:06:06 Cheng 4.41> info currmovenumber 17 currmove e3d4
241.09:06:06 Cheng 4.41> info currmovenumber 18 currmove f8e8
241.09:06:06 Cheng 4.41> info currmovenumber 19 currmove e3f2
241.09:06:06 Cheng 4.41> info currmovenumber 20 currmove e7b7
241.09:06:06 Cheng 4.41> info currmovenumber 21 currmove e7e8
241.09:06:06 Cheng 4.41> info currmovenumber 22 currmove e3b6
241.09:06:06 Cheng 4.41> info currmovenumber 23 currmove f7g8
241.09:06:06 Cheng 4.41> info currmovenumber 24 currmove f8d8
241.09:06:06 Cheng 4.41> info currmovenumber 25 currmove h3f5
241.09:06:06 Cheng 4.41> info currmovenumber 26 currmove e7d7
241.09:06:06 Cheng 4.41> info currmovenumber 27 currmove e3c1
241.09:06:06 Cheng 4.41> info currmovenumber 28 currmove e3c5
241.09:06:06 Cheng 4.41> info currmovenumber 29 currmove e7e6
241.09:06:06 Cheng 4.41> info currmovenumber 30 currmove e3d2
241.09:06:06 Cheng 4.41> info currmovenumber 31 currmove g6h5
241.09:06:06 Cheng 4.41> info depth 19 time 3054
241.09:06:06 Cheng 4.41> info currmovenumber 1 currmove h7h6
241.09:06:07 Cheng 4.41> info depth 19 seldepth 42 time 3899 nodes 6498648 nps 1666747 upperbound  multipv 1 score cp 372 pv h7h6
241.09:06:07 Cheng 4.41> info currmovenumber 1 currmove h7h6
241.09:06:07 Cheng 4.41> info nodes 6660153 nps 1665038
241.09:06:08 Cheng 4.41> info nodes 8262713 nps 1652542
241.09:06:08 Cheng 4.41> info depth 19 seldepth 42 time 5357 nodes 8847815 nps 1651636 multipv 1 score cp 381 pv h7h6 g5e5 e7e5 h5f4 e3f4 h2h3 f7g7 e2f2 e5e7 h3g2 e7a7 a4b3 a7a3 f2e2 f4e5 e2e1 f8f4 e1h1 h6h5 g2f2 e5d4 f2g3 d4e3 h1g1
241.09:06:08 Cheng 4.41> info currmovenumber 2 currmove h3f1
241.09:06:08 Cheng 4.41> info currmovenumber 3 currmove h3g4
241.09:06:09 Cheng 4.41> info currmovenumber 4 currmove e7b7
241.09:06:09 Cheng 4.41> info currmovenumber 5 currmove f8a8
241.09:06:09 Cheng 4.41> info currmovenumber 6 currmove f8c8
241.09:06:09 Cheng 4.41> info currmovenumber 7 currmove f8d8
241.09:06:09 Cheng 4.41> info currmovenumber 8 currmove e7a7
241.09:06:09 Cheng 4.41> info currmovenumber 9 currmove h3g2
241.09:06:09 Cheng 4.41> info currmovenumber 10 currmove f8b8
241.09:06:09 Cheng 4.41> info currmovenumber 11 currmove f8g8
241.09:06:09 Cheng 4.41> info currmovenumber 12 currmove e7c7
241.09:06:09 Cheng 4.41> info currmovenumber 13 currmove f8h8
241.09:06:09 Cheng 4.41> info currmovenumber 14 currmove e3d4
241.09:06:09 Cheng 4.41> info currmovenumber 15 currmove e3c5
241.09:06:09 Cheng 4.41> info currmovenumber 16 currmove h3d7
241.09:06:09 Cheng 4.41> info currmovenumber 17 currmove e3g1
241.09:06:09 Cheng 4.41> info currmovenumber 18 currmove e3b6
241.09:06:09 Cheng 4.41> info currmovenumber 19 currmove h3c8
241.09:06:09 Cheng 4.41> info currmovenumber 20 currmove h3e6
241.09:06:09 Cheng 4.41> info currmovenumber 21 currmove e3f2
241.09:06:09 Cheng 4.41> info currmovenumber 22 currmove g6h5
241.09:06:09 Cheng 4.41> info currmovenumber 23 currmove h3f5
241.09:06:09 Cheng 4.41> info currmovenumber 24 currmove f8e8
241.09:06:09 Cheng 4.41> info currmovenumber 25 currmove e3a7
241.09:06:09 Cheng 4.41> info currmovenumber 26 currmove e7e8
241.09:06:09 Cheng 4.41> info currmovenumber 27 currmove f7g8
241.09:06:09 Cheng 4.41> info currmovenumber 28 currmove e3c1
241.09:06:09 Cheng 4.41> info currmovenumber 29 currmove e3d2
241.09:06:09 Cheng 4.41> info currmovenumber 30 currmove e7d7
241.09:06:09 Cheng 4.41> info currmovenumber 31 currmove e7e6
241.09:06:09 Cheng 4.41> info depth 20 time 5752
241.09:06:09 Cheng 4.41> info currmovenumber 1 currmove h7h6
241.09:06:09 Cheng 4.41> info nodes 9910330 nps 1651721
241.09:06:10 Cheng 4.41> info nodes 11522106 nps 1646015
241.09:06:11 Cheng 4.41> info nodes 13189178 nps 1648647
241.09:06:12 Cheng 4.41> info nodes 14876730 nps 1652970
241.09:06:12 Cheng 4.41> info depth 20 seldepth 46 time 9208 nodes 15231394 nps 1654147 lowerbound  multipv 1 score cp 396 pv h7h6
241.09:06:12 Cheng 4.41> info currmovenumber 1 currmove h7h6
241.09:06:13 Cheng 4.41> info nodes 16479291 nps 1647929
241.09:06:14 Cheng 4.41> info depth 20 seldepth 46 time 10685 nodes 17617482 nps 1648805 multipv 1 score cp 395 pv h7h6 g5e5 e7e5 h5f4 e3f4 h2h3 f7g7 e2g2 e5h5 g2g4 f4e5 a4d1 g6g5 h3g2 h5h4 g4h4 g5h4 g2h3 e5g3 a2a4 h6h5 d1e2 g3e1 h3g2 g7g6
241.09:06:14 Cheng 4.41> info currmovenumber 2 currmove h3g4
241.09:06:14 Cheng 4.41> info currmovenumber 3 currmove h3f1
241.09:06:14 Cheng 4.41> info currmovenumber 4 currmove e7b7
241.09:06:14 Cheng 4.41> info currmovenumber 5 currmove f8c8
241.09:06:14 Cheng 4.41> info currmovenumber 6 currmove e3b6
241.09:06:14 Cheng 4.41> info currmovenumber 7 currmove f8b8
241.09:06:14 Cheng 4.41> info currmovenumber 8 currmove f8a8
241.09:06:14 Cheng 4.41> info currmovenumber 9 currmove h3g2
241.09:06:14 Cheng 4.41> info nodes 18138171 nps 1648924
241.09:06:14 Cheng 4.41> info currmovenumber 10 currmove e7a7
241.09:06:14 Cheng 4.41> info currmovenumber 11 currmove e3g1
241.09:06:14 Cheng 4.41> info currmovenumber 12 currmove e3f2
241.09:06:14 Cheng 4.41> info currmovenumber 13 currmove e3c1
241.09:06:14 Cheng 4.41> info currmovenumber 14 currmove f8d8
241.09:06:14 Cheng 4.41> info currmovenumber 15 currmove h3d7
241.09:06:14 Cheng 4.41> info currmovenumber 16 currmove e7c7
241.09:06:14 Cheng 4.41> info currmovenumber 17 currmove f8h8
241.09:06:14 Cheng 4.41> info currmovenumber 18 currmove e3d4
241.09:06:14 Cheng 4.41> info currmovenumber 19 currmove f8g8
241.09:06:14 Cheng 4.41> info currmovenumber 20 currmove e3c5
241.09:06:14 Cheng 4.41> info currmovenumber 21 currmove h3c8
241.09:06:14 Cheng 4.41> info currmovenumber 22 currmove e3a7
241.09:06:14 Cheng 4.41> info currmovenumber 23 currmove f8e8
241.09:06:14 Cheng 4.41> info currmovenumber 24 currmove e7d7
241.09:06:14 Cheng 4.41> info currmovenumber 25 currmove h3e6
241.09:06:14 Cheng 4.41> info currmovenumber 26 currmove g6h5
241.09:06:14 Cheng 4.41> info currmovenumber 27 currmove h3f5
241.09:06:14 Cheng 4.41> info currmovenumber 28 currmove f7g8
241.09:06:14 Cheng 4.41> info currmovenumber 29 currmove e7e8
241.09:06:14 Cheng 4.41> info currmovenumber 30 currmove e3d2
241.09:06:14 Cheng 4.41> info currmovenumber 31 currmove e7e6
241.09:06:14 Cheng 4.41> info depth 21 time 11103
241.09:06:14 Cheng 4.41> info currmovenumber 1 currmove h7h6
241.09:06:15 Cheng 4.41> info nodes 19748924 nps 1645743
241.09:06:16 Cheng 4.41> info nodes 21374012 nps 1644154
241.09:06:17 Cheng 4.41> info nodes 23082044 nps 1648717
241.09:06:17 Cheng 4.41> info depth 21 seldepth 46 time 14426 nodes 23807228 nps 1650300 multipv 1 score cp 399 pv h7h6 h2h3 h6g5 h5g3 f4g3 e2e3 g5h4 a4b5 e7c7 e3e1 f8h8 a2a4 f7f6 h3g4 c7f7 c4c5 d6c5 d5d6 f6g7 e1c1 f7f4 g4h3 c5c4 b5c4
241.09:06:17 Cheng 4.41> info currmovenumber 2 currmove h3f1
241.09:06:18 Cheng 4.41> info currmovenumber 3 currmove e7b7
241.09:06:18 Cheng 4.41> info currmovenumber 4 currmove f8b8
241.09:06:18 Cheng 4.41> info currmovenumber 5 currmove f8c8
241.09:06:18 Cheng 4.41> info currmovenumber 6 currmove f8a8
241.09:06:18 Cheng 4.41> info currmovenumber 7 currmove f8h8
241.09:06:18 Cheng 4.41> info currmovenumber 8 currmove e3a7
241.09:06:18 Cheng 4.41> info currmovenumber 9 currmove h3g2
241.09:06:18 Cheng 4.41> info currmovenumber 10 currmove h3g4
241.09:06:18 Cheng 4.41> info currmovenumber 11 currmove e7a7
241.09:06:18 Cheng 4.41> info currmovenumber 12 currmove e7c7
241.09:06:18 Cheng 4.41> info currmovenumber 13 currmove e3g1
241.09:06:18 Cheng 4.41> info currmovenumber 14 currmove e3d4
241.09:06:18 Cheng 4.41> info currmovenumber 15 currmove h3d7
241.09:06:18 Cheng 4.41> info currmovenumber 16 currmove h3f5
241.09:06:18 Cheng 4.41> info currmovenumber 17 currmove f7g8
241.09:06:18 Cheng 4.41> info currmovenumber 18 currmove f8d8
241.09:06:18 Cheng 4.41> info currmovenumber 19 currmove f8g8
241.09:06:18 Cheng 4.41> info currmovenumber 20 currmove e3b6
241.09:06:18 Cheng 4.41> info currmovenumber 21 currmove e3c5
241.09:06:18 Cheng 4.41> info currmovenumber 22 currmove e3f2
241.09:06:18 Cheng 4.41> info currmovenumber 23 currmove h3e6
241.09:06:18 Cheng 4.41> info currmovenumber 24 currmove e3c1
241.09:06:18 Cheng 4.41> info currmovenumber 25 currmove f8e8
241.09:06:18 Cheng 4.41> info currmovenumber 26 currmove g6h5
241.09:06:18 Cheng 4.41> info currmovenumber 27 currmove e7d7
241.09:06:18 Cheng 4.41> info currmovenumber 28 currmove e7e8
241.09:06:18 Cheng 4.41> info currmovenumber 29 currmove h3c8
241.09:06:18 Cheng 4.41> info currmovenumber 30 currmove e7e6
241.09:06:18 Cheng 4.41> info currmovenumber 31 currmove e3d2
241.09:06:18 Cheng 4.41> info depth 22 time 14714
241.09:06:18 Cheng 4.41> info currmovenumber 1 currmove h7h6
241.09:06:18 Cheng 4.41> info nodes 24732733 nps 1648848
241.09:06:19 banksia> Timeleft for Minic 3.10: 15.65, used: 15.80, Cheng 4.41: 27.61
241.09:06:19 Cheng 4.41< stop
241.09:06:19 Cheng 4.41> info time 15799 nodes 26041210 nps 1648282
241.09:06:19 Cheng 4.41> bestmove h7h6 ponder h2h3
241.09:06:19 banksia> 241) Minic 3.10 vs Cheng 4.41, #58, 0-1 (timeout)
241.09:06:21 Cheng 4.41< quit
241.09:06:21 Minic 3.10< quit
I think that info string with the "empty pv" between the stop command and the bestmove may be the culprit. Can you try to invert it, first send the bestmove one and then the info string, or just remove that info string so I can test? If that works, then you can find a work-around.
My chess engine Facón: https://github.com/CMCanavessi/facon
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Banksia GUI released

Post by xr_a_y »

Minic has received a stop just after a go ponder, so it as no best move to output and says

Code: Select all

321.09:09:40 Minic 3.10> bestmove 0000
But indeed, it is logging a little more before that with

Code: Select all

321.09:09:40 Minic 3.10> info string Warn  2021-08-04 09:09:40-609: Empty pv
and Banksia isn't asking for a new search as it should.

This will happen quite a lot, against any engine that is insta-moving on ponderhit.

Do you think Banksia does not like "free style" info string ?
User avatar
CMCanavessi
Posts: 1149
Joined: Thu Dec 28, 2017 4:06 pm
Location: Argentina

Re: Banksia GUI released

Post by CMCanavessi »

xr_a_y wrote: Wed Aug 04, 2021 2:57 pm Do you think Banksia does not like "free style" info string ?
I think that Banksia expects a bestmove string right after the stop command (does the UCI protocol say anything about that?), and as it's receiving an info string instead, things break.

Well, I just went and looked:
* stop

stop calculating as soon as possible,

don't forget the "bestmove" command and possibly the "ponder" token when finishing the search
Ambiguous as sh1t lol. Doesn't say that engine must send "bestmove" immediately, but doesn't say it can send other things either lol. I might guess that Banksia may get confused by that info string (not because I know Banksia, but because it works ok with other engines that don't send it).
My chess engine Facón: https://github.com/CMCanavessi/facon
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Banksia GUI released

Post by xr_a_y »

CMCanavessi wrote: Wed Aug 04, 2021 3:10 pm
xr_a_y wrote: Wed Aug 04, 2021 2:57 pm Do you think Banksia does not like "free style" info string ?
I think that Banksia expects a bestmove string right after the stop command (does the UCI protocol say anything about that?), and as it's receiving an info string instead, things break.

Well, I just went and looked:
* stop

stop calculating as soon as possible,

don't forget the "bestmove" command and possibly the "ponder" token when finishing the search
Ambiguous as sh1t lol. Doesn't say that engine must send "bestmove" immediately, but doesn't say it can send other things either lol. I might guess that Banksia may get confused by that info string (not because I know Banksia, but because it works ok with other engines that don't send it).
Not to forget in "info" subsection:
* string <str>
any string str which will be displayed be the engine,
if there is a string command the rest of the line will be interpreted as <str>.
But maybe there is a pretty clean solution using the
* debug [ on | off ]
switch the debug mode of the engine on and off.
In debug mode the engine should send additional infos to the GUI, e.g. with the "info string" command,
to help debugging, e.g. the commands that the engine has received etc.
This mode should be switched off by default and this command can be sent
any time, also when the engine is thinking.
Maybe I'm not allowed to log if the engine hasn't send "debug on" ...

I can add that easily for sure!