• 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
swellep Avatar
Name:Unknown
Clan:Unknown
Member Since:Dec 2016
Last Seen:Apr 2021
Profiles:
Following:0
Followers:1
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (21)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • willfowls
    • commented on "Beats by Dr. Dre" kata
    • 4 years ago

    i don't understand what's being asked of me

  • Custom User Avatar
    • anter69
    • resolved an issue on "Beats by Dr. Dre" kata
    • 6 years ago

    Fixed sample tests and updated description in all languages. Though it's still kind of low quality and pretty much a duplicate...

  • Custom User Avatar
    • anter69
    • resolved an issue on "Beats by Dr. Dre" kata
    • 6 years ago

    mostly fixed

  • Custom User Avatar
    • anter69
    • created an issue for "Beats by Dr. Dre" kata
    • 6 years ago
    • it's not specified anywhere, that you have to return a hash (ruby)
    • no examples in the description
    • plus all the below issues
  • Custom User Avatar
    • cliffstamp
    • resolved an issue on "Bill Gates' Percentage Calculator" kata
    • 7 years ago

    This should be fixed.

  • Custom User Avatar
    • Javatlacati
    • commented on "Beats by Dr. Dre" kata
    • 7 years ago

    assuming the user reads the unit tests or knows how to read them...

  • Custom User Avatar
    • Len512
    • created a question for "Bill Gates' Percentage Calculator" kata
    • 7 years ago

    What's the desired precision in JS?

  • Custom User Avatar
    • JohanWiltink
    • commented on "Bill Gates' Percentage Calculator" kata
    • 7 years ago

    Actually, just use Test.assertApproxEquals over Number ( and check return value type separately ).

    Rounding is not the correct answer to floating point inaccuracy.

  • Custom User Avatar
    • dcsmith
    • resolved an issue on "Beats by Dr. Dre" kata
    • 8 years ago

    Not really an issue if it's just your preference... You can always delete the comments yourself -- they're not necessary for a valid solution.

  • Custom User Avatar
    • zardoxnet
    • created an issue for "Beats by Dr. Dre" kata
    • 9 years ago

    I prefer that there are no comments within the function to be worked on

  • Custom User Avatar
    • Dentzil
    • resolved an issue on "Beats by Dr. Dre" kata
    • 9 years ago

    Hi codeepic,

    fixed.

  • Custom User Avatar
    • Dentzil
    • resolved an issue on "Beats by Dr. Dre" kata
    • 9 years ago

    Hi dnepro,

    fixed.

  • Custom User Avatar
    • Dentzil
    • resolved an issue on "Beats by Dr. Dre" kata
    • 9 years ago

    Hi nbeck,

    fixed.

  • Custom User Avatar
    • Dentzil
    • resolved an issue on "Beats by Dr. Dre" kata
    • 9 years ago

    Hi JohanWiltink,

    fixed.

  • Custom User Avatar
    • donaldsebleung
    • commented on "Bill Gates' Percentage Calculator" kata
    • 9 years ago

    I second that. @swellep good job with the random tests but your test cases should allow for floating point errors in JavaScript. Usually this can be done using Test.expect() with a specified error range but since this Kata requires the user to return a string you should probably ask the user to round the result to a number of decimal places before using it in the return string.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...