diff options
| author | Scott Gasch <[email protected]> | 2026-10-10 10:29:48 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2026-10-10 10:29:48 -0700 |
| commit | 03545c4600df81b1a47dbc63fc606c065e857d8b (patch) | |
| tree | a433fdce69fd27359679ad91e0ebedd52e2506cd /src/GNUmakefile | |
| parent | fbdcb9d76dd2444d8bc631331eaeb9435cc247f8 (diff) | |
Eval mobility/pseudo-mobility tweaks; drop unproductive move-ordering experiments.
eval.c: add bishop/rook x-ray pseudo-mobility terms (squares seen past a
directly-attacked higher-value piece), trim pawn-centrality edge penalty
and bishop-pair bonus.
chess.h/dynamic.c/generate.c/search.c/searchsup.c: revert three move-ordering
experiments (recapture bonus, flee-to-safety GOOD_MOVE promotion, ply-2
move-pair bonus) that calibrated with real fail-high signal but never
converted into a measurable node-count or solve-rate win on the curated
suites -- see MOVE_ORDERING_IDEAS.md for the evidence and reasoning behind
each drop. Add MOVE_ORDERING_EVIDENCE_COLLECTION as its own GNUmakefile
flag, independent of PERF_COUNTERS, for any future such harness.
command.c: remove the KING_DEFECT_DUMP-gated evalkingdump command, dead
since the king-safety remine work moved to eval_tune/king_safety_data/.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Diffstat (limited to 'src/GNUmakefile')
| -rw-r--r-- | src/GNUmakefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/GNUmakefile b/src/GNUmakefile index 8a4904b..5879d31 100644 --- a/src/GNUmakefile +++ b/src/GNUmakefile @@ -6,6 +6,13 @@ # EVAL_DUMP=1: make a version that can dump eval breakdowns # EVAL_TIME=1: make a version that counts cycles spent in eval # PERF_COUNTERS=1: make version with perf counters enabled +# MOVE_ORDERING_EVIDENCE_COLLECTION=1: instrument the move-ordering +# evidence-bucket harnesses (countermove/move-pair hit tracking, +# CM/MP evidence-bucket tries/FH -- see MOVE_ORDERING_IDEAS.md) -- +# a dedicated flag, independent of PERF_COUNTERS, since this +# collection (per-move IS_SAME_MOVE checks + bucket lookups on every +# quiet move scored) is its own cost, not bundled into the general +# perf-counter set by default. # BOUNDS_CHECKING=1: make version with bounds checking enabled # MP=1: make version for multi-processor machine # DUMP_TREE=1: internal tree dumping version @@ -136,7 +143,7 @@ ifndef DISABLE_BITBOARD_MOVEGEN endif ifdef EVERYTHING -PROFILE += -DEVAL_DUMP -DEVAL_TIME -DPERF_COUNTERS -DMP -DSMP -DTEST_NULL -DDUMP_TREE -fbounds-checking +PROFILE += -DEVAL_DUMP -DEVAL_TIME -DPERF_COUNTERS -DMP -DSMP -DTEST_NULL -DDUMP_TREE -fbounds-checking -DMOVE_ORDERING_EVIDENCE_COLLECTION else ifdef EVAL_DUMP PROFILE += -DEVAL_DUMP @@ -147,6 +154,9 @@ endif ifdef PERF_COUNTERS PROFILE += -DPERF_COUNTERS endif +ifdef MOVE_ORDERING_EVIDENCE_COLLECTION +PROFILE += -DMOVE_ORDERING_EVIDENCE_COLLECTION +endif ifdef BOUNDS_CHECKING PROFILE += -fbounds-checking endif |
