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.
ok, took a look at someone else's thread below and discovered it's a newline issue.
This is a rank 7 kata. Lots of folks are gonna come across this who are just learning to code. You're setting a ton of people up for failure here with this trick.
I can take being a dummy for a sec, I've been coding for a while. But for other folks, highly recommend adding a line at the end of this description like "hint: consider newlines" or better yet, just adding a case to the visible tests that includes several newlines at the end.
Similar issue to others. "Expected: false, instead got: true" for "567890".
If this case should return false, the description is broken, because full conditions are not explained.
This test case is exactly six digits, and contains only numbers -- per the description, 'true' should be the answer.
My understanding is that it used to be open source but isn't anymore, although there is a GitHub repo for tracking issues and ideas.
I will try to suggest these options in their discord. Isn't codewars open-source? We can make a request there as well
@groskowski Yes, an algorithm to identify outlier katas would be very helpful! Here's one possible way such a system could be implemented on Codewars:
That might be a reasonable place to start. Other variations are possible as well. There could also be "masters of dojo" for particular tags in a range of kyus, for example, like a "master of dojo, performance, 6-7kyu".
@textninja - That is completely true. Maybe after the kata is approved they could have a dynamic ranking system that would adjust the rank based on total hours spent by all the users divided by completion count. This could even be weighted by the rank of the person who attempted to complete. If a 1kyu is spending 3 hours in a 6kyu kata, something should be wrong. Obviously it would require a lot of fine tuning and implementing a system to check if the user is actively working on the kata and estimate the amount of time spent would be a challenge.
A weakness I'll note about assigning a rank based on the average of its votes is that the only people who can give a rating are people who have actually solved the kata, and for some people the key insight comes quicker than others; those who are used to easier kata are apt to give up in the face of the unknown. There is a signal in the number of attempts versus the number of completions but I think this is seldom used.
I wonder if having specially designated ranking experts and gatekeepers for new katas of a particular level would be something worth implementing? The way I'm picturing it, rankings can be "sealed" or "unsealed", and a person can be designated a ranking expert on, say, 7kyus (only one level per person, but multiple people per level). Such people are given authority to seal whatever ranking was selected by the approver - that is, they give the ranking a final stamp of approval. That way, when ranking controversy occurs - which often happens AFTER a kata exits Beta and has been assigned a rank - there would be opportunity to adjust.
Good point. I've added the tags and moved up the problem section
Good points. I think we should at least add the
performance
tag to this (and #2, #3) kata.Very cool kata, glad it on here -- haven't finished yet, but wanted to suggest for teaching purposes:
Could add a clear note at the top that this is more about math & performance-thinking than about coding-as-language. Agree with another comment that 7kyu rating is steep. I understand that the mathiness/algorithm-generating nature of the problem is communicated through the last line "Your solution has to support 0≤n≤10^60 Brute-forcing will not work!" but since it's the very last line on the pg, I'd guess a lot of ppl miss/skip over it until they've already started, or might not understand at the 7kyu level what "brute-forcing will not work" means.