7 kyu

How much Kata should I complete?

Description
Loading description...
Fundamentals
  • Please sign in or sign up to leave a comment.
  • luukaunder Avatar

    After completing kata, and looking at other solutions I feel like I cheated without meaning to. I defined objects mentioned, since it is first time I came across a kata that said it had pre-defined objects. There was no info on structure of objects, so I figured the write up was old and there is no more pre-defined objects which is why I made. My solution doesn't work with out my objects so there must be some difference in how I defined them. I have no idea how to know what is wrong since I don't know how the objects are structured or what's trying to misuse them.

    An improvement would be to display objects in the instructions;

    Further, I am a little slow. I realize now I can just loop through the objects and print, to see if they existed and their contents. It is only 7th Kyu and that is my excuse.

  • akar-0 Avatar

    I suggest to include the two objects in the description, or at least give a precise description of them, since we cannot be sure how they are formatted.

  • ahtoh Avatar

    My solution fails random tests with dan_1. But I checked everything manually. 136490 dan_1 expected 93 to deeply equal 92 247321 dan_1 expected 194 to deeply equal 193 etc.. There are also 21 katas kyu1 on Codewars. It should be noted that in the decision to consider the number of kata as unlimited.

  • FArekkusu Avatar

    The user can modify the preloaded objects.

  • FArekkusu Avatar

    You can check this on Codewars Wiki but I'll preload 2 objects...

    The preloaded data is completely different from the real honor gains on CW as of now. This statement should be removed.

  • FArekkusu Avatar

    The call to the user's solution should be done inside the it block.

  • ZED.CWT Avatar
    howMuchTo(242942,'dan_2')
    
    expected 133 to deeply equal 134
    

    Apparently you only need ceil((242942-97225)/1097) == 133 katas

  • rowcased Avatar

    Ssample Tests are broken:

    ReferenceError: assert is not defined
        at Context.<anonymous> (test.js:35:5)
        at processImmediate (internal/timers.js:461:21)