sync branch - #35
Merged
Merged
sync branch#35
Conversation
raise aspiration windows retries
Update futility pruning branch
Futility pruning
King safety evaluation
See ordering
Late move reduction
There was a problem hiding this comment.
Pull request overview
This PR syncs the engine branch with a beta version bump and several chess-engine evaluation/search updates, including tuned evaluation tables, king-safety scoring, SEE-based capture ordering, and pruning/search refinements.
Changes:
- Updates evaluation constants/PSTs, mobility values, king-safety weights, and tuner support.
- Adds SEE support for capture ordering and occupancy-parameterized sliding attacks.
- Adjusts search pruning/LMR/aspiration behavior, move validation, hashing reset, version strings, and documentation.
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
version.capizero |
Bumps version to beta2.8.0. |
src/values.h |
Updates eval/search constants and tuned PST/mobility values. |
src/update.cpp |
Adds basic move-side validation and resets hash state on FEN setup. |
src/unit_tests.cpp |
Updates printed copyright year. |
src/tuner.cpp |
Registers and prints king-safety tuning parameters. |
src/search.cpp |
Adds futility pruning, revised LMR, and aspiration-window retry logic. |
src/main.cpp |
Updates printed copyright year. |
src/interface.cpp |
Replaces sprintf with snprintf for move formatting. |
src/gen.h |
Adds occupancy-parameterized bishop/rook attack helpers. |
src/gen.cpp |
Uses SEE scores for capture move ordering. |
src/eval.h |
Declares king-safety packed score weights. |
src/eval.cpp |
Adds king-zone initialization and king-safety evaluation. |
src/bench_tests.cpp |
Updates printed copyright year. |
src/attacks.h |
Declares static exchange evaluation API. |
src/attacks.cpp |
Implements static exchange evaluation helper logic. |
README.md |
Adds tuner build/run/application documentation. |
CONTRIBUTING.md |
Removes existing contribution notes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+88
to
+90
| for (int x = 0; x < CASAS_DO_TABULEIRO; x++){ | ||
| king_zone[x] = Gen::bit_moves_rei[x] | Bitboard::mask[x]; | ||
| } |
Comment on lines
+158
to
+160
| 1. abra `tuned_values.h.txt` — contém 12 arrays de PST (6 peças × mg/eg) e 8 arrays de mobilidade. | ||
| 2. substitua os arrays correspondentes em [src/values.h](src/values.h). | ||
| 3. as PSTs tunadas já têm material embutido (PeSTO `VALOR_*_MG` / `VALOR_*_EG` baked in). para evitar somar material duas vezes, zere os defines `VALOR_*_MG` / `VALOR_*_EG` em [src/values.h](src/values.h) (ou remova a soma em `Eval::init_eval_tables`). |
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.
No description provided.