Ad
  • Custom User Avatar

    Apologies for necro. Just cleaning up my kata's issue list. You probably already know this at this point, but the issue button is for issues with the kata itself. It is not used for issues with your code.

  • Custom User Avatar

    I think it is important to let people know that it also has to be above 0. Either way, I do not consider this an issue.

  • Custom User Avatar

    Not an issue

  • Custom User Avatar

    This has been resolved.

  • Custom User Avatar

    This has been resolved.

  • Custom User Avatar

    I meant to respond to this. Sorry about that. I lowered the test cases for now. It seems like something in the random case generator is causing major slow down (It used to be fine). I lowered the amount of test cases to 25 for now, until I have time to figure out what is causing the slow down.

  • Custom User Avatar

    Approved. Thank you!

  • Custom User Avatar

    You are right. I have deleted the empty string from the erlang tests.

  • Custom User Avatar

    Looks good! Thanks!

  • Custom User Avatar

    The Ruby issue should hopefully be resolved. I don't use Ruby so it is possible that I didn't do something right, but from what I can tell it works. I just did s1 = s.dup and I send one variable to the user, and one to the random tests. If you find any other issues with mutable strings, or if I messed something up in my fix, let me know!

  • Custom User Avatar

    Oh nice! I was not paying attention then! I'll take a look and get it fixed.

  • Custom User Avatar

    Yep! Unfortunately this kata has been here for so long that I'm not allowed to edit the actual problems anymore. So in this kata, you'll have to duplicate the input string before you do anything to the input string.

  • Custom User Avatar

    Ya, it looks like you are removing the correct answer from the string itself. I recommend duplicating the input string before you begin to modify it, that way the input stays the same.

  • Custom User Avatar

    Appreciate your help Chrono. I've changed the description, and it looks correct now.

  • Custom User Avatar

    So I have changed the description back to the old one for now. I tried to use the coditional operator, but something funny is going on with the bf condition. Here is that section of the description:

    \`\`\`csharp
    Kata.getMiddle("test") should return "es"
    
    Kata.getMiddle("testing") should return "t"
    
    Kata.getMiddle("middle") should return "dd"
    
    Kata.getMiddle("A") should return "A"
    
    \`\`\`
    \`\`\`bf
    runBF("test\0") should return "es"
    
    runBF("testing\0") should return "t"
    
    runBF("middle\0") should return "dd"
    
    runBF("A\0") should return "A"
    
    \`\`\`
    

    So basically that means that everything should take the top version except for BF which would take the bottom (codewars defaults to the first codeblock when there is no condition that fits the language). However, when you go and look at the BF training, that section is just invisible instead of showing the correct examples. Any ideas why that is?

  • Loading more items...