thewca / tnoodle-lib

scrambling code portion of TNoodle
GNU General Public License v3.0
40 stars 15 forks source link

Flitering for duplicates #21

Open xsrvmy opened 4 years ago

xsrvmy commented 4 years ago

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 commented 4 years ago

Moving to tnoodle-lib

gregorbg commented 4 years ago

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 commented 4 years ago

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?)