Another "engine can't solve this" puzzle on Youtub

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Dann Corbit
Posts: 12777
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Another "engine can't solve this" puzzle on Yo

Post by Dann Corbit »

tpoppins wrote:
MikeB wrote:latest McB now under 130 seconds with mate score
<snip>

Code: Select all

dep	score	nodes	time	(not shown:  tbhits	knps	seldep)
 70	+128.34 	5.70G	2:34.15	b6 Be8 b7 Bb5 b8=R Ba6 Rb6 Bf1 Rb1 Kg2 Ke4 Be2 Kf4 Bd3 Rb6 Be2 Rc6 Bb5 Rc7 Be2 Kxg4 Kxf2 Kh3 Bf1+ Kh4 Kg2 g4 Bd3 Bg3 Be4 Rd7 Bc6 Rd2+ Kg1 Bh2+ Kf1 Kg3 Ke1 Rf2 Bb7 Rxf3 
"+128.xx" indicates a tablebase win, it's not a mate score; I believe we've gone over this already.
Kind of semantics, though.
The tablebase lookup has proven there is a checkmate.
In some sense, that is a mate score.
Yes, technically, a mate score is:

"A value greater than 32000 indicates the availability of a forced mate to the
active player. The number of plies until mate is given by subtracting the
evaluation from the value 32767. Thus, a winning mate in N fullmoves is a mate
in ((2 * N) - 1) halfmoves (or ply) and has a corresponding centipawn
evaluation of (32767 - ((2 * N) - 1)). For example, a mate on the move (mate
in one) has a centipawn evaluation of 32766 while a mate in five has a
centipawn evaluation of 32758.

A value less than -32000 indicates the availability of a forced mate to the
passive player. The number of plies until mate is given by subtracting the
evaluation from the value -32767 and then negating the result. Thus, a losing
mate in N fullmoves is a mate in (2 * N) halfmoves (or ply) and has a
corresponding centipawn evaluation of (-32767 + (2 * N)). For example, a mate
after the move (losing mate in one) has a centipawn evaluation of -32765 while
a losing mate in five has a centipawn evaluation of -32757."


But a tablebase hit is the same thing without a definite distance in plies.
IOW:
A value greater than <tb-indicator-value> indicates the availability of a forced mate to the active player.

where <tb-indicator-value> varies from tb to tb and engine to engine.

Which is confusing, to say the least.

Komodo says values around 250.
SF says values around 128.
Both reading from Syzygy files.

The worst part of this sort of scoring is that it is larger than mate values in magnitude (32.766 pawns is the biggest score in the PGN standard).
Which is also ironic because of this:
f:\utils\imbalance.exe < q:\absurd.epd
>> ** IMBALANCED ** << [14415]:( 4k3/8/Q7/8/1QQ5/N3N3/3QQQQQ/R1BQKB1R w KQ - )

[d]4k3/8/Q7/8/1QQ5/N3N3/3QQQQQ/R1BQKB1R w KQ -
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Dann Corbit
Posts: 12777
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Another "engine can't solve this" puzzle on Yo

Post by Dann Corbit »

Hmm..
Not sure what I was thinking because checkmate is in centipawns not millipawns.

So it is 327.66 and still bigger than these other reported scores.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: Another "engine can't solve this" puzzle on Yo

Post by MikeB »

latest dev SF-McB ( expected release on or about July 4th)

8/1P6/8/1b1K4/6p1/5pP1/5P1B/7k w - - 1 1

single core/thread 256M hash

Code: Select all

dep	score	nodes	time	(not shown:  tbhits	knps	seldep)
 67	+84.40!	1.17G	7:02.10	b8=R! 
 67	+68.57!	1.11G	6:38.60	b8=R! 
 67	+55.93!	1.04G	6:13.03	b8=R! 
 67	+45.83!	976.2M	5:48.23	b8=R! 
 67	+37.76!	919.3M	5:27.20	b8=R! 
 67	+31.33!	851.4M	5:02.25	b8=R! 
 67	+26.19!	806.0M	4:44.45	b8=R! 
 67	+22.10!	763.5M	4:28.08	b8=R! 
 67	+18.84!	724.5M	4:13.23	b8=R! 
 67	+16.25!	686.8M	3:59.05	b8=R! 
 67	+14.19!	652.2M	3:46.11	b8=R! 
 67	+12.56!	615.9M	3:32.35	b8=R! 
 67	+11.27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g2 Qb2 Kg1 Kc3 Kg2 Qb6 Kf1 Kb4 Kg2 Qd4 Kh2 Qd2 Kg1 Kb3 Kg2 Qd4 Kg1 Qe3 Kg2 Kb2 Kg1 Qd2 Bf1 Qg5 Bh3 Qe3 Kf1 Kb1 Kg1 
looks like it will hit mate or a tb-mate

it's playing pretty well too.

Code: Select all

50 of 1200 games completed...
time control: 15000+150
Date: 06/28/17 : 02:44:44
50 game(s) loaded
Rank Name                      Rating   Δ     +    -     #     Σ    Σ%     W    L    D   W%    =%   OppR 
---------------------------------------------------------------------------------------------------------
   1 SF-McBrain v26.h 64 POPC   3100   0.0   20   20    50   25.0  50.0    5    5   40  10.0  80.0  3100 
   2 Stockfish 220617 64 POPC   3100   0.6   20   20    50   25.0  50.0    5    5   40  10.0  80.0  3100 
---------------------------------------------------------------------------------------------------------
50 game(s) loaded