Skip to content

Comments

fix: tt score probe and store to be ply relative#227

Open
ptsouchlos wants to merge 6 commits intomainfrom
fix/tt-mate-score
Open

fix: tt score probe and store to be ply relative#227
ptsouchlos wants to merge 6 commits intomainfrom
fix/tt-mate-score

Conversation

@ptsouchlos
Copy link
Owner

Builds on top of #226 and #223 and fixes issues with TT score storage and look up now that scores are ply relative when there are mate scores.

Make Score::INF and Score::MATE different so they don't have the same
underlying value. Also fixed an issue where we weren't printing mate x
UCI responses correctly.

bench: 877749
Ensure tt move score look ups are ply relative and tt move score stores
are without ply bias.

bench: 1331006
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 97.34513% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.11%. Comparing base (a9f8e23) to head (0885966).

Files with missing lines Patch % Lines
engine/src/search.rs 95.83% 2 Missing ⚠️
engine/src/score.rs 98.46% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #227      +/-   ##
==========================================
+ Coverage   91.01%   91.11%   +0.10%     
==========================================
  Files          40       40              
  Lines        7610     7687      +77     
==========================================
+ Hits         6926     7004      +78     
+ Misses        684      683       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants