Skip to content

Enhance matetb.py - #122

Merged
robertnurnberg merged 5 commits into
mainfrom
matetb
Jun 25, 2026
Merged

Enhance matetb.py#122
robertnurnberg merged 5 commits into
mainfrom
matetb

Conversation

@robertnurnberg

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enhances matetb.py by improving how mating-side context is tracked and by expanding/augmenting the verbose output (MultiPV details and derived child-position info), plus adding additional known EPD cases to fill_exclude_options.

Changes:

  • Track whether the mating side is to move at the root position (mating_side_to_move) and use it to suppress certain MultiPV entries.
  • Refine MultiPV output formatting, PV-lengthening variable handling, and add printing of a derived “Child FEN … bm #…; PV …” line in verbose mode.
  • Extend fill_exclude_options() with additional EPD patterns (including negative-mate / black-to-move variants) and gate an opening line to white-to-move positions only.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread matetb.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread matetb.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment thread matetb.py
@robertnurnberg
robertnurnberg merged commit bb354a3 into main Jun 25, 2026
1 check passed
@robertnurnberg
robertnurnberg deleted the matetb branch June 25, 2026 16:25
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.

2 participants