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

Flitering for duplicates #21

Open
xsrvmy opened this issue May 21, 2020 · 3 comments
Open

Flitering for duplicates #21

xsrvmy opened this issue May 21, 2020 · 3 comments

Comments

@xsrvmy
Copy link

xsrvmy commented May 21, 2020

There was a post in CF today asking about repeated 2x2 scrambles, and someone found a duplicate 2x2 scramble within the same comp. This should probably be filtered out.

Scrambles ending in the same state but in a different orientation should be considered duplicates. However, whether a scramble that is the same as another scramble applied to a different starting orientation is a dupliate needs to be discussed.

@gregorbg
Copy link
Member

Moving to tnoodle-lib

@gregorbg gregorbg transferred this issue from thewca/tnoodle May 21, 2020
@gregorbg
Copy link
Member

Thanks for reporting this issue! Would you mind sharing the relevant parts of the conversation where this duplication was discussed?

I would be extremely interested to look at the actual competition data for this occurence

@xsrvmy
Copy link
Author

xsrvmy commented May 22, 2020

This is a duplicate within the same comp someone found. Not even a different alg for the same scramble (although I don't know if 2x2 scrambler randomizes first move).

mysql> select * from Scrambles where scramble="R' U2 F R2 U2 R' U2 R' F R F";
scrambleId competitionId eventId roundTypeId groupId isExtra scrambleNum scramble
147189 IndianNationals2015 222 d J 0 3 R' U2 F R2 U2 R' U2 R' F R F
147238 IndianNationals2015 222 d Q 0 3 R' U2 F R2 U2 R' U2 R' F R F

Credits to Tim Reynolds for find this

Could anyone have gotten both of these solves? (Does roundTypeId indicate which round?)

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

No branches or pull requests

2 participants