Skip to content

Validate variant arguments for perft and divide - #1

Merged
Aneesh495 merged 1 commit into
mainfrom
fix/validate-perft-variant
Nov 20, 2026
Merged

Aneesh495 merged 1 commit into
mainfrom
fix/validate-perft-variant

Conversation

@Aneesh495

Copy link
Copy Markdown
Owner

Summary

Validate the complete perft and divide argument list. A mistyped Chess960 marker previously selected standard chess silently, and surplus operands were ignored. Both commands now describe and enforce the optional 960 marker after the FEN.

Verification

  • The CLI regression failed against the previous binary, which returned a successful 20-node result for an invalid marker.
  • All 23 CTest targets pass with the new regression. Standard start-position perft at depth four still returns 197,281, and a valid Chess960 marker is accepted.
  • git diff --check passed.

Co-authored-by: Codex <noreply@openai.com>
@Aneesh495
Aneesh495 force-pushed the fix/validate-perft-variant branch from eb1145e to 69e4d80 Compare November 20, 2026 21:38
@Aneesh495
Aneesh495 merged commit c599828 into main Nov 20, 2026
9 checks passed
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.

1 participant