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.
Using global variables for kata state is Bad Design(TM). Please use a proper class to encapsulate the entire operation.
It's not clear how subsequent correct responses interact with 2D1U. Does it take 2 more responses before the task become harder again? Or does it go harder again each response.
Also, sometimes description writes
D12U
when it should be2D1U
.Ruby 3.0 should be enabled, see this to learn how to do it
Done.
Python 3 should be enabled.
Ah ha! Yes, the verbs used by the generator were not all in present tence. Fixed, thanks!
Changing
entered
toenter
andresponded
torespond
should do the trick ;)I see. I didn't do the ruby translation, and the js seems to work fine. You seem to be a lot more useful than me at potentially fixing this. Could you suggest a way?
It's a mistake in the random test data. Check the
verbs
array in the ruby translation tests cases:verbs.grep(/ed$/) =>["entered", "responded"]
. It should only contain verbs not already ending ined
.Hi ojundt, thanks for your message. I can't replicate the error you have. Are you sure you are not defining any global variable?
There are random test failures when input starts with
Today I didn't entered
orToday I didn't responded
(which looks incorrect anyway). Example test:It should work for random inputs too - Expected: "I don't think you didn't entered the fireman today, I think you did entered it!"
Managed to?
Thanks for the feedback
Yup, it worked today!
No, the answer is not an empty string. Something went wrong at CW, the servers seems much slower than usual. Maybe you could give another try?
Loading more items...