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.
Here for decodeBits("1110000000111") it return
...
, should it be- -
?Looks good, approved
did not make a difference..
Try resetting the trainer.
Thanks for the quick fix!
I tried re-factoring my code to remove handling
inc
anddec
having two params, still failed.looks like generated program is still giving me stuff likeinc c 5
. Does the Tests have to update or something? If so, what is the expected wait time? Just curious..There's no need to poke everyone every day. Translations of purple kata can take long to approve, because not many people can properly review a translation of difficult kata into not very popular language.
My guess is that it will wait quite a long time for approval. You need to be patient ;]
Not sure if your translation was accepted, but since your's is the only other scala solution, i'll take that as a yes.
I'd begin by saying, thanks for translating this to scala, loved solving this kata.
There is an issue however,
inc
anddec
seem to take two parameters instead on the promised one in Generated Programs. Raised this as an issue, thought you oughta know.Cheers!
Do you need to be using doubles all over the place? You're potentially losing precision from that.
I don't do Scala, but try returning just 1, there are several more tests, so that Exit code 1 seems like a timeout, what I noticed too, is the testing suite is taking a lot of time to generate the tests (when returning 1).
Read this
We can't guess what's wrong either without more information, language, your code, etc.