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

Normalize move amounts consistently for scrambles #83

Open
lgarron opened this issue Jan 4, 2025 · 2 comments
Open

Normalize move amounts consistently for scrambles #83

lgarron opened this issue Jan 4, 2025 · 2 comments
Labels

Comments

@lgarron
Copy link
Member

lgarron commented Jan 4, 2025

Some events produce U2' moves at the moment, we should either fix that when building the SearchGenerators (like we used to) or by applying puzzle-specific simplification on the result.

@lgarron lgarron changed the title Normalize amounts consistently for scrambles Normalize move amounts consistently for scrambles Jan 5, 2025
@lgarron lgarron added the rust label Jan 9, 2025
@DougCube
Copy link

I've never seen this happen. You should give an example of this to reproduce the issue.

@lgarron
Copy link
Member Author

lgarron commented Jan 14, 2025

I've never seen this happen. You should give an example of this to reproduce the issue.

Good idea. This can change at any time for any given puzzle, but it's currently exhibited by:

╭─── /Users/lgarron/Code/git/github.com/cubing/twsearch ───────────────────────────────────────────────────────────────────────────────────────────────────
├─  main  | ✔ 
├─ lgarron@Germain
│ cargo run --release -- scramble 333 | 📋
┴
    Finished `release` profile [optimized] target(s) in 0.06s
     Running `target/release/twsearch scramble 333`
L' D B R F U2 R' B L F U2 L2' U' L2' F2' D' R2' D' F2' D2 B2' U' R2' B2' U'
┬
╰─── ⏱️ 1.223s ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants