A complete 2000 lines of code engine

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
User avatar
xr_a_y
Posts: 590
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Tue Jun 11, 2019 4:47 am

First ever Minic draw versus Stockfish (Minic playing white here). This is just a lucky pawn structure...


User avatar
xr_a_y
Posts: 590
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Tue Jun 11, 2019 5:26 am

Recent progress

Code: Select all

Rank Name                          Elo     +/-   Games   Score   Draws
   1 minic_dev                      32      11    2303   54.6%   41.7%
   2 minic_0.65                     26      11    2304   53.8%   43.7%
   3 minic_0.53                     -5      11    2302   49.3%   40.6%
   4 minic_0.47                    -53      12    2303   42.4%   27.0%

4606 of 6000 games finished.

User avatar
xr_a_y
Posts: 590
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Mon Jun 17, 2019 5:24 am

In this game versus redqueen, Minic decided to trade down its two rooks for an army of passers and to win the game... And I like that ! :lol:


User avatar
xr_a_y
Posts: 590
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Fri Jun 28, 2019 1:53 pm

So after previous unsuccessful tries, I decided it is time to tune Minic for real ...
I'm using the classics : Texel tunig method, gradient descent (using batch of size one tenth of the full data set), quiet.edp from zurichess.
In the past i've also tried "naive" descend, PSO, secant method, but a simple gradient seems to work here without linesearch as soon as I set the learning rate to be at most 2 for the most important parameter at each step (so that I don't really follow the real gradient but it's most important parts).
I'm tuning families of parameters one by one, so pawn stuff, mobility stuff, rook stuff, ...

And well ... it's work ... very well ... I currently have +120 at short TC in self test against Minic 0.65 ! :D :shock:

User avatar
xr_a_y
Posts: 590
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Tue Jul 02, 2019 4:53 am

After this great tuning session, Minic seems to be heading for 2800 soon

Code: Select all

Rank Name                          Elo     +/-   Games   Score   Draws
   1 rofChade                        188      55     142   74.6%   23.9%
   2 minic_0.73_mingw_x64_sse4.2     175      54     142   73.2%   25.4%
   3 Topple_0.4.0_nehalem            111      53     142   65.5%   21.1%
   4 minic_0.65_mingw_x64_sse4.2      80      49     142   61.3%   28.2%
   5 minic_0.53_mingw_x64_sse4.2      39      50     142   55.6%   23.9%
   6 fruit_21                         25      48     142   53.5%   29.6%
   7 minic_0.47_mingw_x64_sse4.2     -32      50     142   45.4%   26.1%
   8 drosophila-win64               -139      56     142   31.0%   16.9%
   9 Bitfoot                        -225      64     142   21.5%   12.0%
  10 myrddin                        -260      65     142   18.3%   15.5%

710 of 45000 games finished.

MikeB
Posts: 3169
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

Re: A complete 2000 lines of code engine

Post by MikeB » Tue Jul 02, 2019 3:05 pm

xr_a_y wrote:
Tue Jul 02, 2019 4:53 am
After this great tuning session, Minic seems to be heading for 2800 soon

Code: Select all

Rank Name                          Elo     +/-   Games   Score   Draws
   1 rofChade                        188      55     142   74.6%   23.9%
   2 minic_0.73_mingw_x64_sse4.2     175      54     142   73.2%   25.4%
   3 Topple_0.4.0_nehalem            111      53     142   65.5%   21.1%
   4 minic_0.65_mingw_x64_sse4.2      80      49     142   61.3%   28.2%
   5 minic_0.53_mingw_x64_sse4.2      39      50     142   55.6%   23.9%
   6 fruit_21                         25      48     142   53.5%   29.6%
   7 minic_0.47_mingw_x64_sse4.2     -32      50     142   45.4%   26.1%
   8 drosophila-win64               -139      56     142   31.0%   16.9%
   9 Bitfoot                        -225      64     142   21.5%   12.0%
  10 myrddin                        -260      65     142   18.3%   15.5%

710 of 45000 games finished.
+1 keep up the good work , I like what you are doing !

User avatar
xr_a_y
Posts: 590
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Wed Jul 03, 2019 7:05 pm

Previous post was at 40/1min TC. This one is on 40/20sec

Code: Select all

Rank Name                          Elo     +/-   Games   Score   Draws
   1 zurichess-neuchatel           235      16    1884   79.4%   20.9%
   2 MinkoChess_1.3                200      16    1884   75.9%   19.7%
   3 ruy-1.1.9                      83      14    1884   61.8%   23.6%
   4 minic_0.73                     67      13    1884   59.5%   33.5%
   5 minic_0.70                     58      13    1886   58.2%   34.8%
   6 minic_0.72                     51      13    1885   57.3%   32.8%
   7 minic_0.71                     38      13    1885   55.4%   33.6%
   8 minic_0.69                     20      13    1885   52.9%   32.6%
   9 minic_0.65                     -9      13    1885   48.6%   33.0%
  10 minic_0.61                    -16      13    1884   47.7%   31.4%
  11 redqueen-1.1.98               -31      14    1884   45.6%   21.9%
  12 wyldchess1.51                 -32      14    1884   45.5%   25.6%
  13 minic_0.53                    -44      13    1883   43.7%   31.9%
  14 minic_0.57                    -51      13    1885   42.7%   29.9%
  15 minic_0.47                    -71      14    1885   39.9%   25.6%
  16 igel                          -92      14    1883   37.0%   21.3%
  17 Fridolin310                  -117      15    1884   33.8%   19.5%
  18 GreKo                        -117      15    1885   33.8%   19.7%
  19 asymptote-v0.4.2             -138      15    1885   31.1%   17.0%

17902 of 171000 games finished. 

User avatar
xr_a_y
Posts: 590
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Mon Jul 08, 2019 1:43 pm

Most recent progress thanks to eval tuning and SEE tweaking.

Code: Select all

Rank Name                          Elo     +/-   Games   Score   Draws
   1 minic_0.76                    102      27     422   64.3%   37.7%
   2 minic_0.75                     61      25     423   58.7%   41.8%
   3 minic_0.65                    -14      26     423   48.0%   36.4%
   4 minic_0.53                    -47      26     423   43.3%   38.3%
   5 minic_0.47                   -102      29     423   35.7%   26.0%

MikeB
Posts: 3169
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

Re: A complete 2000 lines of code engine

Post by MikeB » Mon Jul 08, 2019 5:22 pm

xr_a_y wrote:
Mon Jul 08, 2019 1:43 pm
Most recent progress thanks to eval tuning and SEE tweaking.

Code: Select all

Rank Name                          Elo     +/-   Games   Score   Draws
   1 minic_0.76                    102      27     422   64.3%   37.7%
   2 minic_0.75                     61      25     423   58.7%   41.8%
   3 minic_0.65                    -14      26     423   48.0%   36.4%
   4 minic_0.53                    -47      26     423   43.3%   38.3%
   5 minic_0.47                   -102      29     423   35.7%   26.0%
nice, you are on an Elo rocket ship!

User avatar
xr_a_y
Posts: 590
Joined: Sat Nov 25, 2017 1:28 pm
Location: France

Re: A complete 2000 lines of code engine

Post by xr_a_y » Mon Jul 08, 2019 7:54 pm

MikeB wrote:
Mon Jul 08, 2019 5:22 pm
nice, you are on an Elo rocket ship!
Thanks, but this is more or less the same as other recent young engines as Asymptote, Topple, or Igel and in a way far behind Rofchade1 or Xiphos0.1 ...
But still fun to learn and progress !

Post Reply