Closed dje-dev closed 3 years ago
CORRECTION. Tinker pointed out the timeout was in an earlier game in the log file. It seems to be a timing issue, initial testing of Ceres was on high end hardware and also used a timemargin setting in cutechess testing. So the Ceres internal time buffer will be increased to correct this problem.
This is believed fixed. Ceres had previously made the incorrect assumption that the time increment is awarded at the beginning of a move, but actually should be awarded only after. This is fixed in commit 969e7ac6b89b04e353e6bdccca8e699b6b3915b3.
Tinker reports Ceres "getting time losses" on about 1 out of 10 games at 30 seconds + 1 second using cutechess. He kindly provided a sample log.
Initial investigation of the cutechess log does not explain this. Actually although Ceres was indeed on move when it stopped, cutechess does not claim that Ceres lost, it does not adjudicate it in favor of the opponent (as it usually would) with if there were a crash, i.e. we do not see any see entries such as:
Instead we just see that it asked Ceres to stop thinking after 1.1seconds following a go command in which Ceres was informed it had 11.799 seconds left on its clock (before increment). Cutechess then marks it as "unterminated."
So the reason for cutechess ending the game/tournament is unknown. It may well be a Ceres bug, but there does not seem to be evidence of that (yet).