Matthies / RubiChess

Another chess engine
GNU General Public License v3.0
155 stars 17 forks source link

Bug in delay measuring #392

Closed Matthies closed 1 year ago

Matthies commented 1 year ago

TCEC shows bug in new measurement of delay.

686443 >RubiChess 20230121(0): position startpos moves e2e4 c7c5 g1f3 d7d6 d2d4 c5d4 f3d4 g8f6 b1c3 a7a6 h2h3 e7e6 g2g4 f8e7 c1e3 b8c6 g4g5 f6d7 h3h4 e8g8 f1e2 d7c5 d4c6 b7c6 e3c5 d6c5 d1d8 f8d8 a1d1 d8d4 f2f4 e6e5 f4e5 c8e6 d1d4 c5d4 c3a4 h7h6 g5h6 g7h6
686443 >RubiChess 20230121(0): go wtime 1240352 btime 35973064 winc 3000 binc 1
...
1108488 <RubiChess 20230121(0): bestmove e1d2 ponder a8b8
...
1110455 >RubiChess 20230121(0): position startpos moves e2e4 c7c5 g1f3 d7d6 d2d4 c5d4 f3d4 g8f6 b1c3 a7a6 h2h3 e7e6 g2g4 f8e7 c1e3 b8c6 g4g5 f6d7 h3h4 e8g8 f1e2 d7c5 d4c6 b7c6 e3c5 d6c5 d1d8 f8d8 a1d1 d8d4 f2f4 e6e5 f4e5 c8e6 d1d4 c5d4 c3a4 h7h6 g5h6 g7h6 e1d2 a8b8
1110455 >RubiChess 20230121(0): go wtime 821308 btime 35971098 winc 3000 binc 1
...
1214989 <RubiChess 20230121(0): bestmove b2b3 ponder a6a5
1214998 <RubiChess 20230121(0): info string Measured engine overhead is 7894ms and time forfeits are very likely. Please increase Move_Overhead option!
...
2392793 >RubiChess 20230121(0): quit
2393062 <RubiChess 20230121(0): info string Maximum measured GUI overhead was 712ms.
2393062 <RubiChess 20230121(0): info string Maximum measured engine overhead was 7894ms.
Matthies commented 1 year ago

Fixed with commit 1007e69472987093a61a252d8eb55779c19fc4ba