Ad
  • Custom User Avatar

    Very tedious and a real pain to debug if you have a little error. I just unlocked it and this is the first kata that I unlock rather than solve.

  • Custom User Avatar

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

  • Custom User Avatar

    Definetely worth solving it

  • Custom User Avatar

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

  • Custom User Avatar
  • Custom User Avatar

    chai.config.truncateThreshold=0 should be used in Javascript.

  • Custom User Avatar

    There is no "evaluation team". Either you pass the tests or you don't. Your perfect code has a couple issues. You insert a newline character at the end of each line, and then at the end you join everything with a newline character, meaning most of your newlines are doubled, and the lyrics your function returns also end with a newline which is not correct. Also, here are the last few lines of your lyrics, you've got some plural issues:

    Take one down and pass it around, 1 bottles of beer on the wall.\n\n1 bottle of beer on the wall, 1 bottle of beer.\n\nTake one down and pass it around, no more bottle of beer on the wall.\n\nNo more bottles of beer on the wall, no more bottles of beer.\n\nGo to the store and buy some more, 99 bottles of beer on the wall.\n
    

    As a separate point, this kata should use chai.config.truncateThreshold=0 in order to show the entire output of the test, otherwise debugging is a nightmare. It currently only shows a small snippet of the actual and expected output which doesn't help anyone.

  • Custom User Avatar

    10 March 2025. Python. 140 lines. Completed in 4861.79 - 7543.36ms

    Not hard. It took 6 hours during 4 days.

    Overestimated, I would rank it as 3 kyu

  • Custom User Avatar

    The test results say otherwise xD

  • Custom User Avatar

    My solution is perfect, so I don't want to change it. It's with the evaluation team whether to accept or reject it. Thanks all for support

  • Custom User Avatar

    Please make sure to mark your post spoiler when posting code.

    What is probably going on is that you are eyeballing the output and thinking it looks ok when really there's some difference or differences. When you have a string of length 11786 characters then that's how many comparisons you need to be making. If that seems like many then, yes. Don't compare by eyeball.

  • Custom User Avatar

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

  • Custom User Avatar

    Typically caused by not doing the same thing. If you can't reproduce it then debug it in the Wodewar editor I suppose. Or figure out what makes it happen.

    Not an issue. Please use issue to report kata problems that you can demonstrate exactly what they are - ie ones you've fully figured out.

  • Custom User Avatar

    My code runs perfectly in my code editor but throws an error in the Wodewar editor. Why? Please help.

  • Custom User Avatar

    Approved

  • Loading more items...