CEGT TC adaptor calculator

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

Moderator: Ras

Ferdy
Posts: 4855
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

CEGT TC adaptor calculator

Post by Ferdy »

Might be useful to others, created a tool to get the TC for my hardware, no need to look for the excel file and csv data, you just need the crafty engine and this tool. Sample run.

Code: Select all

CHTCAC - CEGT Hardware Time Control Adaptor Calculator v1.3

Read me:
Calculates Time Control (TC) for your hardware to adapt
to 3 types of CEGT TC namely 40/4, 40/20 and 40/120.

This runs Crafty bench to get the time then use the data from
Benchmark times.csv file to calculate the TC for your hardware.
You can find both files from CEGT site at,
http://www.husvankempen.de/nunn/downloads.htm.
Look for "download Crafty compile for CEGT benchmark...".

Select 1 to start or 0 to exit? 1

Deleting existing game.001 file
Deleting existing log.001 file
Deleting existing book.lrn file
Deleting existing position.bin file
Deleting existing position.lrn file

Starting engine craftyx.exe

Running bench please wait ...
Total nodes: 80680468
Raw nodes per second: 1967816
Total elapsed time: 41
Done running bench!!

bench time: 41s

TC for your hardware to adapt to CEGT TC:
40/4   :: 40 moves in X :: X = 2 minutes
40/20  :: 40 moves in X :: X = 15 minutes
40/120 :: 40 moves in X :: X = 90 minutes

Writing TC results to TC_report.txt file ...


Press enter key to exit
Output in file.

Code: Select all

Run date: 2015-08-05 10:07:34.817000
Crafty bench time: 41 seconds
40/4   :: 40 moves in X :: X = 2 minutes
40/20  :: 40 moves in X :: X = 15 minutes
40/120 :: 40 moves in X :: X = 90 minutes
Download:
https://sites.google.com/site/deuterium ... es/cegt-tc

For convenience, the crafty engine is also included in the uploaded file.
User avatar
Graham Banks
Posts: 46024
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: CEGT TC adaptor calculator

Post by Graham Banks »

Any chance you could make one for CCRL time controls as well?
gbanksnz at gmail.com
Ferdy
Posts: 4855
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: CEGT TC adaptor calculator

Post by Ferdy »

Graham Banks wrote:Any chance you could make one for CCRL time controls as well?
Yes of course I will take a look at that.
User avatar
Graham Banks
Posts: 46024
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: CEGT TC adaptor calculator

Post by Graham Banks »

Ferdy wrote:
Graham Banks wrote:Any chance you could make one for CCRL time controls as well?
Yes of course I will take a look at that.
Thanks Ferdinand. 8-)
gbanksnz at gmail.com
Ferdy
Posts: 4855
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: CEGT TC adaptor calculator

Post by Ferdy »

I have something ready, take a look if this is enough, I might have missed something. Just realized that you were using the same crafty engine. But your formula is easier, in CEGT I have to create the table.

Perhaps you have other request, I will implement if it does not take too much time.

Example, Processor name, cores and Memory is easy to add.

Code: Select all

Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
Cores: Physical = 4, Logical = 8
Physical Memory: Total = 12 GB, Available = 8 GB
Sample run.

Code: Select all

CCRL TC Adaptor Calculator v1.0

Read me:
Calculates Time Control (TC) for your hardware to adapt
to 3 types of CCRL TC namely 40/4, 40/12 and 40/40.

This runs Crafty bench to get the time then use some factors
to calculate the TC for your hardware.

Select 1 to start or 0 to exit? 1

Deleting existing game.001 file
Deleting existing log.001 file
Deleting existing book.lrn file
Deleting existing position.bin file
Deleting existing position.lrn file

Starting engine craftyx.exe

Running bench please wait ...
Total nodes: 80680468
Raw nodes per second: 3361686
Total elapsed time: 24
Done running bench!!

bench time: 24s

TC for your hardware to adapt to CCRL TC:
40/4   :: T minutes / 40 moves repeated :: T = 2 minutes
40/12  :: T minutes / 40 moves repeated :: T = 6 minutes
40/40  :: T minutes / 40 moves repeated :: T = 20 minutes

Writing TC results to CCRL_TC_report.txt file ...


Press enter key to exit
CCRL_TC_report.txt.

Code: Select all

Run date: 2015-08-05 11:29:03.608000
Crafty bench time: 24 seconds
40/4   :: T minutes / 40 moves repeated :: T = 2 minutes
40/12  :: T minutes / 40 moves repeated :: T = 6 minutes
40/40  :: T minutes / 40 moves repeated :: T = 20 minutes
Frank Quisinsky
Posts: 7484
Joined: Wed Nov 18, 2009 7:16 pm
Location: Gutweiler, Germany
Full name: Frank Quisinsky

Re: CEGT TC adaptor calculator

Post by Frank Quisinsky »

Hi Ferdinand,

and for my rating list?

But games need more time here compare to CEGT and CCRL.
I am not using resing = on.

Normely move average with resign = on is around 65-66 moves.
Move average with resing = off is around 88 moves.

For my stats I need resign = off !!

Best
Frank
User avatar
Graham Banks
Posts: 46024
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: CEGT TC adaptor calculator

Post by Graham Banks »

Ferdy wrote:....Perhaps you have other request, I will implement if it does not take too much time...
Pretty sure that just the TC calculator is fine. Thanks so much for offering to do this. :)
gbanksnz at gmail.com
Ferdy
Posts: 4855
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: CEGT TC adaptor calculator

Post by Ferdy »

I just added the engine name and date.
I have not added craftyx.exe file in the upload.
CCRL TC Adaptor Calculator v1.0

Read me:
Calculates Time Control (TC) for your hardware to adapt
to 3 types of CCRL TC namely 40/4, 40/12 and 40/40.

This runs Crafty bench to get the time then use some factors
to calculate the TC for your hardware.

Select 1 to start or 0 to exit? 1

Deleting existing game.001 file
Deleting existing log.001 file
Deleting existing book.lrn file
Deleting existing position.bin file
Deleting existing position.lrn file

Starting engine craftyx.exe

Engine filename : craftyx.exe
Engine name : Crafty v19.17 BH
Date modified : 2004-09-06 15:24:40


Running bench please wait ...
Total nodes: 80680468
Raw nodes per second: 3361686
Total elapsed time: 24
Done running bench!!

bench time: 24s

TC for your hardware to adapt to CCRL TC:
40/4 :: T minutes / 40 moves repeated :: T = 2 minutes
40/12 :: T minutes / 40 moves repeated :: T = 6 minutes
40/40 :: T minutes / 40 moves repeated :: T = 20 minutes

Writing TC results to CCRL_TC_report.txt file ...


Press enter key to exit
Download:
http://www.mediafire.com/download/p8vby ... v1dot0.rar
Frank Quisinsky
Posts: 7484
Joined: Wed Nov 18, 2009 7:16 pm
Location: Gutweiler, Germany
Full name: Frank Quisinsky

Re: CEGT TC adaptor calculator

Post by Frank Quisinsky »

Hi Ferdinand,

could I added your tool in the tool selection on my download area?
This would be great ...

Best
Frank
Ferdy
Posts: 4855
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: CEGT TC adaptor calculator

Post by Ferdy »

Frank Quisinsky wrote:Hi Ferdinand,

and for my rating list?

But games need more time here compare to CEGT and CCRL.
I am not using resing = on.

Normely move average with resign = on is around 65-66 moves.
Move average with resing = off is around 88 moves.

For my stats I need resign = off !!

Best
Frank
In your games we can create puzzles, mate in 1, 2, 3 and others.