Skip to content

fix: prefer non-red 5 when resolving discard actions#209

Merged
smly merged 2 commits into
mainfrom
fix/prefer-non-red-five
May 5, 2026
Merged

fix: prefer non-red 5 when resolving discard actions#209
smly merged 2 commits into
mainfrom
fix/prefer-non-red-five

Conversation

@smly
Copy link
Copy Markdown
Owner

@smly smly commented May 5, 2026

Fix #206.

The red five 5mr/5pr/5sr was being discarded whenever a normal 5 was also a legal discard. Keep the action space as-is and resolve the ambiguity inside Observation::find_action and Observation3P::find_action by referring non-red candidates. This change is purely a tie-break inside find_action.

@smly smly added the core label May 5, 2026
@smly smly merged commit d3a01c5 into main May 5, 2026
8 checks passed
@smly smly deleted the fix/prefer-non-red-five branch May 5, 2026 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

red fives (akadora) incorrectly discarded issue

1 participant