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.
that is horribly inefficient :O
Hey, I fixed the typo with the
editbutton but it showed me an orange banner sayingKumite was a publihed with failed testsso I made a fork with the exact same code which doesn't show the banner.Also, thanks for the
%q"tip". Will use it (not in this fork as I judged it not necessary but please say so if I should).There's a typo at the line 79 (
table.insert(cases, { str = str, prefix = shuffled, expected = false });) in the test cases.prefix = shuffledshould beprefix = prefix. This makes the test cases generatenil.Also, you may use
%qto format strings. For strings,%qis basically the same as"%s", but with escape sequences when necessary.Oh yeah, my bad, I forgot. I'll do that next time. Thank you for your time !
Edit: Actually, when I pressTRAIN AGAIN, theSampe Testsare not updated and when I pressAttempt, theitmessages are updated but I still get the error with the call of the function. Could it be because of the fork ? How can I resolve this ? When I fork on the kata page, I get the updated code.Second edit: When I reset on the training page, I get the updated code and there are no error at all. But when I leave the kata and train again, the non-updated code reappear.Seems like it updated successfully after all
When fixing an issue on an approved, working translation, please remember to not fork the old translation, but use the Fork button on the kata page.
Translation resolving this issue (only Lua obviously).
testerfunction to provide user informationApproved.
Fixed.
I mean, the same solution of mine passes and fails testing.
The solution passed testing on about the third try without any code changes.
What do you mean by corrupted?
For the input
"DlVDh","dl-v-dh"is the correct output, not"dl-vdh".Javascript
Corrupted random tests.
I passed the test on the third try.
My solution
On my first try I got this feedback:
input: DlVDh
Expected: 'dl-v-dh', instead got: 'dl-vdh'
Your function should return array of four digits. Value 'matches' is respond to that return.
Lua trans
Maybe today is the day.
Lua trans
Loading more items...