patricia devlog

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
Whiskers
Posts: 184
Joined: Tue Jan 31, 2023 4:34 pm
Full name: Adam Kulju

Re: patricia devlog

Post by Whiskers »

Whiskers wrote: Mon Feb 19, 2024 4:09 pm Patricia's in a pretty clear first but there's still work to be done (3k game tournament). She wasn't that much more aggressive than Peacekeeper (take it out though and Patricia laps everyone). I want to see the EAS score delta be more like 50k-60k before I consider releasing a first version.

Code: Select all

Rank  EAS-Score  sacs   shorts  draws  moves  Engine/player 
-------------------------------------------------------------------
   1    153324  20.47%  20.47%  13.00%   67   Patricia 0.1  
   2    122006  16.19%  25.96%  18.11%   65   Peacekeeper 1.50  
   3     98288  14.35%  12.91%  14.27%   70   Willow 2.8  
   4     83179  10.89%  15.41%  18.19%   70   Wahoo v3  
   5     72299  10.01%  16.00%  19.98%   71   Midnight v5  
   6     62558  10.83%  11.32%  21.01%   72   Polaris 1.6.1  
   7     62335  04.03%  17.39%  25.43%   68   Akimbo 0.4.1  
-------------------------------------------------------------------

Patricia 1.0 is now out! And yes, the EAS score delta jumped up to 60k :mrgreen:
https://github.com/Adam-Kulju/Patricia/releases/tag/1.0

I can't wait to see Patricia in action in CCRL and other events.

A lesson I am starting to learn: testing an engine with an extra change against itself works great for measuring ELO but aggressiveness is a bit of a different story, especially for somewhat small changes. I might do gauntlets for testing from now on and see if that helps at all.
User avatar
eboatwright
Posts: 41
Joined: Tue Jan 09, 2024 8:38 pm
Full name: E Boatwright

Re: patricia devlog

Post by eboatwright »

Congrats on the 1.0 release! This is a really cool project; can't wait to see all the interesting games
Creator of Maxwell
chesskobra
Posts: 216
Joined: Thu Jul 21, 2022 12:30 am
Full name: Chesskobra

Re: patricia devlog

Post by chesskobra »

Could you please make some interesting games available once in a while. Thanks.
User avatar
Whiskers
Posts: 184
Joined: Tue Jan 31, 2023 4:34 pm
Full name: Adam Kulju

Re: patricia devlog

Post by Whiskers »

chesskobra wrote: Tue Feb 27, 2024 5:08 pm Could you please make some interesting games available once in a while. Thanks.
A couple interesting games from the last set. The first one especially is quite wild.

[pgn] [Event "?"] [Site "?"] [Date "2024.02.26"] [Round "1641"] [White "Patricia"] [Black "Willow 2.8"] [Result "1-0"] [TimeControl "10+0.1"] [SetUp "1"] [FEN "rnbqk1nr/1ppp1ppp/8/p3p3/1b6/2N1PP2/PPPPB1PP/R1BQK1NR w KQkq - 0 1"] [PlyCount "77"] [GameDuration "00:00:23"] [GameEndTime "2024-02-26T15:03:53.212 CST"] [GameStartTime "2024-02-26T15:03:29.965 CST"] 1. a3 Bxc3 2. bxc3 Qh4+ 3. g3 Qe7 4. d4 d6 5. Bd3 Nf6 6. e4 O-O 7. Ne2 Bh3 8. Kf2 c6 9. Rb1 b5 10. g4 h5 11. Ng3 hxg4 12. Nf5 Qe6 13. Bg5 g6 14. Nh6+ Kg7 15. Qd2 gxf3 16. Rbg1 exd4 17. Nf5+ Kg8 18. Nh6+ Kh7 19. Rg3 Bg2 20. Re1 dxc3 21. Qf4 Nh5 22. Qh4 Nxg3 23. Nxf7+ Nh5 24. e5 Qh3 25. Qe4 Rg8 26. Be7 Qf5 27. Qh4 Qxf7 28. Qxh5+ Kg7 29. Bf6+ Kf8 30. Qh6+ Ke8 31. exd6+ Kd7 32. Re7+ Qxe7 33. dxe7 g5 34. Be5 Kxe7 35. Qf6+ Ke8 36. Bd6 Ra7 37. Bf5 Rd7 38. Qe6+ Re7 39. Qxe7# 1-0 [/pgn]


[pgn] [Event "?"] [Site "?"] [Date "2024.02.26"] [Round "1513"] [White "Polaris 1.6.1"] [Black "Patricia"] [Result "0-1"] [TimeControl "10+0.1"] [SetUp "1"] [FEN "rn1qkb1r/pppb1ppp/4pn2/3pN3/3P4/2N5/PPP1PPPP/R1BQKB1R w KQkq - 0 1"] [PlyCount "78"] [GameDuration "00:00:24"] [GameEndTime "2024-02-26T14:38:06.238 CST"] [GameStartTime "2024-02-26T14:37:41.572 CST"] 1. Bg5 Be7 2. e3 O-O 3. Be2 c5 4. O-O Nc6 5. Qd2 a6 6. Bxf6 Bxf6 7. Nxd7 Qxd7 8. dxc5 Rad8 9. a3 Qc7 10. Na4 d4 11. e4 Qe7 12. Rad1 Bg5 13. Qe1 Qf6 14. Bc4 Bf4 15. g3 Bb8 16. f4 g5 17. f5 Qh6 18. Qd2 Ne5 19. Be2 Bc7 20. Qb4 g4 21. Qxb7 Qe3+ 22. Rf2 Bb8 23. Qxa6 exf5 24. exf5 Rfe8 25. Qb5 Kh8 26. Nb6 d3 27. cxd3 Nf3+ 28. Bxf3 gxf3 29. d4 Bxg3 30. hxg3 Rg8 31. Qf1 Rxg3+ 32. Kh1 Qe4 33. d5 Rdg8 34. d6 Qg4 35. c6 Rg2 36. Rxg2 fxg2+ 37. Kg1 gxf1=Q+ 38. Kxf1 Qg2+ 39. Ke1 Re8# 0-1 [/pgn]
User avatar
Whiskers
Posts: 184
Joined: Tue Jan 31, 2023 4:34 pm
Full name: Adam Kulju

Re: patricia devlog

Post by Whiskers »

Update: I added code to support the stop command right before releasing and while it worked with stop plenty well, it broke the rest of the engine. This is now fixed; Patricia's executables have been updated and will function just fine.
chesskobra
Posts: 216
Joined: Thu Jul 21, 2022 12:30 am
Full name: Chesskobra

Re: patricia devlog

Post by chesskobra »

I liked the games, but these games are often hard to understand for my level of understanding. I will be testing 1.0 as a sparring partner.
User avatar
Sylwy
Posts: 4567
Joined: Fri Apr 21, 2006 4:19 pm
Location: IASI - the historical capital of MOLDOVA
Full name: SilvianR

Re: patricia devlog

Post by Sylwy »

chesskobra wrote: Wed Feb 28, 2024 3:24 pm I liked the games, but these games are often hard to understand for my level of understanding. I will be testing 1.0 as a sparring partner.
Significant!

Lozza 2.5 x64 is a near 2700 Elo chess engine. Patricia-1.0-v3 is an amazing chess engine.

Image

:lol:
User avatar
Whiskers
Posts: 184
Joined: Tue Jan 31, 2023 4:34 pm
Full name: Adam Kulju

Re: patricia devlog

Post by Whiskers »

Further improvement has been a bit tricky, but today I found a bug in SEE that made it not be able to detect pawn sacrifices. Hopefully that will help increase Patricia's sacrifice count.
User avatar
Whiskers
Posts: 184
Joined: Tue Jan 31, 2023 4:34 pm
Full name: Adam Kulju

Re: patricia devlog

Post by Whiskers »

Whiskers wrote: Sun Mar 03, 2024 11:11 pm Further improvement has been a bit tricky, but today I found a bug in SEE that made it not be able to detect pawn sacrifices. Hopefully that will help increase Patricia's sacrifice count.

The answer.... was yes.
First attempt.

Code: Select all

Rank  EAS-Score  sacs   shorts  draws  moves  Engine/player 
-------------------------------------------------------------------
   1    301361  29.84%  27.40%  07.52%   62   Patricia  
   2    127198  14.31%  30.03%  19.48%   64   Peacekeeper 1.50  
   3    100220  15.11%  18.40%  17.00%   68   Willow 2.8  
   4     99916  10.18%  18.71%  15.49%   70   Midnight v5  
   5     80646  11.02%  15.92%  17.82%   71   Wahoo v3  
   6     73076  09.62%  16.47%  20.34%   70   Polaris 1.6.1  
   7     54251  03.20%  20.28%  29.45%   66   Akimbo 0.4.1  
-------------------------------------------------------------------
User avatar
Whiskers
Posts: 184
Joined: Tue Jan 31, 2023 4:34 pm
Full name: Adam Kulju

Re: patricia devlog

Post by Whiskers »

[pgn]
[Event "?"]
[Site "?"]
[Date "2024.03.03"]
[Round "493"]
[White "Willow 2.8"]
[Black "Patricia"]
[Result "0-1"]
[TimeControl "10+0.1"]
[SetUp "1"]
[FEN "rnbqkbnr/2pp2pp/1p6/p3pp2/2P5/P2P4/1PQ1PPPP/RNB1KBNR w KQkq - 0 1"]
[PlyCount "120"]
[GameDuration "00:00:29"]
[GameEndTime "2024-03-03T14:56:30.015 CST"]
[GameStartTime "2024-03-03T14:56:00.630 CST"]

1. Nf3 Nc6 2. e3 Nf6 3. Nc3 d6 4. g3 Qd7 5. Bg2 g6 6. e4 Bg7 7. O-O f4 8.
gxf4 O-O 9. fxe5 dxe5 10. Qb3 a4 11. Nxa4 Kh8 12. Nc3 Qxd3 13. Qb5 Qxf3 14.
Bxf3 Nd4 15. Qb4 Nxf3+ 16. Kg2 Ng4 17. Be3 Nfxh2 18. Bg5 Nf3 19. Be7 Rf4
20. Nd5 Nd4 21. Nxc7 Bb7 22. Nxa8 Bxe4+ 23. f3 Ne3+ 24. Kh3 Bxf3 25. Qxb6
h5 26. Kh2 Ng4+ 27. Kg3 Nf5+ 28. Kh3 Bh6 29. Qd8+ Kh7 30. Nb6 Nfe3 31. Nd5
Bg2+ 32. Kg3 Bxf1 33. Nxe3 Nxe3 34. Kh2 Rg4 35. Kh1 Bg2+ 36. Kg1 Bd5+ 37.
Kf2 Rg2+ 38. Ke1 Bxc4 39. Qd2 Nc2+ 40. Qxc2 Rxc2 41. b3 Bd2+ 42. Kf2 Bc3+
43. Kg3 Bxa1 44. bxc4 Rxc4 45. Kf2 Rg4 46. Kf3 Bd4 47. Ke2 h4 48. a4 h3 49.
Kf3 Rg2 50. Bh4 Kh6 51. a5 g5 52. Bg3 Kh5 53. Bxe5 Bxe5 54. Ke4 Bb8 55. a6
h2 56. Kf5 h1=Q 57. a7 Rf2+ 58. Ke6 Qc6+ 59. Ke7 Qd6+ 60. Ke8 Rf8# 0-1
[/pgn]