Database snapshot

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

Moderators: hgm, Rebel, chrisw

Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Database snapshot

Post by Ferdy »

Redownload the exe, it now handles the missing winrate, it will use 0.0 and show it in result table.

Code: Select all

enter fen or epd or q to quit? r1bqkb1r/pppp1ppp/2n2n2/4p1N1/2B1P3/8/PPPP1PPP/RNBQK2R b KQkq -
(1) Move Stats:
Move    Score  Winrate
d5      -5     49.62
Bc5     -175   37.04
Nxe4    -248   32.05
Qe7     -290   29.34
Nd5     -365   24.86
b5      -375   24.30
d6      -418   21.98
g6      -453   20.22
Na5     -461   19.83
Ba3     -473   19.26
a5      -487   18.61
Bb4     -509   17.62
Bd6     -512   17.49
a6      -526   16.88
b6      -589   14.37
Rb8     -599   14.00
Nd4     -612   13.53
Nb4     -612   13.53
Nb8     -636   12.71
Rg8     -651   12.21
Ng8     -721   10.11
Ke7     -725   10.00
Be7     -730   9.87
h6      -780   8.60
Ng4     -796   8.23
h5      -805   8.02
Nh5     -885   6.41
Ne7     -29998  0.00
noobpwnftw
Posts: 560
Joined: Sun Nov 08, 2015 11:10 pm

Re: Database snapshot

Post by noobpwnftw »

Ferdy wrote: Tue Jul 30, 2019 4:45 pm See there is no 'winrate'. Its winrate should have been 0.0 assuming winrate has a range [0, 100], %.
There is no winrate field for mate scores or exact TB scores(not yet available). It is by design.
User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: Database snapshot

Post by Ovyron »

Ferdy wrote: Wed Jul 31, 2019 2:40 amRedownload the exe, it now handles the missing winrate, it will use 0.0 and show it in result table.
Thanks, and noobpwnftw for the db. Apparently my problem was that Chess Openings Wizard's Copy FEN actually produces an EPD :shock: but at least a bug was squashed :)
Your beliefs create your reality, so be careful what you wish for.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Database snapshot

Post by Ferdy »

noobpwnftw wrote: Wed Jul 31, 2019 2:43 am
Ferdy wrote: Tue Jul 30, 2019 4:45 pm See there is no 'winrate'. Its winrate should have been 0.0 assuming winrate has a range [0, 100], %.
There is no winrate field for mate scores or exact TB scores(not yet available). It is by design.
All right then I would suggest you add {... "winrate": "not available"} to be consistent with the query output.

Later in my script, I will just calculate a winrate based on the score using logistic function.
User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: Database snapshot

Post by Ovyron »

Okay, so I found a problem with the database at the conceptual level. The point of having a back-propagated score and ranking moves based on those scores, is that, no matter what, if you follow the top ranked move you get an out-of-book position for the datababase that is guaranteed to hold a database score that is better than anything else (otherwise, that would have been ranked even higher.)

I was curious about how the database plays against the Italian. For white I used highest frequency of moves played instead of optimal scoring for moves (lest 4.d3!! is optimal and a completely different line is tested.) Black plays top ranked db move.

This is a critical position (database starts after 3.Bc4):

1. e4 e5 2. Nf3 Nc6 3. Bc4!? Nf6 4. Ng5!? d5 5. exd5 Na5 6. Bb5+ c6 7. dxc6 bxc6 8. Be2 h6 9. Nh3 Bc5 10. d3

[d]r1bqk2r/p4pp1/2p2n1p/n1b1p3/8/3P3N/PPP1BPPP/RNBQK2R b KQkq -

Here the query reads:

Code: Select all

Move    Score  Winrate
Qc7     6      50.45
O-O     5      50.38
Nb7     2      50.15
Bf5     -3     49.77
Equivalent to saying "Qc7 is best with a score of -0.06, playing other moves leads to a position that is -0.05 or worse". Out of database position is expected to be good for black.

Moves continue (black still playing top ranked db moves):

1. e4 e5 2. Nf3 Nc6 3. Bc4 Nf6 4. Ng5 d5 5. exd5 Na5 6. Bb5+ c6 7. dxc6 bxc6 8. Be2 h6 9. Nh3 Bc5 10. d3 Qc7 11. O-O O-O 12. Nc3

[d]r1b2rk1/p1q2pp1/2p2n1p/n1b1p3/8/2NP3N/PPP1BPPP/R1BQ1RK1 b - -

Query:

Code: Select all

Move    Score  Winrate
Nb7     3      50.23
This is equivalent to a -0.03 score, which is worse than the score of 10...O-O (-0.05) of the critical position. Basically, the database now regrets playing 10...Qc7. Ideally, the backsolved score for Qc7 should be lower than the score of 10...O-O, because the database already knows white can play this, making 10...O-O more desirable than 10...Qc7.

Another move:

1. e4 e5 2. Nf3 Nc6 3. Bc4 Nf6 4. Ng5 d5 5. exd5 Na5 6. Bb5+ c6 7. dxc6 bxc6 8. Be2 h6 9. Nh3 Bc5 10. d3 Qc7 11. O-O O-O 12. Nc3 Nb7 13. Kh1

[d]r1b2rk1/pnq2pp1/2p2n1p/2b1p3/8/2NP3N/PPP1BPPP/R1BQ1R1K b - -

Query:

Code: Select all

Move    Score  Winrate
Rd8     0      50.00
Bxh3    -1     49.92
This is equivalent to a score of 0.00. 10.Qc7 would now have a backsolved score of 0, making both 10...O-O and 10...Nb7 (-0.02) more appealing that the top ranked Qc7 (which would now be ranked third on the critical position.)

---------------- END OF POST ----------------

That's all I wanted to say, what follow is my findings on this line for the curious. It ends here:

1. e4 e5 2. Nf3 Nc6 3. Bc4 Nf6 4. Ng5 d5 5. exd5 Na5 6. Bb5+ c6 7. dxc6 bxc6 8. Be2 h6 9. Nh3 Bc5 10. d3 Qc7 11. O-O O-O 12. Nc3 Nb7 13. Kh1

r1b2rk1/pnq2pp1/2p2n1p/2b1p3/8/2NP3N/PPP1BPPP/R1BQ1R1K b - -

Full query:

Code: Select all

Move    Score  Winrate
Rd8     0      50.00
Bxh3    -1     49.92

(2) PV info of top move:
0/3 pv Rd8 Ng1 Bf5
I have 14.Qe1 as... "busting" this black line. I find it curious that the db expects Ng1, since the engine drops it at depth 17:

Depth 31 MultiPV=4

16/23 0:01 +0.05 14.Ng1 Bf5 15.Bd2 Rab8 16.Bf3 Bb6 17.Nge2 Nc5 18.Ng3 Bg6 19.h4 Ne6 20.h5 Bh7 21.Rb1 Nd4 22.Nge4 Nxe4 23.Bxe4 (5.238.962) 2943
16/19 0:01 +0.02 14.Qe1 Bd4 (5.238.962) 2943
16/21 0:01 0.00 14.Bd2 Bd6 15.Ng1 Rb8 16.Qe1 Nc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3 (2.003.435.795) 2981
31/48 11:11 +0.22 14.Ng1 e4 15.Bd2 Bf5 16.dxe4 Nxe4 17.Nxe4 Bxe4 18.Qc1 a5 19.Bf4 Bd6 20.Bxd6 Nxd6 21.Nf3 Qb6 22.Bd3 Bxf3 23.gxf3 Qd4 24.Rg1 Kh8 25.Qe3 Qxb2 26.f4 Qf6 27.Rab1 (2.003.435.795) 2981
31/39 11:11 +0.18 14.Bd2 Nd6 15.Na4 Bb6 16.Nxb6 axb6 17.a4 c5 18.b3 Bxh3 19.gxh3 Nf5 20.Bf3 e4 21.Bg2 Nh4 22.Rg1 exd3 23.Bxh6 Rac8 24.Bg5 Nxg2 25.Rxg2 dxc2 26.Qxc2 Qc6 27.Rag1 (2.003.435.795) 2981
Your beliefs create your reality, so be careful what you wish for.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Database snapshot

Post by Ferdy »

Ferdy wrote: Wed Jul 31, 2019 3:39 am
noobpwnftw wrote: Wed Jul 31, 2019 2:43 am
Ferdy wrote: Tue Jul 30, 2019 4:45 pm See there is no 'winrate'. Its winrate should have been 0.0 assuming winrate has a range [0, 100], %.
There is no winrate field for mate scores or exact TB scores(not yet available). It is by design.
All right then I would suggest you add {... "winrate": "not available"} to be consistent with the query output.

Later in my script, I will just calculate a winrate based on the score using logistic function.
Output with logistic.

Code: Select all

enter fen or epd or q to quit? rnbqkbnr/pp2pppp/2p5/3p4/3PP3/8/PPP2PPP/RNBQKBNR w KQkq d6 0 3
(1) Move Stats:
Move    Score   Winrate  logis
e5      19      51.44    51.42
Nd2     16      51.21    51.20
Nc3     16      51.21    51.20
exd5    14      51.06    51.05
f3      2       50.15    50.15
Bd3     0       50.00    50.00
Qe2     0       50.00    50.00
Qd3     -1      49.92    49.93
Qf3     -1      49.92    49.93
c3      -16     48.79    48.80
Ne2     -22     48.33    48.35
Be3     -56     45.77    45.81
c4      -58     45.62    45.66
g3      -63     45.24    45.29
a4      -75     44.34    44.40
h3      -75     44.34    44.40
Nh3     -76     44.27    44.32
Nf3     -77     44.19    44.25
Bg5     -81     43.89    43.95
g4      -85     43.60    43.66
b3      -91     43.15    43.22
Bf4     -92     43.08    43.14
h4      -96     42.78    42.85
Be2     -98     42.63    42.70
a3      -100    42.48    42.56
Bd2     -107    41.96    42.04
Qd2     -107    41.96    42.04
Na3     -108    41.89    41.97
b4      -149    38.90    39.01
Qh5     -150    38.83    38.94
f4      -159    38.18    38.30
Ke2     -193    35.78    35.92
Kd2     -212    34.47    34.62
Bc4     -375    24.30    24.51
Bb5     -440    20.86    21.08
Ba6     -482    18.84    19.06
Bh6     -506    17.75    17.98
Qg4     -1343   1.68     1.75

It seems close when using K=1.2.

Code: Select all

def logis(cp):
    K = 1.2    
    return 100 * (1 / (1 + math.exp(-K*cp/400)))
noobpwnftw
Posts: 560
Joined: Sun Nov 08, 2015 11:10 pm

Re: Database snapshot

Post by noobpwnftw »

My scores are evaluations of moves at current position, in relation to those of other moves of the same position, they have no meaning to any subsequent positions their corresponding moves may lead to(the back-propagation algorithm came up with the scores in the first place, one shouldn't try to put chickens back into eggs).

A "new" move may be discovered later to be better than what is known from the evaluations by the DB using a specific version of engine at the time, which is designed to have a considerable correctness rate. After that, there are mechanisms to refine those results by various means, one simple way is to probe the DB of the position after a move, it would automatically queue unexplored moves directly connected to a previously known DB position(and probed recently) for analysis, another is to manually queue the position or move via API, finally there exists a "Discover" program people can run, which loads any UCI-compatible engine and play games, contributing moves encountered during the process.
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Database snapshot

Post by Ferdy »

noobpwnftw wrote: Wed Jul 31, 2019 5:10 am finally there exists a "Discover" program people can run, which loads any UCI-compatible engine and play games, contributing moves encountered during the process.
I tried to compile ChessDBDiscover and it seems to work. Created an engine dir and put engine.exe, a renamed stockfish dev engine, then run ChessDBDiscover.exe with default config values.

Image

So what does the ChessDBDiscover.exe is doing? Does it play engine vs engine matches based on StartFEN in config file? If so how many games? Does it send the results to the cloud?
User avatar
Ovyron
Posts: 4556
Joined: Tue Jul 03, 2007 4:30 am

Re: Database snapshot

Post by Ovyron »

noobpwnftw wrote: Wed Jul 31, 2019 5:10 am the back-propagation algorithm came up with the scores in the first place, one shouldn't try to put chickens back into eggs
But if 10...Qc7 eventually leads to a score of 0.00 while 10...O-O leads to a score of -0.05 and 10...Nb7 leads to a score of -0.02, against white's best play, surely Qc7 should be ranked third best? The more blunders in the database played by white, the better 10...Qc7 looks even though there's a line that leads to 0.00 and nothing better for black?

(I'm just trying to demonstrate that the back-propagation algorithm is flawed)
Your beliefs create your reality, so be careful what you wish for.
noobpwnftw
Posts: 560
Joined: Sun Nov 08, 2015 11:10 pm

Re: Database snapshot

Post by noobpwnftw »

Ovyron wrote: Wed Jul 31, 2019 6:11 am
noobpwnftw wrote: Wed Jul 31, 2019 5:10 am the back-propagation algorithm came up with the scores in the first place, one shouldn't try to put chickens back into eggs
But if 10...Qc7 eventually leads to a score of 0.00 while 10...O-O leads to a score of -0.05 and 10...Nb7 leads to a score of -0.02, against white's best play, surely Qc7 should be ranked third best? The more blunders in the database played by white, the better 10...Qc7 looks even though there's a line that leads to 0.00 and nothing better for black?

(I'm just trying to demonstrate that the back-propagation algorithm is flawed)
Within a small margin, the more blunders in the database for white, the better it looks for black due to weighted averaging because otherwise it is no different than using an engine or building a minmax tree.