Bruteforce_binbook

Code, algorithms, languages, construction...
User avatar
deeds
Posts: 1008
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: Bruteforce_binbook

Post by deeds » Wed Oct 09, 2024 7:17 pm

user wrote: Can your tool create a bin book with moves for black ?
Yes, here is an example with [black_Private Book Ukraine-X.bin] (=created by bruteforce_binbook) VS. [Private Book Ukraine-X.bin] :
Image

black_Private Book Ukraine-X.lst :

Code: Select all

0,17/36 : d2d4 d7d5 g1f3 g8f6 c1f4 c7c5 e2e3 c5d4

User avatar
deeds
Posts: 1008
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: Bruteforce_binbook

Post by deeds » Thu Oct 10, 2024 12:38 pm

user wrote: Why does it keep duplicate positions ?
Because the percentages of book's moves aren't the same :
Image
So there is a greater chance that [Private Book Ukraine-X.bin] plays 1. ... Nf6 after 1. e3 than after 1. d4.

white_Private Book Ukraine-X.lst :

Code: Select all

0,51/31 : d2d4 g8f6 e2e3 b7b6 g1f3 e7e6 b2b3
0,51/31 : e2e3 g8f6 d2d4 b7b6 g1f3 e7e6 b2b3
0,52/40 : c2c4 g8f6 d2d4 e7e6 g2g3 f8b4 c1d2 d8e7 f1g2
0,52/40 : d2d4 g8f6 c2c4 e7e6 g2g3 f8b4 c1d2 d8e7 f1g2
0,55/44 : c2c4 g8f6 d2d4 e7e6 g1f3 d7d5 e2e3 c7c6 f1d3
0,55/44 : c2c4 g8f6 g1f3 e7e6 d2d4 d7d5 e2e3 c7c6 f1d3
0,55/44 : d2d4 d7d5 g1f3 g8f6 c2c4 e7e6 e2e3 c7c6 f1d3
0,55/44 : d2d4 d7d5 g1f3 g8f6 e2e3 e7e6 c2c4 c7c6 f1d3
0,55/44 : d2d4 g8f6 c2c4 e7e6 g1f3 d7d5 e2e3 c7c6 f1d3
0,55/44 : d2d4 g8f6 g1f3 d7d5 c2c4 e7e6 e2e3 c7c6 f1d3
0,55/44 : d2d4 g8f6 g1f3 d7d5 e2e3 e7e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f3 d7d5 d2d4 e7e6 c2c4 c7c6 b2b3
0,65/40 : g1f3 d7d5 d2d4 g8f6 c2c4 e7e6 e2e3 c7c6 b2b3
0,65/40 : g1f3 d7d5 d2d4 g8f6 e2e3 e7e6 c2c4 c7c6 b2b3
0,65/40 : g1f3 g8f6 c2c4 e7e6 d2d4 d7d5 e2e3 c7c6 b2b3
0,65/40 : g1f3 g8f6 d2d4 d7d5 c2c4 e7e6 e2e3 c7c6 b2b3
0,65/40 : g1f3 g8f6 d2d4 d7d5 e2e3 e7e6 c2c4 c7c6 b2b3
0,65/40 : g1f3 g8f6 d2d4 e7e6 c2c4 d7d5 e2e3 c7c6 b2b3
0,65/40 : g1f3 g8f6 e2e3 d7d5 d2d4 e7e6 c2c4 c7c6 b2b3
0,74/26 : c2c4 g8f6 d2d4 e7e6 g2g3 f8b4 c1d2 d8e7 a2a3
0,74/26 : d2d4 g8f6 c2c4 e7e6 g2g3 f8b4 c1d2 d8e7 a2a3

User avatar
deeds
Posts: 1008
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: Bruteforce_binbook

Post by deeds » Thu Oct 10, 2024 6:34 pm

Example for eman engine :
https://mega.nz/folder/eowzhQRb#YEp9sGd7Aomzz7uEOHmwTA

Usual command :
bruteforce_binbook.exe book.bin

User avatar
deeds
Posts: 1008
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: Bruteforce_binbook

Post by deeds » Sun Oct 13, 2024 8:12 pm

Added : white_Private Book Ukraine-X.bin (book's moves @ min. 10%, line @ min +50 cp, max 20 moves)

User avatar
deeds
Posts: 1008
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: Bruteforce_binbook

Post by deeds » Thu Oct 17, 2024 7:47 am

updated : bruteforce_binbook.exe (added : percents of book's moves in LST file)
updated : white_Private Book Ukraine-X.bin (book's moves @ min. 10%, line @ min +50 cp, max 30 moves)
Added : white_Senufo.bin (book's moves @ min. 10%, line @ min +50 cp, max 30 moves)

User avatar
deeds
Posts: 1008
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: Bruteforce_binbook

Post by deeds » Sun Oct 20, 2024 9:00 am

Defense ranking with width=1
(bruteforce's book plays as white, author's book play as black)

Code: Select all

01. Senufo (Eman 8.40)                 : 48.8%
02. Private Book Ukraine-X (Eman 8.40) : 46.2%

User avatar
deeds
Posts: 1008
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: Bruteforce_binbook

Post by deeds » Sun Oct 20, 2024 6:35 pm

Defense ranking with width=2
(bruteforce's book plays as white, author's book play as black)

Code: Select all

01. Senufo (Eman 8.40)                 : 48.8%
02. Private Book Ukraine-X (Eman 8.40) : 47.4%

User avatar
deeds
Posts: 1008
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: Bruteforce_binbook

Post by deeds » Sat Oct 26, 2024 8:08 am

updated : bruteforce_binbook.exe
- it handles an overscore in order to better manage the local/position max scores
- it uses filters to skip the less premeditated lines
- it stores the usual unstored* moves by Eman in a emanForgotten.lst file

Added :
- black_NebulaRing178.bin (book's moves @ min. 10%, line @ min +50 cp, max 30 moves)
- white_NebulaRing178.bin (book's moves @ min. 10%, line @ min +50 cp, max 30 moves)


* the moves like "a1b1", "a1c1", "a1d1" aren't always stored/updated in the experience file by Eman (known bug, never fixed)

User avatar
deeds
Posts: 1008
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: Bruteforce_binbook

Post by deeds » Sun Oct 27, 2024 7:20 pm

Defense ranking with width=1
(bruteforce's book plays as white, author's book play as black)

Code: Select all

01. NebulaRing178 (Eman 8.40)          : 49.7%
02. Senufo (Eman 8.40)                 : 48.8%
03. Private Book Ukraine-X (Eman 8.40) : 46.2%

User avatar
deeds
Posts: 1008
Joined: Wed Oct 20, 2021 9:24 pm
Location: France
Contact:

Re: Bruteforce_binbook

Post by deeds » Mon Oct 28, 2024 8:26 pm

Defense ranking with width=2
(bruteforce's book plays as white, author's book play as black)

Code: Select all

01. Senufo (Eman 8.40)                 : 48.8%
02. NebulaRing178 (Eman 8.40)          : 47.5%
03. Private Book Ukraine-X (Eman 8.40) : 47.4%

Post Reply