Ad
  • Default User Avatar

    @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

  • Custom User Avatar

    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.

  • Custom User Avatar

    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.

  • Default User Avatar

    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...

  • Custom User Avatar

    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?

  • Custom User Avatar

    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?