Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔍 Add basic (quiet) history malus/penalty #610

Merged
merged 12 commits into from Jan 14, 2024
Merged

Conversation

eduherminio
Copy link
Member

@eduherminio eduherminio commented Jan 13, 2024

Base: Bugfix: move index vs main:

Score of Lynx-history-malus-2417-win-x64 vs Lynx 2410 - main: 970 - 749 - 1025  [0.540] 2744
...      Lynx-history-malus-2417-win-x64 playing White: 658 - 229 - 485  [0.656] 1372
...      Lynx-history-malus-2417-win-x64 playing Black: 312 - 520 - 540  [0.424] 1372
...      White vs Black: 1178 - 541 - 1025  [0.616] 2744
Elo difference: 28.0 +/- 10.3, LOS: 100.0 %, DrawRatio: 37.4 %
SPRT: llr 2.9 (100.2%), lbound -2.25, ubound 2.89 - H1 was accepted

Use span of visited moves to avoid incrementing history of illegal moves vs previous one:

Elo   | 0.91 +- 3.93 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | 2.93 (-2.25, 2.89) [-5.00, 0.00]
Games | N: 18998 W: 6039 L: 5989 D: 6970
Penta | [786, 2167, 3546, 2211, 789]
https://openbench.lynx-chess.com/test/98/

Penalize only quiet moves vs previous one:

Score of Lynx-history-malus-2419-win-x64 vs Lynx-history-malus-2418-win-x64: 4818 - 4584 - 5673  [0.508] 15075
...      Lynx-history-malus-2419-win-x64 playing White: 3301 - 1393 - 2844  [0.627] 7538
...      Lynx-history-malus-2419-win-x64 playing Black: 1517 - 3191 - 2829  [0.389] 7537
...      White vs Black: 6492 - 2910 - 5673  [0.619] 15075
Elo difference: 5.4 +/- 4.4, LOS: 99.2 %, DrawRatio: 37.6 %
SPRT: llr 2.9 (100.2%), lbound -2.25, ubound 2.89 - H1 was accepted

Penalize captures that didn't produce a cutoff

[WIP]

Elo   | 1.19 +- 2.84 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | 0.07 (-2.25, 2.89) [0.00, 3.00]
Games | N: 36046 W: 11377 L: 11254 D: 13415
Penta | [1458, 4161, 6717, 4174, 1513]
https://openbench.lynx-chess.com/test/97/

Combine previous captures penalty when the move that fails hard is a capture and previous quiet moves penalty when the move that fails hard is a quiet move

[WIP], but not improving just quiet moves

Score of Lynx-history-malus-2421-win-x64 vs Lynx-history-malus-2418-win-x64: 8989 - 8817 - 10834  [0.503] 28640
...      Lynx-history-malus-2421-win-x64 playing White: 6200 - 2717 - 5404  [0.622] 14321
...      Lynx-history-malus-2421-win-x64 playing Black: 2789 - 6100 - 5430  [0.384] 14319
...      White vs Black: 12300 - 5506 - 10834  [0.619] 28640
Elo difference: 2.1 +/- 3.2, LOS: 90.1 %, DrawRatio: 37.8 %
SPRT: llr 0.671 (23.2%), lbound -2.25, ubound 2.89

@eduherminio eduherminio changed the title History malus 🔍 History malus/penalty Jan 14, 2024
…capture and previous quiet moves penalty when the move that fails hard is a quiet move
…rd is a capture and previous quiet moves penalty when the move that fails hard is a quiet move"

This reverts commit 1c0c0a9.
@eduherminio eduherminio changed the title 🔍 History malus/penalty 🔍 Add basic (quiet) history malus/penalty Jan 14, 2024
@eduherminio eduherminio marked this pull request as ready for review January 14, 2024 23:37
@eduherminio eduherminio enabled auto-merge (squash) January 14, 2024 23:38
@eduherminio eduherminio merged commit a90b659 into main Jan 14, 2024
21 checks passed
@eduherminio eduherminio deleted the history-malus branch January 14, 2024 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant