Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Python, don't make me cry :(

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Thanks :)

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Thank you! Sadly I'm not familiar with C. Hence, looking for feedback :)

  • Custom User Avatar

    Published a java translation, looking for feedback :)

  • Custom User Avatar

    Suggestion: Remove valid color and valid flavor from the description.

    Looking at zebulans issue that was resolved 5 years ago, a decision was made to not test for color nor flavor.
    We should rephrase the corresponding paragraph to avoid further confusion :)

  • Custom User Avatar

    Is this issue about JS? I haven't run into this issue when using the C# version :)

  • Custom User Avatar

    C# version has an issue:
    The solution setup has an int as input and returns int[],
    but the random test expects a long as input and long[] as return type.

    Simple Solution: Fix the solution setup by replacing int with long and int[] with long[]

    I'd love to propose a cleaner solution, but I'm worried this would invalidate existing C# solutions ... :)

  • Custom User Avatar

    Reject switch, return to if

  • Custom User Avatar

    Random tests in Python have an unexpressive message, e.g

    testing for triangle_area(Triangle(<preloaded.Point object at 0x7f1a1300eeb0>, <preloaded.Point object at 0x7f1a12f8a220>, <preloaded.Point object at 0x7f1a12f19be0>))

    To solve this, Point should have a meaningful __str__() implementation :)

  • Custom User Avatar

    This is a technical Kata, it requieres some knowledge of network addresses to understand the description.
    Although all terms are explained in the description, it's quite brief and may not be enough for some users.

    I suggest we link explanations for MAC and IPv6 addresses. If someone is struggeling with the technical nature of
    the Kata, they have a good starting point :)

  • Custom User Avatar

    If all hexadecimal characters in the output have to be lowercased,
    it should be stated wether we can expect a lowercased input as well :)

  • Custom User Avatar

    Refactor random test:
    1.) move input and output inside the function
    2.) show input in test information

    For example:

    @test.describe("Random Tests")
    def tests():
        input, output = generate_test_array()
        for i in range(0,100):
            @test.it(f"input: {input[i]}")
            def test_tnt_order():
                    d = uniform(0.1,384400000)
                    test.assert_approx_equals(necessary_tons_of_tnt(input[i]),output[i], margin=1e-6)
    
  • Loading more items...