7 kyu
Picking the best casino game
677Scopula
Loading description...
Probability
Mathematics
Fundamentals
Data Science
Statistics
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.
python new test framework
.
Interesting Kata, thanks
It's possible to exploit the
namedtuple
import.How? Show it with spoiler tag and I will fix it.
You do realise this is not code underlying a nuclear reactor, yes? Nothing terrible will happen if someone cheats. If someone does I will just patch it and that's it.
If you must give feedback in the form of riddles I kindly ask that you do not write anything at all.
https://www.codewars.com/kata/reviews/5e060e75bb26620001d25771/groups/5e0720b0bb26620001ec17ff
seriously... for a kata that will end in white level...?
not an issue.
This has been fixed, your cheating solution no longer works.
That's completely useless
Because?
not useless. just more readable and a choice of design.
It's possible to hardcode the results.
How so? If you mean by mutating the input list. That has been resolved.
no, the problem is that your tests are just randomized, they aren't really random.
This comment has been hidden.
This comment has been hidden.
About the problems you talked about, those are good points. But that just means the data for the tests are harder to create, not that it's impossible to do.
You can longer do this as far as I can see.
Shouldn't you explain what expected value is?
No I didn't :P
Obviously, the author was talking about himselfI could, but I didn't see it as necessary or desirable. It's a pretty approachable concept, easily googled. Most katas do not teach in this way, e.g. a binary search problem does not have binary search pseudocode or similiar.
Well, I mean it's just a couple of words more in a not so short description. It can be deduced or googled, yes, like anything else.
This statement has been removed some time ago
Seeded RNG is not random.
This has been resolved.
The user can modify the input.
only in the sample tests