Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
and arguably one of the most poetic kata:
There was a bug in a reference solution. It should be fixed now. Can you check and verify?
I'm getting the same problem. I think the checker for the random values is wrong.
Because that's the minus first octave
Are you sure these are not two separate inputs, from separate tests?
Are you sure that you return a sorted list even if you have to return the whole men list (when all are ugly)?
Thank you! Sorry for misunderstanding!
Having the same issue. Only the two random tests fail, which appear after you passed all the declared tests.
Moreover, these extra tests do not even provide their testing input, only the expected result.
Quite frustrating.
It wasn't an issue with his code. The reference solution, which was called after the user solution, was modifying ( reversing ) its inputs.
Very, very sloppy kata design. Now fixed ( see above ).
Next time you decide to use global variables, make sure that you actually know how to use them correctly.
Post your code in a comment with a spoiler tag, otherwise nobody can help you.
Please see if this paragraph contains anything helpful: https://docs.codewars.com/training/troubleshooting#works-but-no
I just finished the JS version without issue and my sorting is correct. I'm going to resolve this issue and conclude that it's very likely an issue with your code @EKrionasLamprou
At the time of raising an issue, you should provide clear examples of what you think are failed tests, with at least inputs, outputs and logs. Without this it's impossible to do anything.