thesilican / duotrigordle

Play 32 wordles simultaneously
https://duotrigordle.com/
58 stars 45 forks source link

Autosolve fails with double letters #128

Closed thesilican closed 3 months ago

thesilican commented 7 months ago

I've started using the autosolve feature and believe that it should have solved EASED automatically for me today (1/23/2024).

When I guessed BASED, I knew that it was _ASED as I could see S was not first (based on my guess of SWILL) and knew the positions for A, E, & D as the screen indicated _A_ED. As I play on my phone, I could not see that my previous guess of WHERE indicated the word had two Es.

Based on this information, the autosolving feature should have resolved this word for me and it should have done do after my guess of CARED (which was my 13th word.)

Reported via email by Theresa.

screenshot screenshot
SQB commented 3 months ago

Another clear example was in today's edition.

It had _OMPH with a guess of MOTOR above it, one O green, the other O and the M yellow. See attached screenshot. Screenshot_20240601-214800

thesilican commented 3 months ago

This bug has now been fixed 🥳

SQB commented 3 months ago

Confirmed by playing #822 again with the same initial guesses (WALTZ, FJORD, VIBEX, GUCKS, NYMPH; hat tip to Matt Parker) + MOTOR, which now auto-solved OOMPH.

ewilson commented 3 months ago

Screenshot_20240607-111514

It seems that SWILL should have been solved here. The LL was present in ALLOT, so must be letters four and five, since S_I__ was determined. W was seen, so must be only remaining spot.

This was a practice game played today, not in an old tab, so should have latest.

ewilson commented 3 months ago

@thesilican is my issue above a different defect?

thesilican commented 3 months ago

It seems that SWILL should have been solved here. The LL was present in ALLOT, so must be letters four and five, since S_I__ was determined. W was seen, so must be only remaining spot.

It's technically a different bug but closely related, right now the algorithm sees that 2 Ls are the remaining letters and 2 slots are open, but isn't smart enough to realize that it doesn't matter which L fills which slot. I'm amazed you ran into such an extreme edge case 😳.

I'll maybe fix if I have time, but honestly I don't know what the chances of someone running into this exact case again is lol.

ewilson commented 2 months ago

I'll maybe fix if I have time, but honestly I don't know what the chances of someone running into this exact case again is lol.

My intuition (not computing anything) is that the odds are higher than you think. But you can prioritize what you like, of course.

ewilson commented 2 months ago

Decided to look for this bug today. Found it in the Jumble:

Screenshot_20240622-102100

Clearly "BROOM" should be determined.