I know that the 'Little Blitzer GUI' automatically does this, but I run Linux on my PC and play the games with cutechess-cli.
Is there a tool that outputs the average search depth for each engine from games in a pgn? Would be really helpful.
Tool that outputs average search depth
Moderators: hgm, Dann Corbit, Harvey Williamson
-
Joerg Oster
- Posts: 931
- Joined: Fri Mar 10, 2006 4:29 pm
- Location: Germany
Tool that outputs average search depth
Jörg Oster
-
Rebel
- Posts: 6946
- Joined: Thu Aug 18, 2011 12:04 pm
Re: Tool that outputs average search depth
I maintain it myself and store it in a txt-file.
Example
Example
Code: Select all
ENG1 72:01:43 (523.426M nodes) NPS = 2.019K
ENG2 71:59:50 (516.386M nodes) NPS = 1.992K
Depth Stats MIDG END0 END1 END2
ENG1 11.68 12.14 12.91 16.17
ENG2 11.57 12.08 12.87 16.16
-
ernest
- Posts: 2040
- Joined: Wed Mar 08, 2006 8:30 pm
Re: Tool that outputs average search depth
The Fritz GUI does output the average search depth for engine matches.Joerg Oster wrote:Is there a tool that outputs the average search depth for each engine from games in a pgn? Would be really helpful.
But since it is an average including beginning (book => depth 0) and endgame (depths can go very high, and if tablebases GUI are used, depth=0) that average has to be viewed with caution.
Here is a PGN output:
............
[White "Houdini 2.0c w32 Nlm"]
[Black "Strelka 5.5"]
[Result "1/2-1/2"]
[ECO "D38"]
[Annotator "0.28;0.10"]
[PlyCount "219"]
[TimeControl "120+1"]
{Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz 3000 MHz W=18.6 plies; 1 563kN/s; 1 072 TBAs; Perfect2011.ctg B=18.1 plies; 1 208kN/s; Perfect2011.ctg}
1. d4 {[%eval 0,0] [%emt 0:00:00]} Nf6 {[%eval 0,0] [%emt 0:00:00]} 2. c4 {....................
-
tpetzke
- Posts: 686
- Joined: Thu Mar 03, 2011 4:57 pm
- Location: Germany
Re: Tool that outputs average search depth
Is there a tool that outputs the average search depth for each engine from games in a pgn? Would be really helpful.
I've written a little parser that takes a pgn and builds the average search depth for moves in mid game positions (about move 10 - 25)
But it requires Windows.
Thomas...
parser GA-gen-01-brd00.pgn GA-gen-01-brd02.pgn
Total MidGame Ply Sum (1) 5724 with 673 entries. Average: 8.51
Total Game Ply Sum (1) 2489 with 22 entries. Average: 113.14
Total Draws (1) 10 with 22 entries. Percent: 45.45%
Total MidGame Ply Sum (2) 5367 with 655 entries. Average: 8.19
Total Game Ply Sum (2) 2584 with 22 entries. Average: 117.45
Total Draws (2) 4 with 22 entries. Percent: 18.18%
Total:
Total MidGame Ply Sum (2) 11091 with 1328 entries. Average: 8.35
Total Game Ply Sum (2) 5073 with 44 entries. Average: 115.30
Total Draws (2) 14 with 44 entries. Percent: 31.82%
-
ernest
- Posts: 2040
- Joined: Wed Mar 08, 2006 8:30 pm
Re: Tool that outputs average search depth
How does one use that?tpetzke wrote:I've written a little parser that takes a pgn and builds the average search depth for moves in mid game positions (about move 10 - 25)
But it requires Windows.
-
Joerg Oster
- Posts: 931
- Joined: Fri Mar 10, 2006 4:29 pm
- Location: Germany
Re: Tool that outputs average search depth
Hi Thomas,tpetzke wrote:Is there a tool that outputs the average search depth for each engine from games in a pgn? Would be really helpful.
I've written a little parser that takes a pgn and builds the average search depth for moves in mid game positions (about move 10 - 25)
But it requires Windows.
Thomas...
parser GA-gen-01-brd00.pgn GA-gen-01-brd02.pgn
Total MidGame Ply Sum (1) 5724 with 673 entries. Average: 8.51
Total Game Ply Sum (1) 2489 with 22 entries. Average: 113.14
Total Draws (1) 10 with 22 entries. Percent: 45.45%
Total MidGame Ply Sum (2) 5367 with 655 entries. Average: 8.19
Total Game Ply Sum (2) 2584 with 22 entries. Average: 117.45
Total Draws (2) 4 with 22 entries. Percent: 18.18%
Total:
Total MidGame Ply Sum (2) 11091 with 1328 entries. Average: 8.35
Total Game Ply Sum (2) 5073 with 44 entries. Average: 115.30
Total Draws (2) 14 with 44 entries. Percent: 31.82%
this looks great.
Would you mind sharing it so I could give it a try under Linux via wine?
My e-mail: oster5(at)kabelmail.de
Jörg
Jörg Oster
-
Joerg Oster
- Posts: 931
- Joined: Fri Mar 10, 2006 4:29 pm
- Location: Germany
Re: Tool that outputs average search depth
Hi Ernest,
I know the Fritz-GUI, of course.
But since I don't (want to!) run Windows any longer, this is a no go.
Thanks, Jörg.
I know the Fritz-GUI, of course.
But since I don't (want to!) run Windows any longer, this is a no go.
Thanks, Jörg.
Jörg Oster
-
tpetzke
- Posts: 686
- Joined: Thu Mar 03, 2011 4:57 pm
- Location: Germany
Re: Tool that outputs average search depth
Hi,
I uploaded it to my website.
http://www.fam-petzke.de/downloads/pgn-parser.zip
I also included the source code for anyone interested to make a native LINUX compile.
The package contains 2 executables
parser.exe takes up to 10 pgn files as input paramter and builds the average midgame search depth found in them
pgntest.exe takes 1 pgn file but collects the search depths separate by engine. It takes the first two engines it finds in the file.
Thomas...
I uploaded it to my website.
http://www.fam-petzke.de/downloads/pgn-parser.zip
I also included the source code for anyone interested to make a native LINUX compile.
The package contains 2 executables
parser.exe takes up to 10 pgn files as input paramter and builds the average midgame search depth found in them
pgntest.exe takes 1 pgn file but collects the search depths separate by engine. It takes the first two engines it finds in the file.
Thomas...
-
Joerg Oster
- Posts: 931
- Joined: Fri Mar 10, 2006 4:29 pm
- Location: Germany
Re: Tool that outputs average search depth
pgntest.exe works excellent via wine. Many thanks!
Jörg
Jörg
Jörg Oster