The order of operation is entirely unspecified. For example, the author solution assumes that funding chance and getting funding is calculated before hiring/firing at the start of each month, which is illogical.
So at month=12 for a Startup where employees=10 the chance to get funded is computed by: 5% (base), 6% (monthly bonus), 15% (employee bonus) for a total of 26%
This is wrong: at 12th month the monthly bonus should be 9%.
thanks for your feedback, I can see you have a keen eye for katas! I have seen you use the same response elsewhere so feel free to be more verbose so I can improve this kata to be more to your liking!
Cheers
Starting from left to right and then top to bottom we can grab the first corner! We then return on the inside of this corner to get the next one, and so on.
you are going down, right, up, right etc. so [1, 4, 5, 2, 3, 6, 9, 8, 7] is not a valid solution given the instructions
arent you a charmer.
There are no random tests.
The order of operation is entirely unspecified. For example, the author solution assumes that funding chance and getting funding is calculated before hiring/firing at the start of each month, which is illogical.
This is wrong: at 12th month the monthly bonus should be 9%.
The tests actually expect
burnrate
.This should doubtlessly be a translation on an existing kata ( at best ).
thanks for your feedback, I can see you have a keen eye for katas! I have seen you use the same response elsewhere so feel free to be more verbose so I can improve this kata to be more to your liking!
Cheers
no need to be mean about the random tests :P
I have written some (hopefully) more robust random tests if youd like to take a peek
issue not resolved: the current "random" tests aren't actually random: the dict uses always the very same structure.
Trivial map/filter/reduce is not a novel kata idea, and IIRC there're already several similar katas available.
This comment is hidden because it contains spoiler information about the solution
getting the joke isnt trivial :milk_carton:
EDIT:
A programmer goes out to get some dry cleaning. His wife told him, "While you're out, pick up some milk"
He never came home...
Nice kata!
Ah, thanks. I didn't realise that was part of the solution's criteria.
you are going down, right, up, right etc. so
[1, 4, 5, 2, 3, 6, 9, 8, 7]
is not a valid solution given the instructionsLoading more items...