Ad
  • Custom User Avatar

    CofeeScript Translation Kumited! Please accept :d

  • Custom User Avatar

    didn't work on the following argument array: 4ic6j - Expected: '3pen', instead got: 'invalid word'
    didn't work on the following argument array: 4ty439 - Expected: '2ante-pen', instead got: 'invalid word'
    ---
    Sometimes I can catch the above error in random tests. The original solution seems to treat such cases wrong.

  • Custom User Avatar
    • Random tests make no sense in this kata, there are only 8 scale degrees anyway.
    • Actually, the entire kata does not make sense. Each octave contains the key G twice? Or does each octave start on a different degree?
  • Custom User Avatar

    You can pass some tests if you provide array with decimal codes od letters.

  • Custom User Avatar
    • Node 18. should be enabled (Refer this and this for more info)
  • Custom User Avatar

    Description should define what is supposed to be considered a syllab here (syllabification in English is far from being a trivial question in general, and this is supposed to be a programming challenge, not a linguistics exam; I guess the kata only tests obvious cases, but anyhow something is missing).

  • Custom User Avatar

    Random tests (in JavaScript at least) use too limited a range of inputs; a hardcoded solution can be easily derived.

  • Custom User Avatar

    I admit this was my own misinterpretation of the question, but it can be a tad confusing.

    When I first saw "even characters", I thought it meant the "even characters" - i.e. 'a' is not even because its value in ascii is 97, but 'b' is because its ascii value is 98. This approach works on the test cases but fails on almost all other random tests.

    I would suggest changing the descrition to say "even indexed characters" or something like that, though perhaps thats too descriptive.

  • Custom User Avatar
  • Custom User Avatar
  • Custom User Avatar

    Maybe include a Test for n=3.166312747397789. I've seen a solution which would output 8 as result.

  • Custom User Avatar

    The example tests needs serious improvement:

    • Why are two assertNotSimilar tests thrown at the end using 'shouldn't expect this' value of the other kind? It causes nothing but confusion.
    • Example tests didn't demonstrate the round off aliasing behaviour either.
  • Custom User Avatar

    Try adding a test case with (b,a). Also, is a y a vowel in French?

  • Custom User Avatar

    Apparently you meant the Roman alphabet with 26 letters instead of 23. This is unclear.

  • Custom User Avatar

    coffee translation added

  • Loading more items...