Help to modify bayeselo.exe

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

Moderator: Ras

Vinvin
Posts: 5310
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Help to modify bayeselo.exe

Post by Vinvin »

I'm not a C/C++ specialist, so I ask if someone could do this modification : add 1 (or 2 or 3) decimal to the Elo calculation (and output).

Example :
Before :

Code: Select all

Rank Name                                   Elo    +    - games score oppo. draws
   1 Rybka 3 64-bit 4CPU                   3197   10   10  4119   77%  3007   34% 
After :

Code: Select all

Rank Name                                   Elo       +       -    games score    oppo.    draws
   1 Rybka 3 64-bit 4CPU                   3197.xxx   10.xxx   10.xxx  4119   77.xxx%  3007.xxx   34.xxx% 
Source is here : http://remi.coulom.free.fr/Bayesian-Elo/ -> bayeselo.tar.bz2

I already asked to Rémi Coulom but he was to busy ...
Thanks !
Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Help to modify bayeselo.exe

Post by Ferdy »

Sample run from ccrl and cegt games, added diff elo, win % and w-l-d data. I am checking randomly the W-L-D, will be released couple of hours later if I can't find any errors.

Code: Select all

Rank Name                                     Elo     Diff     +     -      Games  Score    Oppo.   Draws     Win          W-L-D 
   1 Houdini 2.0c 64-bit 4CPU              613.95     0.00  30.55  30.02      353  66.01%  509.28  20.40%  45.61%       161-48-144
   2 Houdini 1.5a 64-bit 4CPU              601.53   -12.42  21.92  21.56      695  67.19%  489.13  20.72%  46.47%       323-84-288
   3 Rybka 4.1 64-bit 4CPU                 562.99   -38.54  20.04  19.90      748  60.56%  498.02  26.20%  34.36%       257-99-392
   4 Stockfish 2.2.2 64-bit 4CPU           562.06    -0.93  30.71  30.43      309  58.90%  509.26  27.51%  31.39%        97-42-170
   5 Rybka 4 64-bit 4CPU                   560.66    -1.40  18.51  18.39      949  65.38%  458.56  23.23%  42.15%       400-108-441
   6 Critter 1.4 64-bit 4CPU               558.07    -2.59  70.06  68.56       57  59.65%  497.02  29.82%  29.82%        17-6-34
   7 Houdini 1.5a 64-bit                   556.44    -1.62  16.81  16.68     1169  64.07%  462.71  21.21%  42.86%       501-172-496
   8 Critter 1.2 64-bit 4CPU               556.17    -0.27  26.62  26.31      433  61.20%  485.40  24.48%  36.72%       159-62-212
   9 Houdini 2.0c 64-bit                   543.61   -12.56  16.50  16.35     1304  67.06%  423.13  18.14%  48.93%       638-193-473
  10 Stockfish 2.0.1 64-bit 4CPU           541.57    -2.04  24.13  24.12      514  56.42%  500.97  24.32%  32.10%       165-99-250
  11 Rybka 3 64-bit 4CPU                   530.79   -10.78  14.47  14.25     1795  72.76%  372.81  19.78%  52.98%       951-134-710
  12 Rybka 3 Human 64-bit 4CPU             528.41    -2.38  38.70  37.93      213  63.85%  435.53  22.54%  41.31%        88-29-96
  13 Stockfish 2.1.1 64-bit 4CPU           527.97    -0.43  27.30  27.23      406  54.68%  499.00  24.14%  30.54%       124-86-196
  14 Stockfish 1.9.1 64-bit 4CPU           522.70    -5.27  23.62  23.37      570  62.19%  441.06  23.07%  39.12%       223-84-263
  15 Komodo 4 64-bit SSE                   522.65    -0.05  16.99  16.85     1150  63.26%  432.54  22.13%  41.13%       473-168-509
  16 Komodo 4 64-bit                       522.42    -0.24  35.37  35.17      227  56.39%  486.13  27.75%  28.63%        65-36-126
  17 Houdini 2.0c 32-bit                   518.32    -4.10  16.33  16.00     1442  74.51%  348.07  17.79%  56.73%       818-111-513
  18 Komodo 3 64-bit SSE                   517.87    -0.45  19.11  18.84      893  60.86%  446.08  21.67%  39.19%       350-156-387
  19 Rybka 4 64-bit 2CPU                   517.09    -0.78  33.51  33.09      269  60.97%  450.57  23.79%  37.17%       100-41-128
  20 Critter 1.4 64-bit                    516.96    -0.12  26.08  25.81      437  59.04%  457.58  26.09%  32.95%       144-65-228
  21 Stockfish 1.8 64-bit 4CPU             516.47    -0.49  20.54  20.21      762  64.17%  421.62  23.88%  40.29%       307-91-364
  22 Stockfish 1.7.1 64-bit 4CPU           513.94    -2.54  18.83  18.85      853  61.02%  441.97  26.32%  34.70%       296-108-449
  23 Rybka 4.1 64-bit                      511.25    -2.68  15.23  15.10     1331  56.39%  470.46  24.61%  31.78%       423-253-655
  24 Komodo 3 64-bit                       509.94    -1.32  24.72  24.37      542  62.08%  428.83  20.57%  41.51%       225-94-223
  25 Critter 1.2 64-bit                    507.25    -2.68  14.08  14.16     1511  52.68%  489.43  25.55%  27.13%       410-329-772
  26 Houdini 1.5a 32-bit                   504.31    -2.94  20.49  20.20      874  72.77%  349.09  18.65%  54.12%       473-75-326
  27 Stockfish 1.8 64-bit 2CPU             500.02    -4.30  51.76  50.64      123  61.38%  421.63  19.11%  42.28%        52-24-47
  28 Rybka 4 64-bit                        497.82    -2.19  17.31  17.11     1196  69.27%  366.16  19.61%  49.67%       594-133-469
  29 Critter 0.90 64-bit 4CPU              496.50    -1.32  32.20  32.28      286  47.73%  509.23  23.95%  23.78%        68-81-137
  30 Houdini 1.5 x64                       493.62    -2.88  23.26  22.99      600  63.75%  403.69  21.08%  42.67%       256-91-253
  31 Stockfish 2.2 64-bit                  491.70    -1.92  38.27  37.97      202  57.92%  442.75  26.73%  31.19%        63-31-108
  32 Komodo 4.0 x64                        491.44    -0.26  27.88  27.51      400  64.62%  398.49  24.12%  40.50%       162-45-193
  33 Stockfish 2.2.2 64-bit                489.82    -1.62  38.34  37.85      215  58.14%  435.54  21.86%  36.28%        78-43-94
  34 Critter 1.01 64-bit 4CPU              488.86    -0.96  37.65  37.80      193  47.41%  502.62  30.31%  17.10%        33-43-117
  35 Critter 1.4 32-bit                    485.03    -3.83  21.01  20.70      802  69.51%  353.00  19.76%  49.75%       399-86-317
  36 Naum 4.2 64-bit 4CPU                  481.58    -3.45  15.82  15.59     1241  53.51%  458.64  24.90%  28.61%       355-268-618
  37 Critter 1.4 x64                       479.24    -2.34  37.41  37.22      200  54.50%  452.45  28.00%  26.50%        53-35-112
  38 Stockfish 2.1.1 64-bit                479.10    -0.14  15.98  15.78     1185  51.10%  471.65  25.70%  25.40%       301-275-609
  39 Rybka 4.0 x64                         478.58    -0.52  23.76  23.48      550  64.00%  389.91  24.18%  39.82%       219-65-266
  40 Rybka 3 64-bit 2CPU                   475.41    -3.18  20.85  20.53      769  66.97%  362.88  21.46%  45.51%       350-89-330
  41 Stockfish 1.7.1 64-bit 2CPU           472.61    -2.79  28.52  28.33      356  55.76%  440.43  26.54%  29.21%       104-63-189
  42 Komodo 2.03 64-bit                    470.32    -2.30  31.17  31.19      303  50.17%  469.08  24.42%  25.74%        78-77-148
  43 Critter 1.01 64-bit                   467.45    -2.87  23.31  23.26      559  54.20%  438.69  23.08%  31.13%       174-127-258
  44 Komodo 2.01 64-bit                    465.79    -1.66  21.03  20.93      710  56.20%  424.33  22.54%  33.66%       239-151-320
  45 Naum 4.1 64-bit 4CPU                  463.88    -1.91  28.88  28.44      376  61.04%  392.58  22.74%  38.30%       144-61-171
  46 Critter 1.2 32-bit                    463.01    -0.87  16.93  16.80     1179  68.32%  340.66  21.50%  46.82%       552-120-507
  47 Stockfish 2.2.2 32-bit                461.74    -1.27  21.80  21.51      697  66.79%  352.21  22.45%  44.33%       309-75-313
  48 Critter 0.90 64-bit                   459.57    -2.17  24.51  24.08      551  63.07%  373.96  20.42%  42.65%       235-91-225
  49 Critter 0.80 64-bit 4CPU              458.24    -1.33  39.91  39.53      190  55.26%  423.39  24.21%  31.05%        59-39-92
  50 Rybka 3 64-bit                        455.04    -3.20  11.77  11.54     2688  67.73%  329.18  19.59%  48.14%      1294-341-1053
Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Help to modify bayeselo.exe

Post by Ferdy »

Revised program is available here https://sites.google.com/site/deuterium ... ownloads-1
look for bayeselo folder. The program is for win 64bit only, but sources are included.
Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Help to modify bayeselo.exe

Post by Ferdy »

Just added the win 32 application.
Adam Hair
Posts: 3226
Joined: Wed May 06, 2009 10:31 pm
Location: Fuquay-Varina, North Carolina

Re: Help to modify bayeselo.exe

Post by Adam Hair »

Thanks, Ferdinand :)
User avatar
ATOMICC
Posts: 150
Joined: Sat Mar 10, 2012 11:50 pm
Location: USA

Re: Help to modify bayeselo.exe

Post by ATOMICC »

Thank you! :)
Happy chessing!
Vinvin
Posts: 5310
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Help to modify bayeselo.exe

Post by Vinvin »

I tried 32bits and 64 bits exe but some DLL's are missing, what do I have to install ?
Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Help to modify bayeselo.exe

Post by Ferdy »

Vinvin wrote:I tried 32bits and 64 bits exe but some DLL's are missing, what do I have to install ?
I compile 32bit by installing the compiler from here,
http://sourceforge.net/projects/mingw/f ... c-4.6.2-1/
Look for this, Download mingw-get-inst-20111118.exe (591.9 kB).
I have no idea if this is necessary for you to install this.

Can you tell me what dll file was requested for32 bit?
Vinvin
Posts: 5310
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Help to modify bayeselo.exe

Post by Vinvin »

Ferdy wrote:
Vinvin wrote:I tried 32bits and 64 bits exe but some DLL's are missing, what do I have to install ?
I compile 32bit by installing the compiler from here,
http://sourceforge.net/projects/mingw/f ... c-4.6.2-1/
Look for this, Download mingw-get-inst-20111118.exe (591.9 kB).
I have no idea if this is necessary for you to install this.

Can you tell me what dll file was requested for32 bit?
I installed the file from you URL, "libgcc_s_dw2-1.dll" still missing, I dld it from internet and got a msg "libstdc++-6.dll is missing", I dld it from internet and the exe 32 bit works fine now ! Thanks !
Ferdy
Posts: 4851
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: Help to modify bayeselo.exe

Post by Ferdy »

Very good :).