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.
@hobovsky I get that in python as well.
Reproducing: default code, completely unmodified -> Attempt
This is because the reference solution returns 0/1 instead of False/True
Please also read the last bullet point of this paragraph for some information on
False should equal to 1
. It's a result of a kind-of-a-bug in the testing framework, and it's related only to presentation. You are not able to fix it, it can be solved only by update of testing framework (which is planned, btw). It does not affect the tests though. Just make double sure that you interpret logs corectly, and I might be able to take a look at your solution later today.Sorry, that's a bit too much to debug. But I'm printing every maze and every one of them that fails, you can clearly see available path for it. Again, you're looking at logs incorrectly, For every 'False should equal 1', the failing maze is ABOVE, not below it. Because of your weird solution structure, I'd guess it's throwing errors somewhere in the class where it shouldn't.
I'd want the test code to print True/False instead of 1/0
The comparisons are probably fine but that's a bit scuffed...
False = 0, True = 1, nothing to do with perfomance. You must be looking at the logs incorrectly. Did you read some answers to questions in the link from hobovsky?
You are right that for given maze, the expected answer should be
false
. However, I just finished the kata in C++ and encountered no problems. Please read this paragraph and check if you read the logs correctly.Does problem appear consistently every time you submit your solution?