summaryrefslogtreecommitdiff
path: root/src/changes/util.c
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2026-09-04 09:55:15 -0700
committerScott Gasch <[email protected]>2026-09-04 09:55:15 -0700
commit550ea81a5a2ee2561c3feb91dc55686f4d3cb872 (patch)
tree29e70ecf9fd2e115754bca4635b9ddd493f9f33d /src/changes/util.c
parent5c3e541b3bf62704eb8950441646deacaea6f887 (diff)
Add seescores diagnostic command, verify zero SEE-value drift
Board-representation migration section 4 item 4: seescores <filename> (command.c, registered alongside script/sd) reads setboard lines from an EPD file (same convention tests/ecm*.ep_ already use), generates legal moves per position, and prints (FEN, SAN move, SEE value) for every capture -- meant to be run once per GetAttacksBB toggle state and diffed, closing a gap TestGetAttacks's attacker-list comparison can't: whether _GetAttacksBB's attacker lists, though set-identical to asm GetAttacks, still produce identical SEE() output once fed through _MinLegalPiece's exchange simulation. Run against all three curated suites (747 captures total: 51 + 351 + 345), same-commit asm-vs-GETATTACKS_BITBOARD=1 A/B build (same pair used for the earlier sd10 comparison) -- output byte-identical, zero diff, on all three. Confirms _GetAttacksBB is correct all the way through to the final SEE() score every move-ordering decision actually uses, not just at the raw attacker-list level. precommit_check.sh clean. Default (no flag) release binary restored after testing. Only match_play.py remains unmet before full retirement of the old mailbox GetAttacks implementation (section 7) -- deliberately deferred, not run this pass. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Jntky4yGUTyQVaGCXms4F2
Diffstat (limited to 'src/changes/util.c')
0 files changed, 0 insertions, 0 deletions