7 kyu
How much Kata should I complete?
91MrKoyl
Loading description...
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
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.
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.
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.
The user can modify the preloaded objects.
Thanks! Fixed
The preloaded data is completely different from the real honor gains on CW as of now. This statement should be removed.
Honor and score are two different things, description talks about scores not honors.
Uh, I forgot that there's a separate metric for level progression... Everything's okay then.
The call to the user's solution should be done inside the
it
block.Thanks! Fixed
P.S. I know this should be done this way, but can you say why? :D
I'm still learning and I'd appreciate for such knowledge
Because all the users' logs from 100 function calls will be printed together making the debugging way too annoying.
Damn, I misread the issue
Because otherwise, user can call it to find out what's the correct answer.Related paragraph in not yet (but mostly) complete guide on authoring Python kata: https://deploy-preview-189--reverent-edison-2864ea.netlify.app/languages/python/authoring/#reference-solutioRelated general guidelines: https://docs.codewars.com/authoring/guidelines/submission-tests/#reference-solutionApparently you only need
ceil((242942-97225)/1097) == 133
katasThanks, I'll check it
Fixed
.
Ssample Tests are broken:
Thanks, fixed