6 kyu
Thinking & Testing : I hate big and small
171 of 172myjinxin2015
Loading description...
Puzzles
Games
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.
Description uses broken HTML
Fixed
I am not sure what the pattern is, first I thought its average, but now I am not even sure i know how to get the required results without more info :(
the sample tests are currently useless. It's impossible to spot the actual pattern only with them and moreover, they are misleading => needs more of them.
Fixed!
Python translation. Please, review and approve.
see above, at the same time
<font color="#CD7F32">testit([1,1])</font>
HTML is not applied to the logs, and the noise from it is distracting.
Fixed
Love this series for a "big" description))))
Test cases on submit are completely wrong. The average of [1, 1] is 1, not 0. The average of [1, 1, 2] is 1.33, not 0. Test cases are missing message.
The average is not the solution for this kata, so your issue and statement is wrong...;-) That there's no example is just the special thing here and gives the title for these "thinking and testing katas"...
function name in solution template should reflect what the user is trying to solve. For example, this one should be called
average
. An explaination should be added to the description about this 'lesson' and what problem the user is trying to solve. An example provided in the description is very helpful. I would recommend adding an example there.Honest boy, I am moved for your honesty, but I cheated on you. This Kata is not a simple calculation of the average, the sentence is just a hint, give you a thinking direction. For your honesty, give you more tips: the way to calculate the average value is often used in sports competitions. Finally, thank you for your attention to this kata!