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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I think the test cases here need to be improved I don't understand what was the problem exactly asking for but the test cases have the solution, the test cases shouldn't provide the answer instead they should provide better examples
Besides, I believe it is ok to look at the test cases, because sometimes the kata descriptions and even the provided examples or thrown errors do not provide enough information. By looking at a "good test case" you can really understand the expected behaviour.
Yes that's a way, look at that the top example, I simply pasted the test case expected response, and boom! got my points. Does that sound good to you?
Test cases for this kata need to be improved otherwise you can easily cheat
Ah nvm looked at the test cases and found the error, I'm gonna delete my git repo don't wanna give clues to anyone, it wouldn't be fair.
Excellent kata, but I'm still stuck, so I created this ugly algorithm https://github.com/chischaschos/codewars-ranking-system-js/blob/master/code_wars-ranker.js it has green jasmine tests but I keep getting this error: "After applying rank of 8 the progress was expected to be 0, but was actually 3", seems to me that the case is covered here https://github.com/chischaschos/codewars-ranking-system-js/blob/master/code_wars-ranker-spec.js#L62, could you please give me some clues?