Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a side effect of my query here:
#47 (comment)
I wanted to search for a certain pattern (2 Queens vs Q + RR) and it seemed that
the existing rules couldn't do it.
I have done some ad hoc testing of this and it seems to work.
In retrospect possibly the existing "material" rule should be updated instead of a new
rule being added.
For a proper pull I probably need to update the test code - but I've put this together
so it's a kind of working proposal.
I don't use git(hub) much so please bear with me if I'm not following some convention.
thx,
Dave
Obscure historical note: ages ago I was watching a post mortem at a chess tournament, maybe
a game between 2 masters, and in their analysis there was a position with 2 queens vs
Q+RR and GM Anthony Lein was watching, and they asked him how to evaluate it, and
he said that QQ was usually much better - and ever since Larry Kaufmann wrote those articles
about statistically evaluating material imbalances I've wanted to do it for this probably
rare situation.