Ad
  • Custom User Avatar

    Python: Kumite here, with new random test cases

  • Custom User Avatar

    Python:

    • Is missing random test cases. Just so that this issue isn't marked as spoiler and is visible to more people, my solution that can bypass currently [non-random] test cases is in the "View Solutions" tab right below this mass of text; also will be put in replies once it is rendered invalid.
    • Currently has one of the test cases be something that cannot be the name of a function (it starts with a number). It would be wise if this is fixed and implemented for said missing random test cases.

    Author of kata is currently inactive (last seen: Apr 2021). Can someone help with this? I am trying to kumite a version that does the trick, although no promises if it'll be as good because I have never done this before.

  • Custom User Avatar

    python new test framework is required. updated in this fork

  • Custom User Avatar

    atleast python:

    missing random tests

  • Custom User Avatar

    C# translation ready. Please review and approve.

  • Custom User Avatar

    New test framework should be used in Python.

  • Custom User Avatar

    (Python)

    Random tests other than being quite low in number, never generates topologies which have multiple optimal paths.

    Other than that, the method should be snake_case, this can be done by without invalidating solution by using try....except

  • Custom User Avatar

    Nice Kata. Can you change the name of the function to be similar? def shortest_path(topology, start, end): return 0 or shortestPath(topology, 'a', 'e')

  • Custom User Avatar
    • add more (random?) test cases for the submission
    • rename kata to "snake_case to to camelCase" or something