UCI question

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
Rebel
Posts: 6991
Joined: Thu Aug 18, 2011 12:04 pm

Re: UCI question

Post by Rebel »

jdart wrote: Mon Jan 28, 2019 9:19 pm I have a script to do analysis on EPD files. It takes several command-line options, to specify engine, time control, multipv, etc. It uses python-chess.

See https://github.com/jdart1/arasan-chess/ ... analyze.py

Usage:

python3 analyze.py -e <engine> -c <cores> -H <hash in MB> -m <multipv lines> filename.

--Jon
Hi Jon,

That's interesting....

Before diving into Python, can you post some example output of the analyzed EPD's?
90% of coding is debugging, the other 10% is writing bugs.
jdart
Posts: 4366
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: UCI question

Post by jdart »

Sample output:

engine ready

3r2k1/6p1/5p1p/2q2P2/2b1pBPP/1pQ1P3/p4R1K/2R5 w - - bm Rg2; c0 "exeComp-Arasan, FICS 2018";

depth 40 seldepth 65 multipv 1 score cp 553 nodes 16495277975 nps 9164017 hashfull 999 tbhits 0 time 1800005 pv f2g2
depth 39 seldepth 59 multipv 2 score cp 163 nodes 16495277975 nps 9164017 hashfull 999 tbhits 0 time 1800005 pv c3b2 g8f7 f2g2 d8d5 c1a1 c5c6 a1g1 c6b6 b2c3 b6c5 g1e1 d5d7 e1h1 d7d8 c3b2 d8d7 h1g1 d7d8 g1e1 d8d7 h2h1 c5b5 h1g1 d7d3 e1c1 b5d5 g4g5 h6g5 h4g5 d5f5 g5f6 g7f6 b2a3 f5d5 a3a7 d5d7 a7c5 d3d1 c1d1 d7d1 g1h2 c4e6 f4d6 e6g4 c5c4 f7g7 c4e6 a2a1q g2g4 d1g4 e6g4 g7h8
depth 39 seldepth 72 multipv 3 score cp 90 nodes 16495277975 nps 9164017 hashfull 999 tbhits 0 time 1800005 pv c1g1 d8d3 c3c1 d3d5 f2g2 c5b5 c1b2 c4f1 g2f2 f1c4 h2h1 g8f7 h1g2 d5d3 b2c1 d3d5 g2h2 f7g8 h2h1 b5a6 c1b2 d5a5 g1a1 g8h7 f2g2 a6c8 h1h2 a5c5 a1c1 c4f7 c1c5 c8c5 b2a1 h6h5 g4g5 c5f5 g5f6 f5f6 f4e5 f6h4 h2g1 g7g6 e5h8 b3b2 h8b2
++ solved in 10.557 seconds (94511779 nodes)