Ad
  • 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

    Variable names should not be tested.

  • Custom 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

    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.

  • Custom User Avatar

    I really like this site, but I run into one of two problems everyday with these questions:

    1. The instructions are woefully inadequate at explaining what the solution requires.
    2. The tests are woefully inaccurate for the problem proposed.

    For this particular problem, the tests given can pass, but the tests performed upon submit are clearly very different and can cause the solution to fail. Some clarity on both ends would be greatly appreciated.