Ad
  • Default User Avatar

    too easy for 4kyu

  • Default User Avatar

    Python tests are still broken, random portion tests negative page indexs which should return -1 but tests expects different answer.

  • Default User Avatar

    No test cases for negative numbers, also description should state that you are rounding up.

  • Default User Avatar

    Details say cases with all be > 5, this is not true. Dictating behavior for case of size = 0 would be good as it doesn't specify in the details but it the first case when submiting solutions, which also does not provide feedback.

  • Default User Avatar

    0000000000
    .........0
    00000000.0
    0......0.0
    0.0000.0.0
    0.0..0.0.0
    0.0....0.0
    0.000000.0
    0........0
    0000000000

    Is it still this? becuase this is correct, turning once more would put a 0 adjacent to 2 other 0's.

  • Default User Avatar

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

  • Default User Avatar

    Consider more examples or more explicit definitions of what you want the functions to do, shouted and whispered are clear but I couldn't tell if spoken was meant to return the message unaltered or capitalize the first letter or ...

  • Default User Avatar

    Weird, I don't see it anymore. Language was python. Must have been some local weirdness.

  • Default User Avatar

    I guess I interperated it as asking to only display that behavior when two words are specifically seperated by a hyphen as that would be the most reasonable character to be seperating two objects in practical applications, I can see how I was mistaken but I would still suggest clarifying in the description, or maybe just add an example showing the punctuation other than hyphens should be preserved. Thanks for taking the time, nice kata.

  • Default User Avatar

    Consider changing test cases, as the currest ones will validate code that simply reversed the input.

  • Default User Avatar

    test cases should be
    test.assert_equals(rot13("test"),"grfg")
    test.assert_equals(rot13("Test"),"Grfg")

    not

    test.assert_equals(rot13("test","grfg"))
    test.assert_equals(rot13("Test","Grfg"))

  • Default User Avatar

    Base code already provides 90% of the solution, consider removing some?

  • Default User Avatar

    Should mention in the description that punctuation should be preserved, I got error
    "Input: the; : 'the' should equal 'the; '"

    edit: maybe the tests are just bad because it also tells me balloon'doggy => b5n'd3y, and "Input: monolithic, is'sits'is: a; balloon-monolithic, : 'm8c is s2s is a b5n-m8c' should equal "m8c, is's2s'is: a; b5n-m8c," which from the description seems wrong.