diff options
| author | Scott Gasch <[email protected]> | 2026-08-27 07:41:41 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2026-08-27 07:42:25 -0700 |
| commit | 4ce6a76b0946e4ba943d29c506c9e2fb00601efd (patch) | |
| tree | b072c6fe2a5e8527a28f5c821d76591e93fa86f6 /src/generate.c | |
| parent | 7857096f39e16619a42ee85b4aa593abd846b74a (diff) | |
Baseline: uPositional data-calibrated fix, enprise/trapped hints, EBF/beta-cutoff/counter-move stats, script.c FPE fix.
No LMR, no counter-move-driven move ordering (both explored separately,
kept out for now -- counter-move measured worse, ~655->647 solved on
ecm879 @ sn=4M with a leaner tree beforehand). Futility pruning restored.
Verified: 647/879 solved, EBF 4.609 @ sn=4M; 684/879 solved, EBF 3.995
@ 20s/move, 1cpu, 256m hash (typhoon_baseline.log).
The counter-move table is still written and its stats still tracked
(dynamic.c) for diagnostic purposes, but generate.c no longer reads it
for move ordering, so it has no effect on search behavior in this
commit.
lmr_testing/ holds the in-flight graded-LMR + counter-move code (not
applied here) with notes on what was already tried and measured, so a
future session can resume without re-deriving it.
Diffstat (limited to 'src/generate.c')
| -rwxr-xr-x | src/generate.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/generate.c b/src/generate.c index 7d7778f..7362fba 100755 --- a/src/generate.c +++ b/src/generate.c @@ -2454,7 +2454,7 @@ Return value: ULONG uHashMoveLoc = (ULONG)-1; ULONG uColor = pos->uToMove; PRECOMP_KILLERS sKillers[4]; - COOR cEnprise = GetEnprisePiece(pos, uColor); + COOR cEnprise = FindEnprisePiece(ctx, uColor); // // We have generated all moves here. We also know that we are not @@ -2467,7 +2467,10 @@ Return value: // // - // Pre-populate killer/bonuses + // Pre-populate killer/bonuses. (Tried Crafty-style ordering here + // -- both of this ply's own killers before either ply-2-back one + // -- measured worse EBF on ecm_quick than this interleaved order. + // Back to interleaved as the known-good baseline.) // sKillers[0].mv = ctx->mvKiller[uPly][0]; sKillers[0].uBonus = FIRST_KILLER; @@ -2857,7 +2860,7 @@ Return value: MOVE mv; MOVE mvLast = (pi-1)->mv; SCORE s; - COOR cEnprise = GetEnprisePiece(pos, uColor); + COOR cEnprise = FindEnprisePiece(ctx, uColor); // // We have generate all moves or just legal escapes from check |
