Unusual Number of Draws in Fastchess

Discussion of chess software programming and technical issues.

Moderator: Ras

gflohr
Posts: 90
Joined: Fri Jul 23, 2021 5:24 pm
Location: Elin Pelin
Full name: Guido Flohr

Unusual Number of Draws in Fastchess

Post by gflohr »

I have come across a nasty problem with fastchess testing: https://github.com/Disservin/fastchess/issues/977

In short: Garbage output by an engine may cause the UCI parser in fastchess to fail with an exception. Surprisingly, this exception causes the game to be counted as a draw. The problem is only visible in the log file if engine output is enabled. It is not visible in the console.

The root cause of the problem is, of course, a bug in an engine, in that case, mine. However - until the issue is fixed - when you have the impression that a tournament produces more draws than expected, it may be worth checking the fastchess log file for fatal errors.
gflohr
Posts: 90
Joined: Fri Jul 23, 2021 5:24 pm
Location: Elin Pelin
Full name: Guido Flohr

Re: Unusual Number of Draws in Fastchess

Post by gflohr »