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.
This is how the short tests appear for me:
And yes, now it works like a charm on my side, too!
Do you remember if the short tests looked something like this?
I suspect what you saw was the sample tests from an older Ruby fork, which may not have refreshed after a fork update, if you have previously accessed the trainer.
I see that you have submitted a working solution, so the tests should be updated now (as shown by hobovsky).
Can you try running your solution again on the short tests to see if it works now?
I tried and still, cannot reproduce. Currently, the sample tests I see look like this:
If they look any different to you, hit RESET (back up your solution first!) and see if they get restored to the form above.
Yes, there are 2 sample tests IIRR. And as soon as you pass those the error message appears that I posted. Just try it out yourself and you will understand what I mean.
are you sure ? I can see sample tests just fine in Ruby. perhaps save your code somewhere and hit
RESET
? you may have deleted them by mistake, or there was a glitch due to a recent fork (i see one Ruby fork approved 8 days ago that upgraded to Ruby 3.0)Issue with the Ruby short tests:
Time: 994ms Exit Code: 1
Test Results:
Log
No examples found.
Simply rely on the JS's builtin lexicographic comparison of strings, where uppercase are considered less than lowercase. But you're right that the description could make this explicit.
if we need to sort the channels in an alphabetical order, than we do not need sort it bind ASCII, but bind to alphabetical
Than Error message is wrong:
Expected: { '0': 'BBC Sport',
'1': 'BBC1',
'2': 'CNBC',
'3': 'Channel 4',
'4': 'Discovery',
'5': 'Drama',
'6': 'Film 4',
'7': 'Film 5',
'8': 'Food Network',
'9': 'National Geographic',
'10': 'Sky Sport',
'11': 'SyFy' }, instead got: { '0': 'BBC Sport',
'1': 'BBC1',
'2': 'Channel 4',
'3': 'CNBC',
'4': 'Discovery',
'5': 'Drama',
'6': 'Film 4',
'7': 'Film 5',
'8': 'Food Network',
'9': 'National Geographic',
'10': 'Sky Sport',
'11': 'SyFy' }
Because, char 'h' have to stay first before char 'N' in an alphabetical order
Java Translation kumited. Please check out, thank you! :)
Fix
Julia sample tests:
'5'
should be"5"
Approved
Node.js needs an update.. It's still using version 8..
Approved
Loading more items...