Repository navigation
Conversation
kevlu8
commented
Apr 19, 2025
Owner
- Several code quality changes
- Playing strength of engine has not really changed
- Ready for release!
Side effect of making pos/s scale weirdly for short running durations due to pipelining
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR refactors various engine components for improved code quality, introduces several evaluation improvements (both HCE and NNUE based), and adds new functionality such as node‐based search limits and parallelized data generation. Key changes include updates and enhancements to transposition table size calculation, refined search functions including null-move pruning and aspiration windows, and extended evaluation logic with new heatmap-based heuristics and NNUE network loading improvements.
Reviewed Changes
Copilot reviewed 19 out of 22 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| engine/ttable.hpp | Adjusts TT size calculation and removes constexpr from mxsize |
| engine/search.hpp & search.cpp | Improves search functions with new parameters and clearer comments |
| engine/eval.cpp | Introduces a new HCE evaluation branch with refined heuristics |
| engine/nnue/network.{hpp,cpp} | Switches NNUE loading to use incbin-based embedded weights |
| engine/movegen.cpp | Adds SEE functions for static exchanges |
| engine/bitboard.{hpp,cpp} | Implements get_fen and halfmove history tracking |
| engine/datagen.cc | Adds a parallelized data generation script with thread safety |
| README.md | Updates details on evaluation and move ordering enhancements |
Files not reviewed (3)
- CMakeLists.txt: Language not supported
- Makefile: Language not supported
- engine/compile: Language not supported
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.