Page 1 of 16

Chess Tools

Posted: Sat Mar 17, 2018 7:01 am
by Ferdy
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.

Re: Chess Tools

Posted: Sat Mar 17, 2018 7:40 am
by Frank Quisinsky
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.

Re: Chess Tools

Posted: Sat Mar 17, 2018 8:04 am
by Frank Quisinsky
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

Re: Chess Tools

Posted: Sat Mar 17, 2018 8:16 am
by jpqy
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.

Re: Chess Tools

Posted: Sat Mar 17, 2018 8:20 am
by Ferdy
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.

Re: Chess Tools

Posted: Sat Mar 17, 2018 8:28 am
by Laskos
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.

Re: Chess Tools

Posted: Sat Mar 17, 2018 8:34 am
by Ferdy
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.

Re: Chess Tools

Posted: Sat Mar 17, 2018 8:37 am
by Ferdy
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.

Re: Chess Tools

Posted: Sat Mar 17, 2018 8:49 am
by jpqy
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.

Re: Chess Tools

Posted: Sat Mar 17, 2018 9:07 am
by Ferdy
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