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

Empty input passed certain problems #32

Open
kamn opened this issue Jul 12, 2021 · 1 comment
Open

Empty input passed certain problems #32

kamn opened this issue Jul 12, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@kamn
Copy link

kamn commented Jul 12, 2021

Certain problems incorrectly pass with empty inputs, for example Problem 2. If I run the default empty input on Problem 2, I get a successful completion. This exists for several other problems in the lower-tiers but doesn't seem to be a problem in the higher tiers.

@oxalorg oxalorg added the bug Something isn't working label Jul 12, 2021
@scimetfoo
Copy link

scimetfoo commented Jan 31, 2022

The cause of this is that = used as a unary operator evaluates to true. Could potentially evaluate the solution before formatting/replacing the blanks so that the equation always has valid Clojure expressions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants