• Sign Up
  • Kata
  • Kumite
  • Blog
  • Forum
  • Wiki
  • Leaders
  • Log In
  • Sign Up
Name:Unknown
Clan:None
Member Since:Oct 2017
Last Seen:Nov 2020
Profiles:
    Following:536
    Followers:535
    Allies:534
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (11)
    • Replies
    • Authored
    • Needs Resolution
      • Jacksonthefish
      • commented on "change words into numbers" kata

      I added an idea with uppercase and lowercase letters. Thanks!

      • Jacksonthefish
      • commented on "change words into numbers" kata

      Thanks for this comment! I will add the information to the description

      • ironmangamern
      • created an issue for "change words into numbers" kata

      The description doesn't say you can ignore casing. Most of the answers assume "Zero", "FOUR", or "tWo" don't exist.

      It'd be nice if the problem said you only recieve lowercase letters. Maybe it can be an extra level of difficulty too. :)

      • FArekkusu
      • created an issue for "change words into numbers" kata

      The task at its code is "replace a list of substrings with their corresponing substrings", so the idea is not novel at all.

      • Jacksonthefish
      • commented on "change words into numbers" kata

      Digits. I will add a range

      • Voile
      • created an issue for "change words into numbers" kata

      The specs does not mention what is the set of things that should be replaced: what about eleven? hundred?

      • Jacksonthefish
      • commented on "change words into numbers" kata

      of course you are right that they are related but they are from level 4 and 5. My kata is the fundamental operations on the lists and dictionary. I will correct it and publish again. Thanks for your comment!

      • Blind4Basics
      • commented on "change words into numbers" kata

      I can at least think about 2 of those, which are strongly related (the first add some other things to do) and go way further into the task (not only digits)

      • https://www.codewars.com/kata/sort-one-three-two
      • https://www.codewars.com/kata/parseint-reloaded
      • FArekkusu
      • commented on "change words into numbers" kata

      I did not find same kata

      The kata doesn't have to be identical to be considered a duplicate. I'm fine with converting word to number it represents, but there're already enough katas about "replacing each X with corresponding Y".

      • Jacksonthefish
      • commented on "change words into numbers" kata

      Hi,
      Thank you very much for your comment! This is my first published kata. (I have to learn a lot :))

      Regarding your comments:

      1. Of course I forgot in the tests that a whitespace is added at the end of the text - I will correct it
      2. if you consider it necessary, I will add permanent tests
      3. I will increase the number of random tests
      4. This is only about digits but I can add info about "range"
      5. I could not confirm that it is a duplicate because I did not find same kata - if you can please send me a url to this kata.
      • Blind4Basics
      • created an issue for "change words into numbers" kata

      Hi,

      lots of problems here... :/

      • your internal algo is bad: you send strings with trailing whitespaces, but expect them to be removed in the output while it's not specified (don't use split...)
      • no fixed tests...
      • ... but not enough tests too
      • range of the numbers to handle is unspecified (edit: I guess that "digits" could be enough there, yes...)
      • duplicate of other "words -> numbers" kata we already have.

      Imo, you should just unpulbish this one. ;)

    • © 2021 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Contact
    • powered by

    Confirm

    • Cancel
    • Confirm