Torom / BotLi

Lichess Bot
GNU Affero General Public License v3.0
46 stars 82 forks source link

Log Files - Opening Books #126

Closed EmptikBest closed 1 year ago

EmptikBest commented 1 year ago

Is your feature request related to a problem? Please describe. Sort of, I lost a game in which a blunder was made by the opening books I have, but I have 30+ so it would take forever to single down the one who made the blunder.

Describe the solution you'd like In a previous post, I asked about a log file function, and you told me. Is it possible that for the 'Book' Option it can say which book it was taken from the move? Its fine even if its in the cmd, I dont want to use debug function as it probably prints a lot of lines... Here are the solutions I can think of:

Describe alternatives you've considered None

Additional context

EmptikBest commented 1 year ago

Thanks! Now it is easier to find holes and fix them :D

EmptikBest commented 1 year ago

Also, it seems it works only on alternate games, my proof:

ID: 8k1HdngN     BOT Emptik (2956)   -   BOT VariantsTop (2988)     TC: 1+0     Rated     Variant: Standard
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
400 Client Error: Bad Request for url: https://lichess.org/api/bot/game/8k1HdngN/chat
Book:    1.   e4           78 %     HCanFree-Upd
Book:    2.   Nf3         100 %     HCanFree-Upd
Book:    3.   Bc4         100 %     HCanFree-Upd
Book:    4.   b4           50 %     HCanFree-Upd
Book:    5.   c3          100 %     HCanFree-Upd
Book:    6.   d4          100 %     HCanFree-Upd
Book:    7.   Qb3         100 %     HCanFree-Upd
Book:    8.   O-O         100 %     HCanFree-Upd
Book:    9.   Nbd2        100 %     HCanFree-Upd
Book:    10.  Qc2         100 %     HCanFree-Upd
Book:    11.  dxe5        100 %     HCanFree-Upd
Book:    12.  exd6        100 %     HCanFree-Upd
Book:    13.  a4           78 %     HCanFree-Upd
Book:    14.  Nd4          96 %     HCanFree-Upd
Book:    15.  h3          100 %     HCanFree-Upd
Book:    16.  Rd1          13 %     HCanFree-Upd
Book:    17.  Bf1         100 %     LesChats30062023
Book:    18.  N2f3        100 %     LesChats30062023
Book:    19.  Ba3         100 %     LesChats30062023
Book:    20.  Nf5         100 %     LesChats30062023
Book:    21.  exf5        100 %     LesChats30062023
Book:    22.  Re1         100 %     LesChats30062023
Book:    23.  Ne5         100 %     LesChats30062023
Book:    24.  Rad1        100 %     LesChats30062023
Book:    25.  Qxd1        100 %     LesChats30062023
Book:    26.  Nd7         100 %     LesChats30062023
Book:    27.  Qxd6        100 %     LesChats30062023
Book:    28.  Bxc5        100 %     LesChats30062023
Book:    29.  Bb4         100 %     LesChats30062023
Book:    30.  cxb4        100 %     LesChats30062023
Book:    31.  bxa5        100 %     LesChats30062023
Book:    32.  g3          100 %     LesChats30062023
Book:    33.  Bg2         100 %     LesChats30062023
Book:    34.  fxg3        100 %     LesChats30062023
Book:    35.  Rb1         100 %     LesChats30062023
Book:    36.  Rxb7        100 %     LesChats30062023
Book:    37.  Bd5         100 %     LesChats30062023
Book:    38.  Bxf7+       100 %     LesChats30062023
Book:    39.  Bc4         100 %     LesChats30062023
Book:    40.  Kh2         100 %     LesChats30062023
Book:    41.  Rb6         100 %     LesChats30062023
Book:    42.  Rxa6        100 %     LesChats30062023
Engine:  43.  Rxg6         0.00     56/11      Nodes:  18.7 M     NPS:  38.2 M     MT: 00:00.5     Hash:   0.9 %     TB: 302.4 k
Engine:  44.  Rg5          0.00     62/8       Nodes:  26.2 M     NPS:  45.8 M     MT: 00:00.6     Hash:   0.9 %     TB: 274.5 k
Engine:  45.  Rf5+         0.00     62/21      Nodes:  29.3 M     NPS:  49.8 M     MT: 00:00.6     Hash:   1.0 %     TB: 223.3 k
Engine:  46.  h4           0.00     73/6       Nodes:  25.9 M     NPS:  45.4 M     MT: 00:00.6     Hash:   1.2 %     TB: 280.3 k
Syzygy:  47.  Kg3          draw
Syzygy:  48.  Kxg4         draw
Syzygy:  49.  Kh5          draw
ID: 8k1HdngN     BOT Emptik (2956) ½ - ½ BOT VariantsTop (2988)     Game drawn due to insufficient material.
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Challenging variantstop ...

ID: Q1hKw1Hn     BOT VariantsTop (2988)   -   BOT Emptik (2956)     TC: 1+0     Rated     Variant: Standard
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
400 Client Error: Bad Request for url: https://lichess.org/api/bot/game/Q1hKw1Hn/chat
VariantsTop (player): Hey, I'm VariantsTop running Stockfish dev-20230807-5c2111cc. Good luck! Type !help for a list of commands.
VariantsTop (spectator): Hey, I'm VariantsTop running Stockfish dev-20230807-5c2111cc. Type !help for a list of commands.
Book:    1...   g6          1 %
Book:    2...   Bg7        84 %
Book:    3...   d6         88 %
Book:    4...   e5         31 %
Book:    5...   exd4       67 %
Book:    6...   Ne7        93 %
Book:    7...   Nbc6      100 %
Book:    8...   O-O       100 %
Book:    9...   f5        100 %
Engine:  10...  Bxd4      -0.42     27/46      Nodes:  35.9 M     NPS:  28.4 M     MT: 00:01.3     Hash:   1.5 %
Engine:  11...  f4        -0.46     29/55      Nodes:  35.1 M     NPS:  30.9 M     MT: 00:01.1     Hash:   1.7 %     TB:     3
Engine:  12...  Be6       -0.29     26/42      Nodes:  16.8 M     NPS:  32.4 M     MT: 00:00.5     Hash:   1.0 %
Engine:  13...  Nxd4      -0.28     24/44      Nodes:  18.2 M     NPS:  31.2 M     MT: 00:00.6     Hash:   0.9 %
Engine:  14...  Nc6       -0.27     26/46      Nodes:  15.5 M     NPS:  30.7 M     MT: 00:00.5     Hash:   0.7 %     TB:     1
Engine:  15...  Qxd6      -0.25     24/40      Nodes:  17.2 M     NPS:  30.2 M     MT: 00:00.6     Hash:   0.9 %
Engine:  16...  cxd6      -0.32     24/34      Nodes:  28.3 M     NPS:  25.6 M     MT: 00:01.1     Hash:   1.8 %     TB:     7
Engine:  17...  Rad8      -0.29     24/42      Nodes:  22.2 M     NPS:  30.1 M     MT: 00:00.7     Hash:   0.9 %     TB:    72
Engine:  18...  Kf7       -0.21     23/31      Nodes:  16.6 M     NPS:  28.9 M     MT: 00:00.6     Hash:   0.8 %     TB:     3
Engine:  19...  Ke7       -0.22     24/44      Nodes:  14.4 M     NPS:  29.4 M     MT: 00:00.5     Hash:   0.7 %     TB:     1
Engine:  20...  Ne5       -0.09     24/36      Nodes:  13.0 M     NPS:  27.3 M     MT: 00:00.5     Hash:   0.9 %
Engine:  21...  Bxd5      -0.01     24/30      Nodes:  15.8 M     NPS:  28.3 M     MT: 00:00.6     Hash:   0.8 %     TB:     1
Engine:  22...  Kf6        0.00     31/18      Nodes:  12.1 M     NPS:  27.7 M     MT: 00:00.4     Hash:   0.9 %     TB:     3
Engine:  23...  Rf7        0.00     42/14      Nodes:  13.9 M     NPS:  27.3 M     MT: 00:00.5     Hash:   0.9 %     TB:     5
Engine:  24...  g5         0.00     45/14      Nodes:  11.6 M     NPS:  27.0 M     MT: 00:00.4     Hash:   0.7 %
Engine:  25...  h5         0.00     39/13      Nodes:  11.6 M     NPS:  27.5 M     MT: 00:00.4     Hash:   0.7 %     TB:    82
Engine:  26...  Ke6        0.00     40/15      Nodes:  11.3 M     NPS:  26.9 M     MT: 00:00.4     Hash:   1.0 %     TB:     6
Engine:  27...  Rff8       0.00     50/17      Nodes:  13.6 M     NPS:  26.8 M     MT: 00:00.5     Hash:   1.2 %     TB:     2
Engine:  28...  Rd7        0.00     42/16      Nodes:  11.9 M     NPS:  25.8 M     MT: 00:00.5     Hash:   1.0 %     TB:     5
Engine:  29...  a6         0.00     47/18      Nodes:   9.7 M     NPS:  27.4 M     MT: 00:00.4     Hash:   0.9 %     TB:    10
Engine:  30...  Rdd8       0.00     39/5       Nodes:   9.2 M     NPS:  27.7 M     MT: 00:00.3     Hash:   1.0 %     TB:    20
Engine:  31...  Rd7        0.00     51/5       Nodes:  10.9 M     NPS:  28.2 M     MT: 00:00.4     Hash:   1.6 %     TB:    46
Engine:  32...  Rdd8       0.00     46/6       Nodes:  47.6 M     NPS:  22.0 M     MT: 00:02.2     Hash:   5.2 %     TB:   351
Engine:  33...  Rd7        0.00     47/2       Nodes:   8.5 M     NPS:  24.3 M     MT: 00:00.3     Hash:   1.3 %     TB:    44
ID: Q1hKw1Hn     BOT VariantsTop (2988) ½ - ½ BOT Emptik (2956)     Game drawn by threefold repetition.
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Challenging variantstop ...

ID: ObtFeEFY     BOT Emptik (2957)   -   BOT VariantsTop (2987)     TC: 1+0     Rated     Variant: Standard
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
400 Client Error: Bad Request for url: https://lichess.org/api/bot/game/ObtFeEFY/chat
Book:    1.   c4           15 %     HCanFree-Upd
VariantsTop (player): Hey, I'm VariantsTop running Stockfish dev-20230807-5c2111cc. Good luck! Type !help for a list of commands.
VariantsTop (spectator): Hey, I'm VariantsTop running Stockfish dev-20230807-5c2111cc. Type !help for a list of commands.
Book:    2.   Nc3         100 %     HCanFree-Upd
Book:    3.   Nf3          82 %     HCanFree-Upd
Book:    4.   e4          100 %     HCanFree-Upd
Book:    5.   d3          100 %     HCanFree-Upd
Book:    6.   a3          100 %     HCanFree-Upd
Book:    7.   b4          100 %     HCanFree-Upd
Book:    8.   Be3         100 %     HCanFree-Upd
Book:    9.   Be2         100 %     HCanFree-Upd
Book:    10.  Bxf3        100 %     HCanFree-Upd
Book:    11.  Na4          50 %     HCanFree-Upd
Book:    12.  Qxf3        100 %     HCanFree-Upd
Book:    13.  Qxe3        100 %     HCanFree-Upd
Book:    14.  O-O         100 %     HCanFree-Upd
Book:    15.  Nc3         100 %     HCanFree-Upd
Book:    16.  h3          100 %     HCanFree-Upd
Book:    17.  b5          100 %     HCanFree-Upd
Book:    18.  cxd5        100 %     HCanFree-Upd
Book:    19.  Nxd5        100 %     HCanFree-Upd
Book:    20.  exd5        100 %     HCanFree-Upd
Book:    21.  a4          100 %     HCanFree-Upd
Book:    22.  Rfc1        100 %     HCanFree-Upd
Book:    23.  Ra3         100 %     HCanFree-Upd
Book:    24.  Rc5         100 %     HCanFree-Upd
Book:    25.  dxe4        100 %     HCanFree-Upd
Book:    26.  Rc6         100 %     HCanFree-Upd
Book:    27.  Qxd4        100 %     HCanFree-Upd
Book:    28.  Rxb6        100 %     HCanFree-Upd
Book:    29.  Rxa4        100 %     HCanFree-Upd
Book:    30.  Ra6         100 %     HCanFree-Upd
Book:    31.  Kh2         100 %     HCanFree-Upd
Book:    32.  b6          100 %     HCanFree-Upd
Book:    33.  Rxa4        100 %     HCanFree-Upd
Book:    34.  f3          100 %     HCanFree-Upd
Book:    35.  Ra7         100 %     Chucaro4upd2
Book:    36.  Ra4         100 %     MANTIS-DH2
Book:    37.  h4          100 %     perfect1
Book:    38.  g4          100 %     perfect1
Engine:  39.  Kg3          0.00     59/43      Nodes:  26.1 M     NPS:  51.4 M     MT: 00:00.5     Hash:   1.0 %     TB:  74.7 k
Engine:  40.  fxg4         0.00     61/19      Nodes:  30.8 M     NPS:  53.7 M     MT: 00:00.6     Hash:   0.9 %     TB: 195.8 k
Engine:  41.  g5+          0.00     68/17      Nodes:  41.1 M     NPS:  54.3 M     MT: 00:00.8     Hash:   1.1 %     TB: 337.9 k
Engine:  42.  gxf6         0.00     61/15      Nodes:  58.6 M     NPS:  59.3 M     MT: 00:01.0     Hash:   1.2 %     TB: 334.9 k
Book:    43.  Ra5+        100 %     perfect1
Engine:  44.  Ra3          0.00     97/5       Nodes:  26.6 M     NPS:  55.3 M     MT: 00:00.5     Hash:   0.7 %     TB: 249.4 k
Engine:  45.  Kf3          0.00     96/5       Nodes:  27.5 M     NPS:  51.5 M     MT: 00:00.5     Hash:   0.6 %     TB: 348.9 k
Syzygy:  46.  Kxf4         draw
Syzygy:  47.  Kf5          draw
Syzygy:  48.  Kg6          draw
Syzygy:  49.  Kh7          draw
Syzygy:  50.  Kh8          draw
Syzygy:  51.  Kh7          draw
Syzygy:  52.  Kh8          draw
Syzygy:  53.  Kh7          draw
ID: ObtFeEFY     BOT Emptik (2957) ½ - ½ BOT VariantsTop (2987)     Game drawn by threefold repetition.
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Challenging variantstop ...

ID: 7ePb2Dpc     BOT VariantsTop (2987)   -   BOT Emptik (2958)     TC: 1+0     Rated     Variant: Standard
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
400 Client Error: Bad Request for url: https://lichess.org/api/bot/game/7ePb2Dpc/chat
VariantsTop (player): Hey, I'm VariantsTop running Stockfish dev-20230807-5c2111cc. Good luck! Type !help for a list of commands.
VariantsTop (spectator): Hey, I'm VariantsTop running Stockfish dev-20230807-5c2111cc. Type !help for a list of commands.
Book:    1...   e6         12 %
Book:    2...   d5         99 %
Book:    3...   Bb4        31 %
Book:    4...   Qd7         3 %
Engine:  5...   c5        -0.87     25/37      Nodes:  84.5 M     NPS:  22.9 M     MT: 00:03.7     Hash:   5.7 %
Engine:  6...   Ba5       -0.90     23/40      Nodes:  16.2 M     NPS:  27.5 M     MT: 00:00.6     Hash:   1.0 %
Engine:  7...   c4        -1.08     28/36      Nodes:  84.5 M     NPS:  23.0 M     MT: 00:03.7     Hash:   5.1 %
Engine:  8...   Nc6       -1.05     27/36      Nodes:  32.9 M     NPS:  23.3 M     MT: 00:01.4     Hash:   1.8 %
Engine:  9...   f6        -0.97     21/34      Nodes:  11.2 M     NPS:  26.3 M     MT: 00:00.4     Hash:   0.5 %
Engine:  10...  Bxc3      -0.99     25/36      Nodes:  30.7 M     NPS:  24.6 M     MT: 00:01.2     Hash:   1.5 %
Engine:  11...  Qf7       -0.94     23/41      Nodes:  20.9 M     NPS:  25.4 M     MT: 00:00.8     Hash:   1.5 %
Engine:  12...  Nge7      -0.95     25/38      Nodes:  44.6 M     NPS:  24.3 M     MT: 00:01.8     Hash:   3.0 %
Engine:  13...  O-O       -0.96     28/49      Nodes:  69.8 M     NPS:  23.6 M     MT: 00:03.0     Hash:   5.2 %
Engine:  14...  Rd8       -0.82     22/30      Nodes:  14.3 M     NPS:  30.0 M     MT: 00:00.5     Hash:   0.7 %
Engine:  15...  Nf5       -0.79     26/43      Nodes:  99.7 M     NPS:  24.4 M     MT: 00:04.1     Hash:   5.2 %
Engine:  16...  b6        -0.81     25/46      Nodes:  20.6 M     NPS:  29.5 M     MT: 00:00.7     Hash:   0.8 %     TB:     2
Engine:  17...  a5        -0.72     21/34      Nodes:  20.6 M     NPS:  27.5 M     MT: 00:00.7     Hash:   1.3 %
Engine:  18...  Ra7       -0.71     21/40      Nodes:  19.4 M     NPS:  28.5 M     MT: 00:00.7     Hash:   1.1 %
nike22 (spectator): !eval
Engine:  19...  Rf8       -0.71     20/34      Nodes:  13.4 M     NPS:  27.6 M     MT: 00:00.5     Hash:   1.0 %
VariantsTop (spectator): Evaluation: 19. Rab1 +0.91 21/27 Nodes: 8.4 M NPS: 4.9 M MT: 00:01.7 Hash: 5.2 %

Any idea why this is happening?

Torom commented 1 year ago

I guess you have configured only one book for black games? The name is only printed if there is more than one book.

EmptikBest commented 1 year ago

Oh ok, sorry

EmptikBest commented 1 year ago

Just a question, if one book is specified only for black, and that runs out of moves, will it check the books in the standard section for moves?

Torom commented 1 year ago

No