Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the advanced pawn evaluation #532

Open
programarivm opened this issue Apr 30, 2024 · 0 comments
Open

Fix the advanced pawn evaluation #532

programarivm opened this issue Apr 30, 2024 · 0 comments

Comments

@programarivm
Copy link
Member

programarivm commented Apr 30, 2024

figure_01

The advanced pawn evaluation in src/Eval/AdvancedPawnEval.php needs to be fixed.

Buggy explanation:

  • Black has a small advanced pawn advantage.
  • Black has a small far advanced pawn advantage.

Buggy elaboration:

  • a2 is an advanced pawn.
  • a2 is threatening to promote.

A pawn cannot be an advanced pawn and a far advanced pawn at the same time, otherwise as a result the explanation will get too redundant. Thus, a far advanced pawn is also an advanced pawn, however an advanced pawn is not a far advanced pawn.

Fixed explanation:

  • Black has a small far advanced pawn advantage.

Fixed elaboration:

  • a2 is threatening to promote.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant