• 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
josdem Avatar
Name:Jose Morales
Clan:Domino's Pizza LLC
Member Since:Apr 2021
Last Seen:May 2023
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (12)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • ejini战神
    • commented on ""Bit Counting" Kotlin Translation"
    • 4 months ago

    Rejected:

    • No sample tests

    • No random tests

    • Method within a class is not required , a function declaration should suffice

    • Outdated version (should upgrade to Kotlin 1.9)

    Kindly read the translating guidelines before publishing more translations ^^

  • Custom User Avatar
    • ejini战神
    • commented on ""Credit Card Mask" Kotlin Translation"
    • 7 months ago
    • Resolved description MC

    • Scrutinized tests

    • Added useful assertion messages

    • Removed reference solution and modified to be differed from OP's solution

    • Updated to Kotlin 1.9

    • Added annotations

    • Modified random test generation to follow Crystal version

  • Custom User Avatar
    • FranzMartyn
    • commented on ""Sort the odd" Groovy Translation"
    • 8 months ago

    I did use a slightly modified version of your solution before, but now I use yours on the Random Tests.

  • Custom User Avatar
    • B1ts
    • commented on ""Sort the odd" Groovy Translation"
    • 8 months ago

    Any update to this? If you want, you can check my solution on kata's discourse section to see how to avoid having to deal with modulo issues.

  • Custom User Avatar
    • B1ts
    • commented on ""Sort the odd" Groovy Translation"
    • 8 months ago

    It's still incorrect. You're still mixing and matching % and mod.

    array = 
    [21, -2, 4, -42, -5, 41, 23, 3, 19, 19, -4, -29, -17, -1, 42, 50, -28, 33, -48, -22, 33, 44, 11, 31, -17, 11] ==> 
    expected: <
    [3, -2, 4, -42, -5, 11, 11, 19, 19, 21, -4, -29, -17, -1, 42, 50, -28, 23, -48, -22, 31, 44, 33, 33, -17, 41]>
    but was: <
    [-29, -2, 4, -42, -17, -17, -5, -1, 3, 11, -4, 11, 19, 19, 42, 50, -28, 21, -48, -22, 23, 44, 31, 33, 33, 41]>
    
  • Custom User Avatar
    • ejini战神
    • commented on ""Credit Card Mask" Groovy Translation"
    • 8 months ago

    Rejected due to:

    • No sample tests

    • No random tests

    • Description being language-specific

    • Initial solution setup is missing return type

    • The framework for writing custom tests is to use JUnit's assertions

  • Custom User Avatar
    • FranzMartyn
    • commented on ""Sort the odd" Groovy Translation"
    • 8 months ago

    Missed that. Fixed ✅

  • Custom User Avatar
    • ejini战神
    • commented on ""Sort the odd" Groovy Translation"
    • 8 months ago

    Array length should be randomized and not fixed to 30

  • Custom User Avatar
    • amasotti
    • commented on ""Find the odd int" Kotlin Translation"
    • 2 years ago

    I've tried to make the good proposal by josdem a little bit more Kotlin idiomatic and added a generator for testCases, so that we can check solutions against 200 randomly generated list of integers

  • Custom User Avatar
    • ejini战神
    • commented on ""Create Phone Number" Kotlin Translation"
    • 2 years ago

    Rejected due to

    • No sample tests

    • No random tests

    • Only 1 test

    • Description MC

    • return "" instead of return array.toString() ???

    • OP seems to be experimenting this translation as kumite rather than attempting to translate

  • Custom User Avatar
    • Madjosz
    • commented on ""Credit Card Mask" Kotlin Translation"
    • 3 years ago
    • No random tests in Test cases
    • No Sample Test Cases
  • Custom User Avatar
    • oliverboehme
    • commented on ""Array.diff" Kotlin Translation"
    • 3 years ago

    Good translation :)

    I think there need to be more test cases though; and also the sample test cases need to be adapted.

  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...