Chess Tools

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
Ferdy
Posts: 4113
Joined: Sun Aug 10, 2008 1:15 pm
Location: Philippines

Chess Tools

Post by Ferdy » Sat Mar 17, 2018 7:01 am

You may describe here the chess tools/utilities that you need. If I have time and knowledge, I may create it. Or other programmers may also do it.
It can be FEN, EPD, and PGN processing, engine use, website scraping, data analysis and others.

Frank Quisinsky
Posts: 4852
Joined: Wed Nov 18, 2009 6:16 pm
Location: Trier, Germany
Contact:

Re: Chess Tools

Post by Frank Quisinsky » Sat Mar 17, 2018 7:40 am

Hi Ferdinand,

I wish me a tool I can split a *.pgn database with quantity "pieces on board".

Step 1:
Tool created 6 databases

2-6 pieces on board
7-12
13-18
19-24
25-32

Step 2:
Tool sorted the games in the six database with move number.
or
Tool sorted the games in the six databases with ECO code

by user wish!

Can be interesting for Elo calculations.
In the past I split with move number for Elo calculations:
Endgame, middlegame and after openings.

OK, databases with games without resign mode are important for such things.

Best
Frank

An idea only, if you are thinking it can be interesting.
I think it is.
I like computer chess!

Frank Quisinsky
Posts: 4852
Joined: Wed Nov 18, 2009 6:16 pm
Location: Trier, Germany
Contact:

Re: Chess Tools

Post by Frank Quisinsky » Sat Mar 17, 2018 8:04 am

Hi Ferdinand,

I had forgotten ...

I am speaking with "pieces on board" from the end positions.

If you like the idea ...

Additional idea:

The tool can directly calculate with the six databases six times the Elo list with bayesian, Elostat or ordo.

:-)

And so one ...
Different other ideas can be added later ...

So, if you have time for it.
You can try it with a nice graphical user interface.

Later we can added much other interesting stats.

Best
Frank
I like computer chess!

jpqy
Posts: 523
Joined: Thu Apr 24, 2008 7:31 am
Location: Belgium

Re: Chess Tools

Post by jpqy » Sat Mar 17, 2018 8:16 am

Can you program into Cutechess for example?!

I'm still waiting and hoping to see Time Forfaits in real time in Cutechess Gui

When running a tournament we see win-lost-and draw games and Elo difference results during running games.

But it would be very usefull to see Time forfaits also when you play a few 1000games in one time..
We can stop the test much earlier when seeing too many Time forfaits..
Now i have to wait till games are finished and check the games with your nice TF.exe tool
When too many Time forfaits we have to adjust settings and redo test!

So ,to make it simple ,is it possible to integrade it into Cutechess Gui ?!

JP.

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

Re: Chess Tools

Post by Ferdy » Sat Mar 17, 2018 8:20 am

Frank Quisinsky wrote:Hi Ferdinand,

I had forgotten ...

I am speaking with "pieces on board" from the end positions.

If you like the idea ...

Additional idea:

The tool can directly calculate with the six databases six times the Elo list with bayesian, Elostat or ordo.
I can do the phase 1, and this rating calculation - will start with ordo.

User avatar
Laskos
Posts: 9527
Joined: Wed Jul 26, 2006 8:21 pm
Full name: Kai Laskos

Re: Chess Tools

Post by Laskos » Sat Mar 17, 2018 8:28 am

Ferdy wrote:You may describe here the chess tools/utilities that you need. If I have time and knowledge, I may create it. Or other programmers may also do it.
It can be FEN, EPD, and PGN processing, engine use, website scraping, data analysis and others.
Ferdi, can you write something which takes a Cutechess-Cli PGN file, and computes average time per move used by move number, after exiting the book, for each engine?

Say:
Engine: Houdini 6.03

Code: Select all

Move   Time per move
   1          1.237s
   2          1.156s
  ...           ....

  40          0.371s
  ...           ....

  90          0.121s
Maybe up to move 120 or 150 or so. The output format I would like would be:
{{1, 1.237},{2,1.156},...,{40,0.371},...{90,0.121}...}

It's easy to use it in Mathematica.

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

Re: Chess Tools

Post by Ferdy » Sat Mar 17, 2018 8:34 am

jpqy wrote:Can you program into Cutechess for example?!

I'm still waiting and hoping to see Time Forfaits in real time in Cutechess Gui

When running a tournament we see win-lost-and draw games and Elo difference results during running games.

But it would be very usefull to see Time forfaits also when you play a few 1000games in one time..
We can stop the test much earlier when seeing too many Time forfaits..
Now i have to wait till games are finished and check the games with your nice TF.exe tool
When too many Time forfaits we have to adjust settings and redo test!

So ,to make it simple ,is it possible to integrade it into Cutechess Gui ?!

JP.
I think TF.exe can be used while the tournament is in progress. Just feed the pgn file of the running tour. If you see there are n games with time forfeit, you can stop the tour manually. Or revised the TF.exe to monitor the running games say read the pgn every N seconds and display in console a warning that there are already too many TF games and then you can stop the running tour manually or let TF.exe terminate cutechess - have not tried this automatic termination yet.

Perhaps ask this as a feature in cutechess project.

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

Re: Chess Tools

Post by Ferdy » Sat Mar 17, 2018 8:37 am

Laskos wrote:
Ferdy wrote:You may describe here the chess tools/utilities that you need. If I have time and knowledge, I may create it. Or other programmers may also do it.
It can be FEN, EPD, and PGN processing, engine use, website scraping, data analysis and others.
Ferdi, can you write something which takes a Cutechess-Cli PGN file, and computes average time per move used by move number, after exiting the book, for each engine?

Say:
Engine: Houdini 6.03

Code: Select all

Move   Time per move
   1          1.237s
   2          1.156s
  ...           ....

  40          0.371s
  ...           ....

  90          0.121s
Maybe up to move 120 or 150 or so. The output format I would like would be:
{{1, 1.237},{2,1.156},...,{40,0.371},...{90,0.121}...}

It's easy to use it in Mathematica.
I can do that.

jpqy
Posts: 523
Joined: Thu Apr 24, 2008 7:31 am
Location: Belgium

Re: Chess Tools

Post by jpqy » Sat Mar 17, 2018 8:49 am

That sounds great..but to see it in practical way?

Cutechess makes a pgn file during tour ..i can open TF.exe ..and here it stops ..now i copy pgn file when tour is finished into TF folder and use tf.exe -i "tour name.pgn" and i get the Time forfaits!

But to let it see/read the file every few seconds/min. real time into TF.exe is a big ??

On Cutechess Github i have long time ago already put it with some more requests! but nothing yet..
Simple ones: adding coordinates on chessboard and a possibility to change colors. But TF is number one for me..

Thanks for your input :!:
JP.

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

Re: Chess Tools

Post by Ferdy » Sat Mar 17, 2018 9:07 am

jpqy wrote:That sounds great..but to see it in practical way?

Cutechess makes a pgn file during tour ..i can open TF.exe ..and here it stops ..now i copy pgn file when tour is finished into TF folder and use tf.exe -i "tour name.pgn" and i get the Time forfaits!

But to let it see/read the file every few seconds/min. real time into TF.exe is a big ??

On Cutechess Github i have long time ago already put it with some more requests! but nothing yet..
Simple ones: adding coordinates on chessboard and a possibility to change colors. But TF is number one for me..

Thanks for your input :!:
JP.
Put the tf.exe in the same dir as the pgn file to be monitored.

Create a batch file that will run tf.exe every say 10s.

run-tf.bat

Code: Select all

:loop
tf.exe -i 508-rapid.pgn

:: Loop every 10s
timeout /t 10

goto loop

Post Reply