CECP mate scores

Discussions about the WinBoard protocol. Here you can also report bugs and request new features.

Moderators: hgm, Andres Valverde

CECP mate scores

Postby jdart » 14 Aug 2018, 17:14

I am looking into this topic recently. It appears that some editions of the CECP protocol advise reporting mate scores as 10000-distance to mate, while at some point this was changed to 100000-distance to mate. I notice though in the engine-intf.html bundled with Winboard 4.8.0, there is no mention of mate scores at all in the section on "Thinking Output." So it is not completely clear to me what the standard is.

cutechess apparently supports both mate score options, via this patch:
https://github.com/cutechess/cutechess/commit/234fddf113ae0e9b491d348f93fb703089bf2258.

I notice though that in Winboard (I have tried 4.8.0 and 4.9.1), reporting either 10000 based scores or 100000 based scores does not seem to trigger any special behavior in the UI: in other words, the score is just reported as the engine sends it, and not as "+Mate10" or something similar.

--Jon
User avatar
jdart
 
Posts: 105
Joined: 26 Sep 2004, 21:11
Location: San Jose, CA

Re: CECP mate scores

Postby H.G.Muller » 14 Sep 2018, 20:33

It should report e.g. 100006 as #6 in the engine-output window. It doesn't do anything special in the PGN, though. I am not sure it should do that, because PGN is an interchange format, and interfaces that would not know this convention would not understand the score at all if it is non-numeric.
User avatar
H.G.Muller
 
Posts: 3453
Joined: 16 Nov 2005, 12:02
Location: Diemen, NL


Return to WinBoard development and bugfixing

Who is online

Users browsing this forum: No registered users and 13 guests