Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
first of all i would like to thank dinglemouse for this really awesome kata, even though i haven't solved it yet, i have had fun pondering it so far. the simple tests have all been successful, but in the advanced tests, 2 fail: fire_drill and random. When I read your question, I wondered how you got the test case of fire_drill, for example?
calculation of the averages is wrong, isnt it?
I disagree that it leads to wrong code. I managed to solve it without any hacks or anti-patterns. I do agree that the description could be a lot clearer. THe only issue I have right now is that one part of the random test is sometimes failing, the AverageConsumptionByDistance test are flacky but that could be a rounding error on my part so not blaming the test yet. What I liked about this Kata was the seperation of concerns. You could solve it using passing lambdas but I managed to fix it without
actually the kata was fun, but due to the inaccurate descriptions and the many assumptions you have to make, it is unsatisfying. It is strange when you "must" write "wrong" code...
i decided to cancel the kata to save myself from headaches.