6 kyu
Progress of a challenge
32 of 97MarcJensen
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.
Very interesting kata, quite challenging.
python new test frameworks
There are inconsistencies descriptions and tests:
1. In details - "You are 3 ahead of schedule!" Test requirement - "You are 3 ahead of schedule." 2. In details - count only the item for completed months (i.e. for March check the values from January and February) and it means that for January you should always return "You are on track." Test requirement - process January as other months and suppose that we have 0 pledges requirements for January
Thanks Daniil for your comment.
Thanks again, I've fixed it.
I have just re-read the description and still don't understand a word what I'm supposed to do with the three values. No offence intended, but there's no single sentence that makes sense to me but as there are 8 users who have already solved it, I'm not going to open an issue. Can anyone explain to me what exactly should be done here? Thank you. :-)
As I am not native speaker, probably the decription could be much better. I am open to any suggestions.
The problem that I wanted to describe is about a possibility to check how well someone's challenge is progressing. Let's create an example. I've decided to do 100 katas in 2018. It's beginning of March and I solved 30 katas. I would like to get information how well I am progressing. With this short program I can get information that I am ahead of schedule with 12. Program parameters in this case are: 100, 30, March. I hope it somehow helps.
I'm also not a native English speaker, maybe that is the reason why I didn't understand anything. Thank you very much for taking the time to describe another example, now I can understand the task much better. =) Edit: To be more precise my main problem was misunderstanding the "number pledged for a year" thing.
Needs random tests
I've added random tests with use of your solution. Thanks for the comment.
@MarcJensen
Python Translation here
Please review and approve.
Thanks!
@MarcJensen: are you sure your test cases are right? I pass the example tests but I get some null pointer exception when I run the "hidden" test cases.
More specifically:
I just submitted my solution and did not see this error. Perhaps you ccn try again
I've just checked test cases and it looks like NPE could be thrown only if the input string is null. But all test cases are using correct month name. So it looks to me to be an issue in your solution.
(deleted)