Ad
  • Default User Avatar

    The special characters and the double space kept me busy longer than excpected...
    Thanks for the kata.

  • Default User Avatar

    Nice kata. This algorithm was one of the tasks from my own "Must Do"-list. I wanted to solve it just for my own satisfaction. Now I could even earn points and honor. Thank you!

    I was also suprised by your 3rd test case. But I am ok with your argumentation. Does it matter if it's the first repeating single letter in the string or the last one? In the test case there is only one repeating single letter. so it doesn't really matter... but may be that is sth you should consider when creating more test cases or even randomized tests!

    ...just realized that the postings are 2 years old...so, no need to read my second paragraph...

  • Default User Avatar

    Thank you very much!

  • Default User Avatar

    I like the idea of your kata.
    It is a nice game. But I would propose level kyu 6. Or is it just me....well. That's not really the point here.

    I have some criticism. I had the alghorithm pretty quick. With the example I could see exactly what you wanted. But, please, you need to write how you expect your results. I've spent so much more time guessing what the output should look like than solving the algorithm. That's a bit frustrating. Especially when you write that you remove the tailed newline but it is still there, isn't it?

  • Default User Avatar

    I really wanted to go with this sort of black list or uninvited list thing...

    well. I took your advice. Hope, that most of the solutions are still working. Sorry again.
    Learned a lot, anyway. For me this testing issue was like solving a kata...where are my points and honor... ;)

    And besides that. Very friendly user base here.

  • Default User Avatar

    thanks for your time and patience. again.

    in the beginning I got a much bigger list of uninvited characters. It worked fine on my system.
    But on cw I got an UnicodeEncodeError for some of the characters (including ´` among others) So I didn't know what to do and popped this bad chars out of the uninvited list.
    So the "incoherence" was getting bigger and bigger. I think I should rephrase the task by only uninvite the chars from the given list...but then more solutions get wrong...I guess I screwed up on this one!
    And this should be the simplest kata...0-o
    My intention was to create a collection of katas. The next one should be a function where I eliminate the problem of "incoherence" by having 2 outputs simultaniously. one where chars are from the list are replaced, and one where only the chars in the list are returned...so there is no positive or negative approach (excluding one set and including the other set...)

  • Default User Avatar

    aaah...was away from keyboard a while. Another noob mistake... :/
    I now wrote sth similar to what I've found in the other kata's test cases.
    Hope this is correct.

  • Default User Avatar

    What's a cw error?

  • Default User Avatar

    Thanks for your answer. Sorry. Noob mistake. Wasn't sure at all how testing works.
    Actually I was lucky to pass the testing...

    "Show Kata Test Cases" never seen it before. But very interesting.

    I'll have a look at it!
    Thanks for your advice!

  • Default User Avatar

    Thanks for your answer.
    By copying I basically meant translation. Now I know what translation means...
    Should have read the wiki first before asking stupid questions.

    Maybe when I get good enough at coding I'll have a look into translations.

    Meanwhile I try to work out the Range Extraction!

  • Default User Avatar

    Thank you very much for this very interesting Kata!
    After 2 days of coding (yes I AM a beginner) I got tons of code lines and I guess a working solution ... but in Python.
    I didn't pay attention to the given languages ... o.0
    Is it possible to add Python to this Kata?
    I'd really like to test my code. And I'd love to see the solutions....probably one-liners again... lol

    Just out of curiosity:
    What does it take to create my own Kata or rather this Kata in Python? Do I have to write the Test Code?
    Is it allowed to "copy" Katas? Or is it bad manners?

    Cheers
    Gastüv