Skip to content

50mr support and eradicate illegal moves - #26

Merged
kevlu8 merged 14 commits into
mainfrom
dev
Apr 19, 2025
Merged

kevlu8 merged 14 commits into
mainfrom
dev

Conversation

@kevlu8

@kevlu8 kevlu8 commented Apr 19, 2025

Copy link
Copy Markdown
Owner
  • Several code quality changes
  • Playing strength of engine has not really changed
  • Ready for release!

@kevlu8
kevlu8 requested a review from Copilot April 19, 2025 04:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread engine/eval.cpp Resolved
Comment thread engine/ttable.hpp Resolved
Comment thread engine/main.cpp Resolved
@kevlu8
kevlu8 merged commit 625e443 into main Apr 19, 2025
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.

3 participants