Skip to content

Accept plain FEN4 positions from TXT opening files - #1

Merged
KnightStackSys merged 4 commits into
mainfrom
feature/plain-fen4-lines
Nov 11, 2026
Merged

KnightStackSys merged 4 commits into
mainfrom
feature/plain-fen4-lines

Conversation

@KnightStackSys

Copy link
Copy Markdown
Owner

Summary

  • Recognize native Chess.com FEN4 snapshots directly in match.openings_file, one per line, without requiring a fen prefix.
  • Preserve existing fen ..., moves ..., SAN/PGN4, and optional | moves / | san entries.
  • Tolerate UTF-8 BOMs from Windows text editors.
  • Cover mixed opening books and paired games with a regression test.
  • Document use with fixed matches, SPRT, and SPSA.

Testing

  • Added a regression test in tests/test_san_openings.py.
  • GitHub CI should run pytest on supported Python versions and OSes; full engine-play validation requires the IronPhoenix executable.

@KnightStackSys
KnightStackSys merged commit 74b8731 into main Nov 11, 2026
4 checks passed
@KnightStackSys
KnightStackSys deleted the feature/plain-fen4-lines branch November 11, 2026 10:13
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