Giter VIP home page Giter VIP logo

Comments (4)

gkuenning avatar gkuenning commented on August 23, 2024 1

from xword-dl.

thisisparker avatar thisisparker commented on August 23, 2024

Thanks for reporting! I was able to repro this and figure out the issues.

That third prong of the conditional set is for rebus answers, and the .puz file requires a single letter in the solution spot. The double slice thing (square[0][0]) grabs the first letter of the first acceptable rebus answer provided.

In this case, and this puzzle's tech was kind of a fiasco, the first acceptable option provided is an empty string. There isn't a public spec that these are built to, so they're not strictly in violation of anything by doing that, but it didn't work well with solvers (and the .puz format doesn't let you use an empty string in that slot anyway.)

The fix for this would be to check whether the first provided acceptable answer is an empty string and if so... provide an X instead of its first character? Or move onto the second string? (In this case, the second acceptable answer was the string NOTHING so this would somewhat confusingly jam N into the solution.)

I'm inclined to say that this is enough of an edge scenario that we shouldn't overfit to it with a special case. But if you have thoughts I'd be happy to hear them!

from xword-dl.

gkuenning avatar gkuenning commented on August 23, 2024

from xword-dl.

thisisparker avatar thisisparker commented on August 23, 2024

The LAT issue should be fixed by the latest release, which you can upgrade through pip or this repo, whichever you've previously done. (The new version with the fix will be 2022.5.21.) In that case it's not a weird gimmick, but a change in how they're read into the online solver.

I'm closing this issue but feel free to open a new one or be in touch if you run into any problems!

from xword-dl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.