Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I'm trying to post my solution and I keep getting an error from anti-chit -
You cannot do that.
What exactly can't I do, what do I need to fix? I'm tired of playing the guessing game. These rules should be clearly spelled out. I realize it probably doesn't like some of the naming in my code, but I shouldn't have to guess, the error should clearly tell me what needs to be changed.JSON.parse
andeval
I understandably don't use.Prolog translation
At least in Haskell, "valid ones" section of random tests generates numbers with exponent and expects the user to parse them, which contradicts the description. Example (note
-3.458508438120589e-2
near the very end):js at least: missing a fixed test with a string beginning with a whitespace. Fortunately, it appears frequently in the random tests, but having it in the fixed tests would be more comfortable. Increasing a bit the number of random tests would be a good idea too, to be sure tha nobody can slip through the tests.
And neither the grammar nor the description mentions whitespace should be ignored.
Otherwise stated: the "grammar" does not differentiate clearly between terminal and non-terminal symbols.
Needs random tests
This kata is now uncompletable because test framework is dependent on
JSON.stringify
.