• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
elellle Avatar
Name:Unknown
Clan:Epam Systems
Member Since:Feb 2016
Last Seen:Oct 2017
Profiles:
Following:104
Followers:104
Allies:104
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (21)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • FArekkusu
    • resolved an issue on "Removing Each Second Person from a Circle" kata
    • 4 years ago

    Duplicate issue.

  • Custom User Avatar
    • FArekkusu
    • created an issue for "Removing Each Second Person from a Circle" kata
    • 4 years ago

    No random tests.

  • Custom User Avatar
    • dm.94
    • created an issue for "Removing Each Second Person from a Circle" kata
    • 7 years ago

    Expected and actual results are flipped

  • Custom User Avatar
    • Voile
    • created an issue for "Removing Each Second Person from a Circle" kata
    • 8 years ago

    Example tests still has expected and actual results flipped.

  • Custom User Avatar
    • elellle
    • resolved an issue on "Removing Each Second Person from a Circle" kata
    • 8 years ago

    Swapped them, thanks for noticing this.

  • Custom User Avatar
    • DSchwettmann
    • created an issue for "Removing Each Second Person from a Circle" kata
    • 8 years ago

    The example test is a bad/unhelpful example.
    The actual test (for java) is written incorrectly, you switched up the two sides of the Assert, resulting in "Expected [WRONG], but got [CORRECT]" printouts.

  • Custom User Avatar
    • g964
    • commented on "Removing Each Second Person from a Circle" kata
    • 9 years ago

    Kind of duplicates of http://www.codewars.com/kata/555624b601231dc7a400017a

  • Custom User Avatar
    • elellle
    • resolved an issue on "Removing Each Second Person from a Circle" kata
    • 9 years ago

    thank you for reporting, corrected them.

  • Custom User Avatar
    • smile67
    • created an issue for "Removing Each Second Person from a Circle" kata
    • 9 years ago

    Errors inside example testcases (code) - try to run...

  • Custom User Avatar
    • elellle
    • resolved an issue on "Regexp basics - parsing mana cost" kata
    • 9 years ago

    I realized my mistake, was returning String instead of Hash map. Sorry for bothering you.

  • Custom User Avatar
    • taw
    • commented on "Regexp basics - parsing mana cost" kata
    • 9 years ago

    Javascript test does JSON.strigify for actual and expected, as Javascript doesn't have any native way to test equality of hashes/dictionaries/objects.

    This is going to make error message fairly weird, in a way that ruby/python versions of this kata don't suffer, but they test the same logic, I see a bunch of javascript solutions passing, and I'm not sure there's any reasonable way to make javascript error message more sensible.

    Are you sure your solution is correct?

  • Custom User Avatar
    • elellle
    • created an issue for "Regexp basics - parsing mana cost" kata
    • 9 years ago

    for the Javascript version, I get all the regular tests running okay, i.e:
    Test Passed: Value == {"":2,"r":2}
    however when I try to submit, the same tests are failed, i.e:
    Expected {"
    ":2,"r":2} instead got "{"*":2,"r":2}"
    Could it be something wrong with the way the output is evaluated?

  • Custom User Avatar
    • g964
    • commented on "Phone Directory" kata
    • 9 years ago

    I thank you very much for your help!

  • Custom User Avatar
    • elellle
    • commented on "Phone Directory" kata
    • 9 years ago

    yes, now it's all good: testing(PhoneDir.phone(dr, "1-908-512-2222"), "Phone => 1-908-512-2222, Name => Peter O'Brien, Address => High Street CC-47209");
    It just probably took some time for all of the tests to update.

  • Custom User Avatar
    • g964
    • commented on "Phone Directory" kata
    • 9 years ago

    Maybe it was not updated. I just verified "Your Test Cases" and I can read:

    testing(PhoneDir.phone(dr, "1-908-512-2222"), "Phone => 1-908-512-2222, Name => Peter O'Brien, Address => High Street CC-47209");

    Do you see now the same as I do?

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...