Repository navigation
Make LMP improving-aware - #7
Draft
KnightStackSys wants to merge 3 commits into
Draft
KnightStackSys wants to merge 3 commits into
KnightStackSys wants to merge 3 commits into
Conversation
Owner
Author
|
LMP was successful on first run |
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.
Adds an improving/worsening signal to the per-ply search stack and uses it only to tune Late Move Pruning.
Base
This branch is intentionally based on
late-move-pruning, notmain, so it can be tested directly against the existing LMP implementation.Search stack
Adds
SearchStackEntry, which preserves the existingHistoryContextinterface and stores:staticEvalimprovementRateimproving4PC improving calculation
IronPhoenix compares static evaluation with
ply - 4, notply - 2, so the comparison is against the same player's perspective after one complete Red/Blue/Yellow/Green turn cycle.+25 cp-100 cpLMP tuning
Base LMP threshold remains:
3 + depth * depthThen:
2 + depthadditional moves before LMP1 + depth / 2moves earlierNo LMP depth cap is reintroduced. Existing check, PV, TT-move, mate-window, checking-move, capture/promotion, and history safeguards remain intact.
Scope
This experiment does not modify LMR reductions yet. The improving signal affects LMP only, allowing a clean strength test.
Recommended test:
late-move-pruningvslate-move-pruning-improvingwith identical HCE, openings, TC, hash, threads, and MultiPV=1.