Cfish icon indicating copy to clipboard operation
Cfish copied to clipboard

Unexpected move from "Cfish"

Open verccety opened this issue 7 years ago • 6 comments
trafficstars

Sometimes I'm getting the following warning from cutechess-cli What could it be?

cutechess log played games

verccety avatar Feb 21 '18 08:02 verccety

I have no idea what this could be. If Cfish outputs an illegal move or a move at the wrong time, I would expect it to lose the game, but there don't seem to be strange losses in your output. And cutechess-cli isn't telling us exactly which games and at which moves the problem occurs, so it is difficult to know what is going on.

Can anyone reproduce this?

syzygy1 avatar Apr 02 '18 12:04 syzygy1

This behavior still occurs on a different machine with recent version

cutechess-cli log PGN

verccety avatar Aug 14 '18 14:08 verccety

@gogamoga1 how many cores/threads in your machine? And with what concurrency was played this matches?

@syzygy1 i can confirm this issue. One guy have same message: "Unexpected move from "Cfish".

====== UPD: this hapened on 2 different PC's. On 4 core machine with concurrency 3.

RomeoA23 avatar Sep 14 '18 09:09 RomeoA23

@syzygy1

Stockfish 9++ - it is renamed Cfish...

une

Une.txt

========= From cutechess SRC's:

https://github.com/cutechess/cutechess/blob/6ec1b44ef41940ab7d6eae2bed0ffcf4b2824683/projects/lib/src/uciengine.cpp#L638

screenshot_760

RomeoA23 avatar Sep 14 '18 10:09 RomeoA23

I believe you may see this on occasion when a game is adjudicated and cfish sends the move at just about the same time so that cutechess thinks the game is already over. As long as you are having no significant errors and matches are being played out to completion as they should be.. you may consider starting a match with errors to be redirected to null

C:\Program Files (x86)\cutechess>cutechess-cli.exe -repeat -rounds 1000 -concurrency 4 -draw movenumber=40 movecount=5 score=5 -resign movecount=4 score=650 -openings file=Hert500.pgn format=pgn -pgnout games.pgn -engine cmd=cfish.exe name="Cfish" -engine cmd=BrainFish_180217_x64_bmi2.exe name="Brainfish" option."Large Pages"=true -each proto=uci option.Threads=1 option.Hash=512 tc=300+3 >/dev/null ( if you wish that error message to be hidden)

MichaelB7 avatar Apr 26 '21 02:04 MichaelB7

I would expect cutechess to check whether the game should be adjudicated before it tells the engine to start the search.

syzygy1 avatar May 01 '21 20:05 syzygy1