Ad
  • Default User Avatar

    What language?

  • Custom User Avatar

    Updated description + python and ruby test cases

  • Custom User Avatar

    And those were hardly the only problems with it. Not by a loooooong shot ..

  • Custom User Avatar

    Well, you get a second chance at a first kata ..

  • Custom User Avatar

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

  • Custom User Avatar

    Yeah no dice. Tests give same error.

  • Custom User Avatar

    Thanks for taking a look! But I'm still getting the same error. I'll clear cache and all that when I get a chance and see if its anything on my end.

  • Custom User Avatar

    Tests are broken for Python, both example and basic:

    File "<string>", line 14
        test.describe("Example Tests")
           ^
    SyntaxError: invalid syntax
    
  • Custom User Avatar

    Test is also failing:

    [403829, 403831] should equal [403979, 403981]
    

    This doesn't make sense. Note that the answer it's expecting is always a larger number (suggesting that the test didn't provide the primes sequentially -- which it should). Is the test faulty?

  • Custom User Avatar

    It's not an accurate implementation of the pseudocode in Python if the variable names in the Python don't match the variable names in the pseudocode.

  • Custom User Avatar

    Variable names should not be tested.

  • Default User Avatar

    The tests don't test for all criteria. It intentionally leaves the criteria out because its included in the final submission test. That is poor Kata design. All test criteria, when provided at all, should test for all requirements.

  • Custom User Avatar

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

  • Custom User Avatar

    I've just changed the description of the kata. What do you think, it's better?

  • Custom User Avatar

    There are some people here who don't know how to take constructive criticism and have resorted to judging users rather than the content of the feedback. This is a bad thing and unnecessarily combative. We're all here to improve, users and authors alike.

    I'd ask you all to take a step back from this and try to understand the problems users may be having. As authors, that is your responsibility. For those for whom English (at least written English) is not your strong suit, try to take that into consideration when reading feedback.

    Perhaps the author can, instead of being upset that this kata was criticized, look at how they might improve it so that there's more clarity in both the testing and the requirements.

    No one need take feedback as an assault. You provided a problem and as someone solving it, I asked for clearer instructions due to how the tests can both pass and fail simultaneously. Keep in mind we all approach from different contexts and perspectives. What you feel is obvious is NOT universal but based SOLELY on the context from which you're encountering the kata.

  • Loading more items...