OKE - Opening Knowledge Engines

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
Rebel
Posts: 4515
Joined: Thu Aug 18, 2011 10:04 am

Re: OKE - Opening Knowledge Engines

Post by Rebel » Sun Jun 16, 2019 5:16 am

Ferdy wrote:
Sat Jun 15, 2019 7:52 pm
Rebel wrote:
Sat Jun 15, 2019 6:11 pm
Ferdy wrote:
Sat Jun 15, 2019 7:29 am

1r2r1k1/1pqbbppp/p2p1n2/4p3/P3PP2/2N1BB2/1PP2QPP/R4R1K b - - bm Rbc8; ce 26; acd 20;

Is the line with epd, bm, ce, acd enough?
Excellent!

Code: Select all

mea.exe --engine "sf10.exe" --protocol uci --name "Stockfish10" --hash %HASH% --threads 4 --rating 3495 --epd %EPD% --movetime %MT% --log 1 --output %OUTPUT%
And the filename as given by the user with --name ,thus Stockfish10.epd
All right will do that.
But perhaps [epd name]_[engine name].epd. Can be 2-moves_Stockfish10.epd if the epd is 2-moves.epd
Sure.
Ferdy wrote:
Sat Jun 15, 2019 7:52 pm
Rebel wrote:
Sat Jun 15, 2019 6:11 pm
What output format do you like when multipv is more than 1.
If possible something like this:

Code: Select all

rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - id MultiPV=1; bm e4; ce=30; acd=20;
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - id MultiPV=2; bm d4; ce=20; acd=20;
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - id MultiPV=3; bm Nf3; ce=10; acd=20;
So 3 epd records.
This one

Code: Select all

rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - id MultiPV=1; bm e4; ce=30; acd=20;
is not a valid epd. We can modify it to ce 30; acd 20;
But if you really like that format with ce=30, I will do that.
My bad, of course it should be ce 30; and acd 20;

Ferdy wrote:
Sat Jun 15, 2019 7:52 pm
If epd is 2-moves.epd, that epd results can be saved in 2-moves_multipv[multipv number]_Stockfish10.epd.
Then we can also make the id's unique, can be

Code: Select all

rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - id "2-moves.epd pos 1 MultiPV=1"; bm e4; ce=30; acd=20;
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - id "2-moves.epd pos 1 MultiPV=2"; bm d4; ce=20; acd=20;
...
[piece locations] [side] [castle rights] [ep] id "2-moves.epd pos 2 MultiPV=1"; ...
...
OK.
Everybody is unique, except me.

Ferdy
Posts: 4018
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Re: OKE - Opening Knowledge Engines

Post by Ferdy » Sun Jun 16, 2019 9:11 am

Currently testing on output when multipv is more than 1. Will probably issue a beta later tonight.

input_epd: 6-moves.epd
multipv: 3
log file: Stockfish_10_mt1000ms_log.txt

Code: Select all

...
[ 2019-06-16 16:52:59,269 -    DEBUG ] << uciok
[ 2019-06-16 16:52:59,269 -    DEBUG ] >> setoption name Threads value 1
[ 2019-06-16 16:52:59,269 -    DEBUG ] >> setoption name Hash value 256
[ 2019-06-16 16:52:59,269 -     INFO ] eoption: ['multipv=3']
[ 2019-06-16 16:52:59,269 -    DEBUG ] >> setoption name multipv value 3
[ 2019-06-16 16:52:59,269 -    DEBUG ] >> isready
[ 2019-06-16 16:52:59,346 -    DEBUG ] << readyok
[ 2019-06-16 16:52:59,346 -     INFO ] 

[ 2019-06-16 16:52:59,346 -     INFO ] Pos 1
[ 2019-06-16 16:52:59,346 -     INFO ] id None
[ 2019-06-16 16:52:59,346 -     INFO ] FEN: 1rbqk1nr/pp2ppbp/2np2p1/2p5/4P3/2NPB1P1/PPP2PBP/R2QK1NR w KQk - 0 1
[ 2019-06-16 16:52:59,362 -     INFO ] Solutions: Qd2=100
[ 2019-06-16 16:52:59,362 -    DEBUG ] >> ucinewgame
[ 2019-06-16 16:52:59,362 -    DEBUG ] >> position fen 1rbqk1nr/pp2ppbp/2np2p1/2p5/4P3/2NPB1P1/PPP2PBP/R2QK1NR w KQk - 0 1
[ 2019-06-16 16:52:59,362 -    DEBUG ] >> go movetime 1000
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 1 seldepth 1 multipv 1 score cp 39 nodes 124 nps 62000 tbhits 0 time 2 pv g1e2
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 1 seldepth 1 multipv 2 score cp 27 nodes 124 nps 62000 tbhits 0 time 2 pv g1f3
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 1 seldepth 1 multipv 3 score cp 19 nodes 124 nps 62000 tbhits 0 time 2 pv h2h4
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 2 seldepth 2 multipv 1 score cp 153 nodes 288 nps 144000 tbhits 0 time 2 pv g1e2 g7c3 e2c3
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 2 seldepth 2 multipv 2 score cp 103 nodes 288 nps 144000 tbhits 0 time 2 pv h2h4 g7c3 b2c3
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 2 seldepth 2 multipv 3 score cp 100 nodes 288 nps 144000 tbhits 0 time 2 pv g1f3 g7c3 b2c3
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 3 seldepth 3 multipv 1 score cp 153 nodes 417 nps 208500 tbhits 0 time 2 pv g1e2 g7c3 e2c3
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 3 seldepth 3 multipv 2 score cp 103 nodes 417 nps 208500 tbhits 0 time 2 pv h2h4 g7c3 b2c3
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 3 seldepth 3 multipv 3 score cp 100 nodes 417 nps 208500 tbhits 0 time 2 pv g1f3 g7c3 b2c3
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 4 seldepth 5 multipv 1 score cp 103 nodes 725 nps 362500 tbhits 0 time 2 pv g1e2 b7b6 e1g1 b6b5 d1e1
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 4 seldepth 4 multipv 2 score cp 100 nodes 725 nps 362500 tbhits 0 time 2 pv g1f3 g7c3 b2c3 b7b6
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 4 seldepth 4 multipv 3 score cp 74 nodes 725 nps 362500 tbhits 0 time 2 pv h2h4 b7b6 h4h5 a7a5
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 5 seldepth 6 multipv 1 score cp 81 nodes 2588 nps 862666 tbhits 0 time 3 pv a2a4 f7f5 g1e2 f5e4
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 5 seldepth 6 multipv 2 score cp 67 nodes 2588 nps 862666 tbhits 0 time 3 pv g1e2 b7b5 a2a3 b5b4 a3b4 c5b4
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 5 seldepth 6 multipv 3 score cp 62 nodes 2588 nps 862666 tbhits 0 time 3 pv a2a3 b7b5 g1f3 b5b4
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 6 seldepth 6 multipv 1 score cp 67 nodes 5303 nps 1060600 tbhits 0 time 5 pv g1e2 b7b5 a2a3 b5b4 a3b4
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 6 seldepth 7 multipv 2 score cp 30 nodes 5303 nps 1060600 tbhits 0 time 5 pv a2a4 d8b6 a1a2 b6b4 g1e2 b7b5
[ 2019-06-16 16:52:59,378 -    DEBUG ] << info depth 6 seldepth 7 multipv 3 score cp 16 nodes 5303 nps 1060600 tbhits 0 time 5 pv a2a3 g8f6 g1f3 d8b6 a1a2 f6g4
[ 2019-06-16 16:52:59,394 -    DEBUG ] << info depth 7 seldepth 8 multipv 1 score cp 15 nodes 14687 nps 1223916 tbhits 0 time 12 pv a2a4 d8b6 e3d2 g8f6 g1e2 e8g8 e1g1 f6g4
[ 2019-06-16 16:52:59,394 -    DEBUG ] << info depth 7 seldepth 9 multipv 2 score cp -23 nodes 14687 nps 1223916 tbhits 0 time 12 pv a2a3 b7b5 g2h3 b5b4 a3b4 c5b4 h3c8 d8c8
[ 2019-06-16 16:52:59,394 -    DEBUG ] << info depth 7 seldepth 10 multipv 3 score cp -45 nodes 14687 nps 1223916 tbhits 0 time 12 pv g1f3 b7b5 e4e5 b5b4 c3e4 c6e5 f3e5
[ 2019-06-16 16:52:59,394 -    DEBUG ] << info depth 8 seldepth 10 multipv 1 score cp 38 nodes 22782 nps 1340117 tbhits 0 time 17 pv a2a4 c8d7 g1e2 g8f6 h2h3 e8g8 e1g1 g8h8
[ 2019-06-16 16:52:59,394 -    DEBUG ] << info depth 8 seldepth 10 multipv 2 score cp 6 nodes 22782 nps 1340117 tbhits 0 time 17 pv g1e2 g8f6 d3d4 c5d4 e2d4 e8g8 e1g1 f6g4
[ 2019-06-16 16:52:59,394 -    DEBUG ] << info depth 8 seldepth 10 multipv 3 score cp -45 nodes 22782 nps 1340117 tbhits 0 time 17 pv g1f3 b7b5 e4e5 b5b4 c3e4 c6e5 f3e5 g7e5
[ 2019-06-16 16:52:59,410 -    DEBUG ] << info depth 9 seldepth 12 multipv 1 score cp 19 nodes 45326 nps 1373515 tbhits 0 time 33 pv a2a4 c8d7 g1e2 d8c8 e1g1 g8f6 e3g5 e8g8 c3d5 d7g4
[ 2019-06-16 16:52:59,410 -    DEBUG ] << info depth 9 seldepth 12 multipv 2 score cp -1 nodes 45326 nps 1373515 tbhits 0 time 33 pv g1f3 g8f6 h2h3 b7b5 e1g1 e8g8 c3d5 b5b4
[ 2019-06-16 16:52:59,410 -    DEBUG ] << info depth 9 seldepth 12 multipv 3 score cp -20 nodes 45326 nps 1373515 tbhits 0 time 33 pv g1e2 g8f6 e1g1 f6g4 d3d4 e8g8 e3g5 c5d4 c3d5 b7b5 c2c3 d4c3
[ 2019-06-16 16:52:59,440 -    DEBUG ] << info depth 10 seldepth 13 multipv 1 score cp 22 nodes 82579 nps 1423775 tbhits 0 time 58 pv a2a4 g8f6 h2h3 e8g8 g1e2 b7b6 e1g1 c8b7 g1h1 d8c8 f2f4 g8h8
[ 2019-06-16 16:52:59,440 -    DEBUG ] << info depth 10 seldepth 15 multipv 2 score cp -9 nodes 82579 nps 1423775 tbhits 0 time 58 pv g1e2 g8f6 e1g1 f6g4 e3f4 e8g8 h2h3 g4e5 c3d5 b7b5 c2c3
[ 2019-06-16 16:52:59,440 -    DEBUG ] << info depth 10 seldepth 13 multipv 3 score cp -12 nodes 82579 nps 1423775 tbhits 0 time 58 pv g1f3 g8f6 h2h3 f6d7 e1g1 b7b5 a2a3 b5b4 c3a4 e8g8 d3d4 c6d4 f3d4
[ 2019-06-16 16:52:59,471 -    DEBUG ] << info depth 11 seldepth 16 multipv 1 score cp 35 nodes 128764 nps 1463227 tbhits 0 time 88 pv a2a4 g8f6 g1e2 e8g8 h2h3 b7b6 e1g1 c8b7 f2f4 f6d7 f4f5
[ 2019-06-16 16:52:59,471 -    DEBUG ] << info depth 11 seldepth 16 multipv 2 score cp 2 nodes 128764 nps 1463227 tbhits 0 time 88 pv g1e2 g8f6 e1g1 e8g8 a2a3 b7b6 f2f4 c8b7 f4f5 e7e6 f5e6 f7e6 h2h3
[ 2019-06-16 16:52:59,471 -    DEBUG ] << info depth 11 seldepth 17 multipv 3 score cp -5 nodes 128764 nps 1463227 tbhits 0 time 88 pv g1f3 g8f6 h2h3 b7b5 e1g1 b5b4 c3e2 e8g8 f3d2 c8d7 d2c4 d8c8 g1h2 c8b7
[ 2019-06-16 16:52:59,519 -    DEBUG ] << info depth 12 seldepth 17 multipv 1 score cp 24 nodes 218285 nps 1484931 tbhits 0 time 147 pv g1f3 g8f6 h2h3 e8g8 e1g1 c8e6 a2a4 d8b6 d1b1 h7h6 f3d2 b6d8 f2f4
[ 2019-06-16 16:52:59,519 -    DEBUG ] << info depth 12 seldepth 18 multipv 2 score cp 19 nodes 218285 nps 1484931 tbhits 0 time 147 pv a2a4 g8f6 g1e2 e8g8 e1g1 b7b6 h2h3 c8b7 d3d4 c5d4 e2d4 f6d7 f2f4 c6d4
[ 2019-06-16 16:52:59,519 -    DEBUG ] << info depth 12 seldepth 16 multipv 3 score cp 12 nodes 218285 nps 1484931 tbhits 0 time 147 pv g1e2 g8f6 e1g1 e8g8 h2h3 b7b6 d3d4 c5d4 e2d4 c8b7 d4c6 b7c6 f2f4 f6d7
[ 2019-06-16 16:52:59,644 -    DEBUG ] << info depth 13 seldepth 16 multipv 1 score cp 22 nodes 386699 nps 1453755 tbhits 0 time 266 pv g1e2 g8f6 h2h3 e8g8 f2f4 c8d7 e1g1 d8c8 g1h2 b7b5 e4e5 d6e5 e3c5 e5f4 e2f4
[ 2019-06-16 16:52:59,644 -    DEBUG ] << info depth 13 seldepth 18 multipv 2 score cp 22 nodes 386699 nps 1453755 tbhits 0 time 266 pv g1f3 g8f6 h2h3 e8g8 e1g1 b7b5 a2a3 c8d7 c3d5 a7a5 f3d2 e7e6 d5f6 g7f6 c2c3 f6g7
[ 2019-06-16 16:52:59,644 -    DEBUG ] << info depth 13 seldepth 19 multipv 3 score cp 18 nodes 386699 nps 1453755 tbhits 0 time 266 pv h2h3 b7b5 a2a3 e7e6 g1e2 d8b6 a1b1 a7a6 e1g1 g8e7 b2b4 e8g8 f2f4 b6a7 b4c5 d6c5
[ 2019-06-16 16:52:59,878 -    DEBUG ] << info depth 14 seldepth 22 multipv 1 score cp 40 nodes 712310 nps 1441923 tbhits 0 time 494 pv g1e2 g8f6 f2f4 e8g8 h2h3 c8d7 e1g1 a7a6 e4e5 d6e5 e3c5 b8c8 d1e1 b7b6 c5e3 e5f4 e2f4
[ 2019-06-16 16:52:59,878 -    DEBUG ] << info depth 14 seldepth 20 multipv 2 score cp 22 nodes 712310 nps 1441923 tbhits 0 time 494 pv h2h3 b7b5 a2a3 e7e6 g1e2 g8e7 b2b4 c6d4 a3a4 d4e2 c3e2 c5b4 e3a7 b8a8 a4b5 e8g8 b5b6
[ 2019-06-16 16:52:59,878 -    DEBUG ] << info depth 14 seldepth 22 multipv 3 score cp 19 nodes 712310 nps 1441923 tbhits 0 time 494 pv g1f3 g8f6 h2h3 c8d7 e1g1 d8c8 g1h2 b7b5 e4e5 c6e5 f3e5 d6e5 c3e4 f6e4 d3e4
[ 2019-06-16 16:53:00,252 -    DEBUG ] << info depth 15 seldepth 22 multipv 1 score cp 27 nodes 1263619 nps 1439201 tbhits 0 time 878 pv g1e2 g8f6 f2f4 e8g8 h2h3 f6d7 e1g1 b7b5 e4e5 c8b7 e5d6 e7d6 c3b5 d8e7 e3c1 a7a6 b5c7 c6d4 e2d4 g7d4 g1h1 b7g2 h1g2 d4b2
[ 2019-06-16 16:53:00,252 -    DEBUG ] << info depth 15 seldepth 20 multipv 2 score cp 26 nodes 1263619 nps 1439201 tbhits 0 time 878 pv g1f3 g8f6 e1g1 b7b5 h2h3 f6d7 a2a3 e8g8 d3d4 b5b4 c3a4 b4a3 a1a3 c8a6 f1e1 c5d4 f3d4 c6d4 e3d4
[ 2019-06-16 16:53:00,252 -    DEBUG ] << info depth 15 seldepth 26 multipv 3 score cp 19 nodes 1263619 nps 1439201 tbhits 0 time 878 pv a2a4 g8f6 g1e2 e8g8 e1g1 b7b6 h2h3 c8b7 f2f4 e7e6 d3d4 c5d4 e2d4 f6h5 d4e2 c6e7
[ 2019-06-16 16:53:00,377 -    DEBUG ] << info depth 16 seldepth 22 multipv 1 score cp 27 nodes 1442954 nps 1440073 hashfull 43 tbhits 0 time 1002 pv g1e2 g8f6 f2f4 e8g8 h2h3 f6d7 e1g1 b7b5 e4e5 c8b7 e5d6 e7d6 c3b5 d8e7 e3c1 a7a6 b5c7 c6d4 e2d4 g7d4 g1h1 b7g2 h1g2 d4b2
[ 2019-06-16 16:53:00,377 -    DEBUG ] << info depth 15 seldepth 20 multipv 2 score cp 26 nodes 1442954 nps 1440073 hashfull 43 tbhits 0 time 1002 pv g1f3 g8f6 e1g1 b7b5 h2h3 f6d7 a2a3 e8g8 d3d4 b5b4 c3a4 b4a3 a1a3 c8a6 f1e1 c5d4 f3d4 c6d4 e3d4
[ 2019-06-16 16:53:00,377 -    DEBUG ] << info depth 15 seldepth 26 multipv 3 score cp 19 nodes 1442954 nps 1440073 hashfull 43 tbhits 0 time 1002 pv a2a4 g8f6 g1e2 e8g8 e1g1 b7b6 h2h3 c8b7 f2f4 e7e6 d3d4 c5d4 e2d4 f6h5 d4e2 c6e7
[ 2019-06-16 16:53:00,377 -    DEBUG ] << bestmove g1e2 ponder g8f6
[ 2019-06-16 16:53:00,377 -     INFO ] elapsed(ms) since go: 1025
[ 2019-06-16 16:53:00,377 -     INFO ] bestmove: Nge2
[ 2019-06-16 16:53:00,377 -     INFO ] Score for this test: 0
[ 2019-06-16 16:53:00,377 -     INFO ] Total Score update: 0 / 100 (0.000)
[ 2019-06-16 16:53:00,377 -     INFO ] multipv 1 = {'bm': 'Nge2', 'depth': 16, 'score': 27}
[ 2019-06-16 16:53:00,377 -     INFO ] multipv 2 = {'bm': 'Nf3', 'depth': 15, 'score': 26}
[ 2019-06-16 16:53:00,377 -     INFO ] multipv 3 = {'bm': 'a4', 'depth': 15, 'score': 19}
[ 2019-06-16 16:53:00,377 -     INFO ] 1rbqk1nr/pp2ppbp/2np2p1/2p5/4P3/2NPB1P1/PPP2PBP/R2QK1NR w KQk - id "6-moves.epd pos 1 MultiPV=1"; bm Nge2; ce 27; acd 16;
[ 2019-06-16 16:53:00,377 -     INFO ] 1rbqk1nr/pp2ppbp/2np2p1/2p5/4P3/2NPB1P1/PPP2PBP/R2QK1NR w KQk - id "6-moves.epd pos 1 MultiPV=2"; bm Nf3; ce 26; acd 15;
[ 2019-06-16 16:53:00,377 -     INFO ] 1rbqk1nr/pp2ppbp/2np2p1/2p5/4P3/2NPB1P1/PPP2PBP/R2QK1NR w KQk - id "6-moves.epd pos 1 MultiPV=3"; bm a4; ce 19; acd 15;
[ 2019-06-16 16:53:00,377 -     INFO ]
...

And the epd output, 6-moves_multipv3_Stockfish_10.epd

Code: Select all

1rbqk1nr/pp2ppbp/2np2p1/2p5/4P3/2NPB1P1/PPP2PBP/R2QK1NR w KQk - id "6-moves.epd pos 1 MultiPV=1"; bm Nge2; ce 27; acd 16;
1rbqk1nr/pp2ppbp/2np2p1/2p5/4P3/2NPB1P1/PPP2PBP/R2QK1NR w KQk - id "6-moves.epd pos 1 MultiPV=2"; bm Nf3; ce 26; acd 15;
1rbqk1nr/pp2ppbp/2np2p1/2p5/4P3/2NPB1P1/PPP2PBP/R2QK1NR w KQk - id "6-moves.epd pos 1 MultiPV=3"; bm a4; ce 19; acd 15;
...

User avatar
Rebel
Posts: 4515
Joined: Thu Aug 18, 2011 10:04 am

Re: OKE - Opening Knowledge Engines

Post by Rebel » Sun Jun 16, 2019 2:09 pm

Perfect!

Can't wait....
Everybody is unique, except me.

leavenfish
Posts: 256
Joined: Mon Sep 02, 2013 6:23 am

Re: OKE - Opening Knowledge Engines

Post by leavenfish » Sun Jun 16, 2019 4:49 pm

Dann Corbit wrote:
Tue Jun 11, 2019 7:26 am
I disagree. Every evaluation is worthwhile. And the deeper the search and the stronger the engine, the more worthwhile it is. There is nothing fundamentally different from an opening position and any other mostly closed position. And a 36 ply search by stockfish or komodo is every bit as good as a GM evaluation.
Yes, computers can be very wrong, even offering stupid moves after a long search. But GMs can also be wrong after a good long think.
My point is really that so few moves into the game, it is about style (in a sense) as there is still too many moves to be played to be able to decide that a line of play is in some way 'correct'. You can't really say for most lines that this one or that one 'optimal' by letting an engine search thru the primordial soup of early (EARLY) opening play.

This is why most tournaments start with predetermined positions several moves beyond what is given here. Could any engine reach a given tabia at move 12 (24 ply) as black in a Benko gambit? No...because there is 'choice' involved to that point.

I just have to think that people spending their time and effort on these early positions would be better off...perhaps doing other things with their life. Just my opinion of course.

As a (slight) aside, I recently came across a fairly amusing book called THE FINAL THEORY OF CHESS (Gary M. Danelishen, 2008) and checked out some of the Dutch analysis...amusing. He used Deep Fritz 10 in the end. Amusing is the number of lines where the author and engine plowed straight ahead...and todays engines (and some common sense...built upon experience) show how wrong the early decisions were. Perhaps the future holds more of the same but at an ever decreasing rate. I do think we are quite a ways away from the hardware and software to get to any 'final theory', certainly 'this early) into openings...but perhaps the Alpha Zero's of the world will hasten it a bit.

Ferdy
Posts: 4018
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Re: OKE - Opening Knowledge Engines

Post by Ferdy » Sun Jun 16, 2019 6:24 pm

Try this beta. You may request other features, let me see if it does not take some time. Sample batch file is included. log directory will be created automatically if not present. I hope this would work on other computer.

To enable multipv with other option

Code: Select all

--eoption "multipv=3, hash=128, contempt=0"
There should be no space between multipv and = sign, and between = sign and option value.

Code: Select all

Wrong:
--eoption "multipv = 2"
To see logs use a flag --log, was option --log 1

Code: Select all

--name "stockfish 10" --log
mea.exe and other files.
https://drive.google.com/file/d/1bfLzH8 ... sp=sharing

Code: Select all

usage: mea.exe [-h] -i EPD [-o OUTPUT] -e ENGINE [--eoption EOPTION] -n NAME
               [-t THREADS] [-m HASH] [-a MOVETIME] [-r RATING] [-p PROTOCOL]
               [-s {0,1}] [--stmode {0,1}] [--protover {1,2}] [--log]

Analyzes epd file having multiple solution moves with points

optional arguments:
  -h, --help            show this help message and exit
  -i EPD, --epd EPD     input epd filename
  -o OUTPUT, --output OUTPUT
                        text output filename for result,
                        default=mea_results.txt
  -e ENGINE, --engine ENGINE
                        engine filename
  --eoption EOPTION     uci engine option, --eoption "contempt=true, Futility
                        Pruning=false, pawn value=120"
  -n NAME, --name NAME  engine name
  -t THREADS, --threads THREADS
                        Threads or cores to be used by the engine, default=1.
  -m HASH, --hash HASH  Hash in MB to be used by the engine, default=64.
  -a MOVETIME, --movetime MOVETIME
                        Analysis time in milliseconds, 1s = 1000ms,
                        default=500
  -r RATING, --rating RATING
                        You may input a rating for this engine, this will be
                        shown in the output file, default=2500
  -p PROTOCOL, --protocol PROTOCOL
                        engine protocol [uci/xboard], default=uci
  -s {0,1}, --san {0,1}
                        for xboard engine, set this to 1 if it will send a
                        move in san format, default=0
  --stmode {0,1}        for xboard engines, set this to 0 if it does not
                        support st command, default=1
  --protover {1,2}      for xboard engines, this is protocol version number,
                        default=2
  --log                 Records engine and analyzer output to [engine
                        name]_[movetime]_log.txt

MEA v0.3.2
py source code will be released later after some refactoring.
Last edited by Ferdy on Sun Jun 16, 2019 6:25 pm, edited 1 time in total.

leavenfish
Posts: 256
Joined: Mon Sep 02, 2013 6:23 am

Re: OKE - Opening Knowledge Engines

Post by leavenfish » Sun Jun 16, 2019 6:25 pm

leavenfish wrote:
Sun Jun 16, 2019 4:49 pm
Dann Corbit wrote:
Tue Jun 11, 2019 7:26 am
I disagree. Every evaluation is worthwhile. And the deeper the search and the stronger the engine, the more worthwhile it is. There is nothing fundamentally different from an opening position and any other mostly closed position. And a 36 ply search by stockfish or komodo is every bit as good as a GM evaluation.
Yes, computers can be very wrong, even offering stupid moves after a long search. But GMs can also be wrong after a good long think.
My point is really that so few moves into the game, it is about style (in a sense) as there is still too many moves to be played to be able to decide that a line of play is in some way 'correct'. You can't really say for most lines that this one or that one 'optimal' by letting an engine search thru the primordial soup of early (EARLY) opening play.

This is why most tournaments start with predetermined positions several moves beyond what is given here. Could any engine reach a given tabia at move 12 (24 ply) as black in a Benko gambit? No...because there is 'choice' involved to that point.

I just have to think that people spending their time and effort on these early positions would be better off...perhaps doing other things with their life. Just my opinion of course.

As a (slight) aside, I recently came across a fairly amusing book called THE FINAL THEORY OF CHESS (Gary M. Danelishen, 2008) and checked out some of the Dutch analysis...amusing. He used Deep Fritz 10 in the end. Amusing is the number of lines where the author and engine plowed straight ahead...and todays engines (and some common sense...built upon experience) show how wrong the early decisions were. Perhaps the future holds more of the same but at an ever decreasing rate. I do think we are quite a ways away from the hardware and software to get to any 'final theory', certainly 'this early) into openings...but perhaps the Alpha Zero's of the world will hasten it a bit.
and a quick addition.
I plopped this standard Dutch position:

1.d4 f5, 2.c4 Nf6, 3.Nf3 e6, 4.g3

Into the developmental version of SF 10 - 17/05/19 and the top two suggestions after 41 ply are:

4...Bb4 +.66
4...g6 +.51


Everyone knows Alekhines ...Bb4 is not the right way to go here.
...g6...I think it is called the 'Christmas Tree' variation...which is not played much (doesn't make a lot of sense really).

I believe 4...b6 might have been the 3rd suggestion (don't remember for sure) and we all know you do not fianchetto the light squared bishop in this position.

User avatar
Rebel
Posts: 4515
Joined: Thu Aug 18, 2011 10:04 am

Re: OKE - Opening Knowledge Engines

Post by Rebel » Sun Jun 16, 2019 7:59 pm

Get an error message : Google Drive - no access to document.
Everybody is unique, except me.

Ferdy
Posts: 4018
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Re: OKE - Opening Knowledge Engines

Post by Ferdy » Sun Jun 16, 2019 8:20 pm

Sorry first time google has flagged my file.

Try this http://www.mediafire.com/file/nr8g975x5 ... a.zip/file

Ferdy
Posts: 4018
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Re: OKE - Opening Knowledge Engines

Post by Ferdy » Sun Jun 16, 2019 8:41 pm

Ferdy wrote:
Sun Jun 16, 2019 8:20 pm
Sorry first time google has flagged my file.
Seemed like the reason is this. I did install a DDG extension.

Image

Have to add it to white list.

User avatar
Rebel
Posts: 4515
Joined: Thu Aug 18, 2011 10:04 am

Re: OKE - Opening Knowledge Engines

Post by Rebel » Sun Jun 16, 2019 9:27 pm

Ferdy wrote:
Sun Jun 16, 2019 8:20 pm
Sorry first time google has flagged my file.

Try this http://www.mediafire.com/file/nr8g975x5 ... a.zip/file
got it.
Everybody is unique, except me.

Post Reply