Skip to content

sync branch - #35

Merged
fatorius merged 25 commits into
dataset-generatorfrom
main
May 29, 2026
Merged

fatorius merged 25 commits into
dataset-generatorfrom
main

Conversation

@fatorius

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 29, 2026 18:31
@fatorius
fatorius merged commit 7ed1d0c into dataset-generator May 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown

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 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 thread src/eval.cpp
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 thread README.md
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`).
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