Brainlearn and Shashchess

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

Moderator: Ras

criko
Posts: 154
Joined: Wed Feb 28, 2018 2:50 pm

Brainlearn and Shashchess

Post by criko »

There is a very big bug in Brainlearn and Shashchess!!

If you use a bin book as opening book the learnfiles will not more be written, because they have the same suffix (BIN).

I informed the programmer, but it seems he isn't able to fix this bug :-(
Eduard
Posts: 1439
Joined: Sat Oct 27, 2018 12:58 am
Location: Germany
Full name: N.N.

Re: Brainlearn and Shashchess

Post by Eduard »

Which version has this BUG? What happens if you play on playchess without a polyglot book and use a ctg book there. Is it learned then?
criko
Posts: 154
Joined: Wed Feb 28, 2018 2:50 pm

Re: Brainlearn and Shashchess

Post by criko »

Mr. Manzo send me an updated version.

Same BUG!!

He's unable to fix the bug!!
criko
Posts: 154
Joined: Wed Feb 28, 2018 2:50 pm

Re: Brainlearn and Shashchess

Post by criko »

I told him again from the bug and said this bug doesn't occur with Eman.

His funny answer was "use Eman" :-)

Conclusion from my side ---> He's unable to fix his own software!!
amchess
Posts: 367
Joined: Tue Dec 05, 2017 2:42 pm

Re: Brainlearn and Shashchess

Post by amchess »

I have been working on this alleged bug for a week.
I am a programmer and my code is free.
Certainly, it is not free of bugs, being a human being like everyone else.
For that very reason, I also asked the author of Eman for confirmation and he too finds that the code works perfectly both logically and by debugging as the experience file is written.
As he also correctly points out, each entry is 24 bytes.
Since when the ctg or bin book is used by uci option, the experience file is not fed, it is clear that several games must be allowed to play.
The e-mails we exchanged are there to testify to that unequivocally.
More than that I cannot do.
In any case, I have had enough of these insults and I ask the moderators to intervene with those who think only of offending and have no respect for those who really contribute to software development.
This is so as not to lower the level of this forum.
criko
Posts: 154
Joined: Wed Feb 28, 2018 2:50 pm

Re: Brainlearn and Shashchess

Post by criko »

amchess wrote: Sat Jun 24, 2023 2:24 pm In any case, I have had enough of these insults and I ask the moderators to intervene with those who think only of offending and have no respect for those who really contribute to software development.
This is so as not to lower the level of this forum.
I'm not insulting you Mr. Manzo. I only tell the truth about the BUG.
I spended many hours to test your engine to see when and where the BUG occurs.
I send you so many detailed test setups to show you the BUG.
You send me an updated version. Same BUG!

With Eman9.30 these BUG is not present!

And you are writing here that I insult you?
You annoy my test I send to you!
Your dumb answer was ... PLAY MORE GAMES.
I played 100 games and the exp size is still 24 bytes.

Try to fix your code and don't annoy me, please.
khalidomar
Posts: 16
Joined: Sun Apr 26, 2020 12:43 pm
Full name: Khalid Omar

Re: Brainlearn and Shashchess

Post by khalidomar »

criko wrote: Sat Jun 24, 2023 3:05 pm I spended many hours to test your engine to see when and where the BUG occurs.
I send you so many detailed test setups to show you the BUG.
You send me an updated version. Same BUG!
Hello criko, I want to test this problem the same way you tested it, and hopefully fix the problem if I'm able to find it. Can you please tell me how did you test? Did you use ChessBase or CuteChess or something else?

On the other hand, I strongly believe your guess the problem is because the learn file and the book file have the same extension (BIN) is very far from the truth, but nothing is impossible of course :)
Eduard
Posts: 1439
Joined: Sat Oct 27, 2018 12:58 am
Location: Germany
Full name: N.N.

Re: Brainlearn and Shashchess

Post by Eduard »

Hello Chris,
I would like to reproduce the BUG as well. Could you write where and how you tested? I can test offline and also on both servers. In my latest test on PlayChess Brainlearn learned with both CTG and BIN book. I am very interested in Brainlearn learning, because I also like to play with it.
criko
Posts: 154
Joined: Wed Feb 28, 2018 2:50 pm

Re: Brainlearn and Shashchess

Post by criko »

Hi Eduard,

habe Dir eine Mail geschrieben.

LG
Chris
Eduard
Posts: 1439
Joined: Sat Oct 27, 2018 12:58 am
Location: Germany
Full name: N.N.

Re: Brainlearn and Shashchess

Post by Eduard »

After installing Brainlearn 25, I started the engine in analysis mode.

Picture:
Image

The engine created a learning file.

After that, I played some games in offline mode as a human against Brainlearn 25.

Picture:
Image

The CTG book is empty and Brainlearn 25 is playing with a BIN short book.

Picture:
Image

Now the experience file is 2 kb, before it was only 1 kb.

After that I went to the PlayChess server, and Brainlearn 25 played 7 games with the same BIN book and settings.

Picture:
Image

After 7 games, the learning file is still only 2 kb in size. This is not normal. Apparently Brainlearn 25 does not learn on PlayChess. The date + time of the last exp entry had not changed although I played online for about 30 minutes.

Download all test-games in PGN:
https://pixeldrain.com/u/HNzEThW4

Example PGN: Here you can see that the BIN book is used ( 3. Bb5 {B 0} Nf6 {0.01/0 0} ). After 7 games the exp file should be more than just 2 kb.

[Event "Rated game, 5 min"]
[Site "Engine Room"]
[Date "2023.06.24"]
[Round "?"]
[White "JML26, Zeus 50.1"]
[Black "SolistaChess, Brainlearn 25"]
[Result "1/2-1/2"]
[ECO "C67"]
[WhiteElo "3123"]
[BlackElo "3114"]
[Annotator "0.02;0.05"]
[PlyCount "87"]
[EventDate "2023.06.24"]
[SourceTitle "playchess.com"]
[TimeControl "300"]

{Zeus 50.1 (16 cores): 62.7 plies; 25.395kN/s AMD Ryzen 9 5950X 16-Core Processor 3394MHz, (16 cores, 32 threads), empty.ctg, 1024 MB} 1. e4 {B 0} e5 {0.01/0 0} 2. Nf3 {B 0} Nc6 {0.01/0 0} 3. Bb5 {B 0} Nf6 {0.01/0 0} 4. O-O {B 0} Nxe4 {0.01/0 0} 5. d4 {B 0} Nd6 {0.01/0 0} 6. Bxc6 {B 0} dxc6 {0.01/0 0} 7. dxe5 {B 0} Nf5 {0.01/0 0} 8. Qxd8+ {B 0} Kxd8 {0.01/0 0} 9. h3 {B 0} Be7 {0.01/0 0} 10. Nc3 {B 0} Nh4 {0.01/0 0} 11. Nxh4 {B 0} Bxh4 {0.01/0 0} 12. Be3 {B 0} Bd7 {0.01/0 0} 13. g4 {B 0} b6 {0.05/33 8} 14. f4 {B 0 (Ne4)} h5 {0.00/31 4} 15. g5 {B 0 (f5)} Bf5 {0.27/45 40} 16. Kh2 {B 0} Re8 {0.25/39 2} 17. Ne2 {B 0} c5 {0.22/37 5} 18. Ng1 {B 0} Be4 {0.20/36 4} 19. Nf3 {B 0} Bxf3 {0.19/37 4} 20. Rxf3 {B 0} f6 {0.19/40 3} 21. exf6 {B 0} gxf6 {0.14/35 6} 22. Rg1 {B 0} Kd7 {0.12/30 4} 23. Rg2 {B 0} fxg5 {0.08/36 3} 24. fxg5 {B 0} Rf8 {0.06/37 3} 25. Rxf8 {B 0} Rxf8 {0.05/36 3} 26. Kg1 {B 0} Rf3 {0.04/37 6} 27. g6 {B 0} Rf8 {0.04/47 3} 28. Bg5 {B 0 (Bf4)} Bxg5 {0.03/42 9} 29. Rxg5 {B 0} Rg8 {0.02/37 3} 30. a3 {B 0 (h4)} Ke6 {0.01/54 3} 31. Kf2 {B 0} Kf6 {0.01/49 5} 32. Rxh5 {B 0} Kxg6 {0.00/52 9} 33. Rh4 {B 0 (Re5)} Rd8 {0.00/53 3} 34. Rg4+ {B 0 (Re4)} Kf5 {0.00/53 6} 35. Kg3 {B 0 (Kf3)} Rd1 {0.00/51 3} 36. Rf4+ {B 0} Kg5 {0.00/53 4} 37. h4+ {B 0} Kh5 {0.00/58 2} 38. Rf5+ {0.02/51 9} Kg6 {0.00/55 0} 39. Rg5+ {0.00/64 3 (Rf2)} Kh6 {0.00/55 3 (Rg6-f6)} 40. Rg4 {0.00/73 4} Rc1 {0.00/53 0 (Td1-a1)} 41. Rc4 {0.00/71 4} Kh5 {0.00/51 0 SolistaChess,Brainlearn 25 offers a draw} 42. b3 {0.00/68 4} a5 {0.00/54 0} 43. Kf3 {0.00/77 3 (a4)} Rf1+ {0.00/62 3 (Tc1-h1)} 44. Ke3 {0.00/62 3 (Ke4)} 1/2-1/2