Earn extra honor and gain new allies!
Honor is earned for each new codewarrior who joins.
Learn more
  • Profile pic

    exactly :
    'make_sentences' in tests (and description)
    'make_sentence' in script

  • 31668662?v=4

    Python. Wrong function name in the sample tests.

  • 1228739?v=3

    Fixed.

  • 5585183?v=3
  • Profile pic

    !!!!!!!

  • Profile pic

    Needs better details - in particular, how do you know when Jack Sparrow has "escaped" from jail? The error messages could also be improved ("Take another path" is not terribly helpful).

    Maybe I'm just overthinking it since the Average Assessed Rank so far is 6, but I can't seem to get past the 5th test without more details about what I'm trying to accomplish, what the options available to me are, or at least what the limitations are.

    On a side note - it's a bit annoying that you have to submit your code to run tests - the "Run Tests" button does not appear to work.

  • 662430?v=3

    ??????

  • 4815731?v=3

    Agree. I lost time on this one and imho ["blue"] was a good answer, given the description...

  • Profile pic
  • 2425507?

    Hey fizis - solutions honor comes from upvotes by other users on your kata solutions, it's 1 honor for each upvote.

  • 211764?v=3

    The default helper test in the CoffeeScript version has a syntax problem:

    Test.assertSimilar(findOutChristmasWeekday '2013 12 25', 'Wednesday')
    // turns into
    Test.assertSimilar(findOutChristmasWeekday('2013 12 25', 'Wednesday'));
    

    Valid options:

    Test.assertSimilar((findOutChristmasWeekday '2013 12 25'), 'Wednesday')
    Test.assertSimilar(findOutChristmasWeekday('2013 12 25'), 'Wednesday')
    
  • 6301773?v=2

    @jhoffner: Well, we have the comment box, but one can simply close it, so there are still minor/major issue votes without any comment. Any plans on changing that yet?

  • Profile pic

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

  • Profile pic

    Is your solution maybe inserting double spaces between words, or an extra space at the very beginning of the sentence?

    If you're still having trouble, post your solution here and mark it as spoiler, and I or someone else may be able to offer further suggestions.

  • Profile pic

    Not sure why this isn't passing. It looks right in all test cases.

    makeSentence
    should handle sentences with only words passed.
    Expected: hello world., instead got: hello world.
    Expected: Quick brown fox jumped over the lazy dog., instead got: Quick brown fox jumped over the lazy dog.
    should handle sentences that have commas.
    Expected: hello, my dear., instead got: hello, my dear.
    Expected: one, two, three., instead got: one, two, three.
    Expected: One, two two, three three three, 4 4 4 4., instead got: One, two two, three three three, 4 4 4 4.
    should handle sentences that already have a period at the end
    Expected: hello world., instead got: hello world.
    Expected: Bye., instead got: Bye.
    should fix sentences that have multiple periods at the end
    Expected: hello world., instead got: hello world.
    Expected: The Earth rotates around The Sun in 365 days, I know that., instead got: The Earth rotates around The Sun in 365 days, I know that.
    Process took 55ms to complete

  • Loading more items...