Kata Beta Process
About
Discuss the kata approval and beta process here.
Discuss:
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Translation missing: en.models.comment.label_info.forum_topic.none
-
No Label
- Cancel
Please sign in or sign up to leave a comment.
I hope it will surpass what we are using now in no time
Ability to reset progress
Hi, how long can a created kata be in beta testing? I have created a kata that has been in beta testing for about a month now.
There is no limit.
Can someone explain "The Supermarket Queue" kata .... thanks in advance
Your question is totally unrelated to this topic, go ask (or read previous posts, it's been explained before) in that kata's Discourse.
sorry for the inconvenience. i will go check it out there.
Hi guys, I am the new one here. The question is: I solved the first kata, have been tested the solution and everything goes correct, but when i am trying to Attempt the solution, it shows a fail. Someone faced with such problem and how to fixed it? thanks a lot
Maybe revise your code once... there may be chance that your code is failed to satisfy the testcases on Attempt!
This usually means that your solution is not correct and fails some detailed tests. Read this paragraph of FAQ for some ideas: https://docs.codewars.com/training/troubleshooting/#test-attempt
You can also ask for help on
#help-solve
channel of Codewars Discord.Thank you for trying to help me. Found the solution. It was a problem with testing samples. I deleted them and was trying to create something from my own. Now everything is OK, passed the assignment
Hello!
I made a translation of the kata: "Sum The Strings" (https://www.codewars.com/kumite/60bb6344b3a07c000d4215ff?sel=60bb6344b3a07c000d4215ff) into swift.
Can anyone accept the transfer?
The translation is approved
Hello!
Does anyone know how to do random tests on a swif?
Check out swift katas: For instance: https://www.codewars.com/kata/5e4d8a53b499e20016b018a0/swift
Tanks
Hi,
Where is the best/correct place for the reference solution when writing random tests in C? As I recall from writing tests in python you were supposed to place the reference solution within the test function to prevent users from abusing the reference solution, but I guess you cannot do this in C.
If I publish a kata, but then it gets removed, do I lose my honor points?
poop
What's the process of creating a kata? once I finish the test cases should I publish the kata?
I'm asking bc but some reason my last kata was removed. This one took me a long time so I want to ensure It isn't a waste of time
"removed"? Do you mean "Retired" or "Draft"?
Yeah, just make sure everything is all right, and you can read this
Yeah it was retired not removed. So once the kata is published it's on the beta right?
Sorry. Can anyone please help me? I created two kata, but why are they "Retired" status? Do I have to wait or do I have to do something?
When kata has enough low satisfaction rating ( user give rate their satisfaction after solving any kata), then it gets retired.
No, you don't have to wait. BUT you need to consider the feedback given to your katas (as some of them (like naming conventions) are quite general).
You might want to read:
Your katas were retired due to auto-retirement system, which takes into consideration the satisfaction rating: https://github.com/codewars/codewars.com/wiki/Kata-Beta-Process
Some of the reasons for getting low satisfaction include inoriginal kata ideas, wrong reference solutions, incoherent description, etc. Typically, users write reasons in kata discource page. You may also want to look here: https://github.com/codewars/codewars.com/wiki/Kata-Best-Practices
Thanks
I have a kata in beta for which, so far, 73 warriors have trained (431 submissions) and only 9 succeeded (not counting my own solution or the 3 who exploited problems with the testing that existed early on) and yet some of the tiny proportion who succeeded believe this is a kyu8 or 7.
So it's difficult enough that most wariors can't figure it out — warriors who don't get to vote on the difficulty — and yet some of the handful who can, feel like it's easy.
Ironically, because it's actually not easy, we can expect to not receive a lot of votes, which will give extra weight to the few lowball votes, skewing the average.
This seems like quite a flaw in the beta process. Wouldn't the attempt/pass ratio be a better truth source in evaluating difficulty than asking people who know the answer to a question if it was hard? Surely all questions are easy to the people who know the answer.
https://www.codewars.com/kata/600db626baa835000dbd9023
Why you think it is 2 kyu?
Here are some example of 2 kyu katas:
Three dots
Assorted Rectangular Pieces Puzzle
Optical Character Recognition
Do you really think that solutions of your kata has complexity anywhere near these?
You're changing the subject. I'm not arguing here that it should be a 2.
I am arguing two things.
It is absurd to suggest this is a 7 or 8, given that so few can solve it
The fact so many can't solve is weighing against its difficulty rating and that is a flaw in the beta process
Nope, I ain't changing the subject(just lookahead of 2-3 steps).
This assumes that there was a intended difficulty rating and with respect to that the deviation is stated.
BTW, I see you solved this kata in C# early on before the testing was fully tweaked to exclude N(log N) solutions. Your solution now fails the volume tests and has since shortly after the kata was posted. I'd agree this is an easy kata if I were accepting N(log N) solutions. The difficulty lies in trying to find a linear-time solution. Very few people have.
(Well, seems you're fleeting with the topic. FYI : I'd solved that after you've fixed but it failed in grouping, check again, my solution is there)
Now, coming to topic: Why your rank estimate is 2 kyu?
Err... no, why you might think this kata is easier than it is is absolutely on topic, since you're questioning my perception of the difficulty level.
However, I can see you have now just posted a new linear time solution, which wouldn't have been hard since you can see the successful solutions.
I can also see your original solution is still there, listed under "invalid solutions" and it's still N(log N) and still has a comment against it from me written last month after the tests were updated:
"This failed after updating the test cases. I am trying to set up the big test to only pass linear-time solutions."
You said: "This assumes that there was a intended difficulty rating and with respect to that the deviation is stated"
No it doesn't. It implies that averages can be skewed by outliers.
I estimated it as 2 kyu because I knew it was a difficult to find a linear-time solution to the problem, but estimated ratings are applied before they're tested, so I figured the proof would be in the pudding, but I don't think that is the case now, due to flaws I have explained.
If I produced a kata that with an actual difficulty level at a particular threshold that was still difficult enough to get high ratings, but easy enough that more people got to rate it, that kata would get a higher difficulty rating than this one.
Average rank is pretty fine: 4 - 5 kyu. Please see the recently published 4 kyus on the site.
Just did, and I found exactly what I'd expect to find if the system was flawed in the way I suggested... a lot of variance in success rates.
KYU 4s: Find the nth Reverse Number (Extreme): 16.43% Longest Path in a Grid: 12% Create the QR-Code: 7.3% Magnet particules in boxes: 24.9% Four Color Theorem (Easy Version): 11.2% Strongly connected components: 16.5% Multiply to n: 8.62% Repetitive Sequence - Easy Version: 7.2% Solving a puzzle by matching four corners: 19.2%
I then did the same for kyu 2 and found the same: Optical character recognition: 3.17% Transforming Maze Solver: 10.4% Ludicrous Coloured Triangles: 14.9% Gerrymander Solver: 9.81% Assorted Rectangular Pieces Puzzle: 8.24% Blaine is a pain: 11.19% Flou--Play game Series #9: 17.2% Insane Coloured Triangles: 20.9% 15x15 Nonogram Solver: 13.49%
your vision of the problem is too much partial (talking about your stats). You're forgetting a lot of things:
All of this is too much of a multifactorial problem to base your reasonning on those stats only.
The system IS flawed, yeah, but what you want to see here isn't what is actually there.
Some good points there and I did attempt to mitigate some of that by looking at the most recently published. But really what you're saying is there is no objective way to compare it and all we have to work with are subjective opinions of how hard something is. Unfortunately, this kata includes opinions that vary from people who believe it's a kyu1 to those who believe it's a kyu8.
I remember you looking at this kata as well and asking questions. You didn't complete it, for whatever reasons, I'm not here to judge, I've looked at lots of kata that I didn't complete. But based on what you saw, do you honestly believe an honest apraisal of this kata is kyu 7 or 8 level?
The whole essense of the difficulty of this kata is the difficulty in finding a linear-time solution. The tiny proportion of people who see that solution quickly will believe it was easy. Most people who find it difficult, will never find a linear-time solution and never vote.
It's difficult in the same sense as - How many are smaller than me II? - except that kata can be solved by applying basic knowledge of data structures that every graduate should have to beat the clock, and that's a kyu3.
Solving my kata requires the warrior to come up with a more bespoke way of detecting the patterns in linear time.
I believe you forget one thing. Your kata is obviously not white, for sure. But if people can underrank, they can overrank too. Meaning those who ranked it 1 maybe do not actaully believe it's 1 and they are just compensating for what they believe is... stupid ranking?
Other than that, yes, the estimation of the difficulty of a kata will always have to deal with opinions, unfortunately.
All in all, what I mean is: yes, I didn't complete it yet (mostly by lack of motivation to dig more), but 4 seems roughly about right to me.
Yes, I have countered the rank to get a more appropriate average. I believe this kata is kyu 2-3. I'm not sure the system can be improved by allowing people that have made several attempts to be able to vote, or to ignore outliers in votes. Perhaps a whole new array of issues might arise from it. But I would never publish such a difficult kata at 4-5.
I cannot tell about the rank, since I didn't do it. 2 kyu seems doubtful, tho. But that's an opinion out of the blue, so far...
The potential to bias the average isn’t equal in both directions.
When the average is 3 and someone changes a 2 to a 1, that has much less of an effect than dropping in an 8.
yes, and same goes the other way around (because, hey, we have... "people" ranking everything 1 kyu too... XD )
Hello I was in the middle of the mummbling practice and than I had a network error and now I cant find it againg
Does kata search page help?
Hi Everyone,
I have started using this platform recently , this week.
I am not sure if this is the right forum to ask this question here.Apologies...in case. Is there a way to save my work in between and continue again?
It closes whatever I have done and shows the next training.
Thanks in-advance.
Your code for every kata is saved in your local browser data every time you press "Test" button.
However I personally prefer working with local IDE, and I would strongly recommend using similar approach.
Thanks a million...for sharing this info and recommendation.
Hey all! Trying to design my first kata, but I think it might not be possible?... It's a riddle kata... you get
n
items, and one of these items is poisoned. It's your job to find the poisoned item,n_?
out ofn
total. (In addition to severe limitations on how many trials you can do to find it, that's the tricky part.) Now, obviously, then_?
item needs to be marked in some way so that when you're experimenting, it can interact with your data objects to give you clues about its identity. But how can I give the kata-goers this variablen_?
in a secret/hidden fashion without them just saying, well let me just print out the given function parametern_?
and return that, instead of truly 'solving it'? Are kata riddles always this hard/impossible to implement when there needs to be some hidden clue you have access to, but not direct access to?...maybe you could make a list of n elements and one could be different--that one would be poisoned(e.g.['a','a','a'....'b']etc.)?
if youre in python
I wanted to create a kata and loved the insert example helped me understand things better, my language is python. I would like to see a kata in its raw form like i want to see example test cases too, the random ones. Or a link to a site where i can learn this or videos anything is appreciated thanks
I would like to begin making katas by translating some existing ones between my skilled languages (C, C++, and C#). I see documentation and tutorials for creating new katas but thought it would be easier to translate some between languages first. Is this a good approach or would it be best to create a new kata before translating an existing one? If translating first is the way to go is there any documentation specific on how to do that? I apologize if the answer is obvious, I have dug around a bit but decided to ask for help so I can start translating katas instead of digging for something alluding me.
Creating a translation for a kata is definitely a good choice before creating a new kata from scratch. It will make you familiar with authoring process, reviews, and maintenance of Codewars content.
Unfortunately, there's no really good documentation on translating kata, but there is something what could be useful:
Thanks - looks a bit intimidating. I will need to a bit of research before taking this on :)
I created a beginner-level kata in Rust about two weeks ago. Since then it's been solved a total of four times, and voted on twice (for a 50% satisfaction level). There's still an outstanding issue, but I think it's been addressed adequately and will soon be resolved.
Anyway, I'm a little bit disappointed in the very slow rate at which the kata is advancing. I've noticed that another kata, also in Rust, has been languishing in beta since June with only three completions and two votes. One of the completions (and the only upvote) is mine: I found it to be a perfectly good beginner-level kata -- clearly explained, good random tests, reasonably interesting for the degree of difficulty. No-one has raised any issues. And yet there are only three completions in eight months, one of which inexplicably downvoted it. This does not give me much hope for my own kata.
Which brings me to my question: is this a common experience? Is it because these kata are just crappy, or is it because Rust is still something of a niche language? Or because people who know Rust are unlikely to be looking for beginner-level kata? Would I be likely to have better luck if I translated it into, say, Python or Java? Or aimed at a more difficult kata in Rust? (I have previously published a 2-kyu Haskell kata that turned out to be reasonably popular).
I'll just add that this is not a complaint in any way -- I'm just looking for some guidance/reassurance/frank advice.
It's a common experience to feel dissatisfied when your kata spends two weeks in beta, but one can get used to that after it stays there six months more. Don't worry.
But no, seriously now: beta reviews are not very popular activity, and beta reviews of unpopular languages are even less popular activity. Easy kata in popular languages get approved quite quickly, if issues are fixed actively by the author. But some kata, even in a good shape, can sit in beta forever. Like, years. Just go to kata search list, filter by beta and sort by oldest. I have quite a few interesting kata which I'd like to out-beta, but them being created in Swift or C++ or C# does not help.
To increase a chance of the kata being approved, you can try following things:
Haskell is kind of a peculiar exception, because Codewars has quite a number of very active and advanced Haskell (and FP/brainf**ky-math-related in general) users. That's why Haskell kata are likely to be reviewed and fixed quite quickly. I would not say the same about Rust, but what's interesting, recently two Rust users became quite active on Gitter. Posting there could help.
You might also want to take a look at this post reporting a flaw in Rust setup and report it on forum if you consider it important. The original finder has not reported it yet.
Thanks for your helpful reply. Maybe I'll try brushing up my Python, then.
For what it's worth, Rust is getting more popular on Codewars. It's currently 10th in the number of requests to test. I can see Codewars having active Rust community similar to Haskell. Rust gets more frequent language updates because it's
my favorite languagebeen painless to update in the past and few users helped when a crate had some breaking changes. I'd like to keep it relatively up-to-date as long as we can keep up with updating the kata.I honestly don't consider the current setup of using the default test profile is flawed. However, feedback is appreciated. The issue tracker for the code runner is at https://github.com/codewars/runner.
Is the difference between Rust debug/release modes something similar to C++'s
-O0
/-O2
? If it is, then it can be challenging to translate many kata to Rust, in particular these with performance requirements. There's a kata which used to have upper bound of a problem set at 50 with C++14 ant no optimizations, and it got increased to 1000 with C++ 17 and-O2
.But if impact on Rust is nothing similar to what C++ experienced, then I should definitely shut up and stop talking about things I have no idea about.
What I meant was that it's a trade-off like anything and not necessarily a flaw by itself.
It's obviously soooo much faster to execute with more optimization, but it also takes longer to compile and that might be significant as well (compile time is included in the time limit and it can require more resources). Haskell had some kata that required the author to adjust with pragmas, which is not possible with Rust yet.
Also, Rust is evolving fast and the compilation speed of the optimized build or the effect of the optimization are not part of the stability guarantee. This means it might make it more difficult to update kata automatically or lead to significant differences between versions. (I'm assuming dev builds will be relatively stable.)
Just to be extra clear, I'm not against the change. We just need to find the right balance after experimenting. I'm all for improving the user experience and enabling more advanced challenges. We can start by few specific examples like the kata you mentioned and experimenting with different profiles to see how it affects everything else.
I obviously don't know everything about all the languages we support, so it's really helpful for users with the knowledge I lack to reach out and provide insights. Even just bringing something up to my attention can help sometimes because I can be missing something obvious. This interaction at least made me look into possible options and found
[profile.dev.package."*"]
that can be used to optimize the dependency independently.I wouldn't want you or anyone to shut up, but this is not the right place to continue discussing.
Opened https://github.com/codewars/runner/issues/101
My first kata was "retired". What it means? I can't fix it and it's gone?
You can't fix it and it's gone
Your kata has been auto-retred because of low satisfaction rating it collected from users trying to solve it. I have not solved it so I do not know exactly what was the problem, but I believe some hints can be found in comments. Additionally, if you want to create a kata and ensure its good quality, you can read following information:
Hi all,
I am creating my first kata and am struggling with the testing part, especially using the decorators and making random cases. I checked the github and codewars docs but not much is said about the that, at least not enough for me. Could someone please help me validate my kata by explaining me the detailed way to have working test cases?
Thanks,
Can you be more precise?
In anycase, you can ask it here: https://gitter.im/Codewars/codewars.com/kata-authoring-help
hi XRFXLP,
thanks for your quick reply. I have completed correctly all parts of the kata except the testing parts.
As I don't master enough the testing framework, I ran into various errors when testing. What makes it difficult among other things is that in my reference_func, I have several functions so I'm lost with the decorators. I also do not understand well the structure of the packages (codewars_test, solution) and how I'm supposed to use these.
The kata is called Pirates and bullions treasure puzzle, can you see it?
Nope, I can't see your kata because you've not published it yet.
There's nothing fancy with decorators, just use them "above"(basically the preceeding line) the functions which you want to run.
Kinda like:
How hard it can be?
.
@xlpy You said you;ve read docs, but I am not sure which ones. Have you seen this tutorial?
I have but still can't manage to push the kata I struglle differentiating my solution func to user's func
could you pls have a look? it's published in beta
thks
Then come to the gitter channel mentioned by @XRFXLP, it should be much easier to explain there.
Hi!
I wanted to delete my old Kata that is in Beta status and un-published after bad feedbacks. But I get
User does not have permission to perform this action
error. I created it, but have no permisssions? Does anybody know what's wrong?A kata can be deleted as long as there's no submitted solution. After at least one user completes it, it's not possible to remove it from the system anymore, neither by the author, nor by a mod.
Thanks for your answer :)
I have a sum_digits function and I want to set it up so the codewars system can input the 3 test number inputs: 10, 99, and -32.
I'm using: number = input(), but I get an EOF error.
When I use: sum_digits(10) sum_digits(99) sum_digits(-32)
It returns all 3 at once and I don't pass the Kata What gives? Not sure what to do?
If I want to approve a Kata, do I have to finish it first? If that is true, without any 6000+ warriors who finish my Beta, the Kata can't be approved? Please advise. Thanks.
I remember someone approved katas without solving them, and it was a very bad thing to do and a lot of those were sent to beta again, because the tests were wrong or the katas being bad, duplicates, etc. So it seems possible, but not advisable. I see you authored 4 katas and they have 3 solutions each, two are already approvable. Note: the harder the kata and fewer solution it has, the harder to get it out of beta. Sometimes you have to get lucky, sometimes, you can ask in this Gitter channel: https://gitter.im/Codewars/codewars.com/kata-authoring-help
Got it. Thank you very much for the prompt reply. I read the wiki page. Looks like the new authors like me need 5 votes or more to meet the threshold. Or the purple ones are OK to go with 3 votes now?
I will try the channel.
For a purple kata authored by you to be approvable, it needs:
I am not sure right now and I will confirm with others, but I think that to approve a kata, you either need "Approve Kata" privilege (6k Honor) and have it solved, or "Edit any kata" privilege (10k Honor). It did happen that kata got approved without being solved, mostly because of griefers, and it required some work to clean it up. So, not recommended :)
Thank you sir. I appreciate you guys always respond in no time.
I just got 6K honor, and search some Kata to try my new privilege LOL. I got a target below. The author seems published less than 10 Katas, so he needs 5 vote to make the kata approvable. Now it has 4 satisfaction votes and 3 rank votes. The 5 votes refer to rank vote, or satisfaction vote? If it's the 5 rank votes required, that means even I finish the kata, it's still not approvable. Or if it's the 5 satisfaction votes required, I can try to finish it and approve it :) (BTW, this is a hard one, wish I can get it done...)
Please advise. Thanks a lot.
https://www.codewars.com/kata/58b617f15705ae68cc0000a9
I jsut confirmed and it turns out it's... not that simple :) Algorithm is somewhat complex and not trivial to explain. I can explain it to you on Gitter where it will be easier to chat, or you can wait until I put a proper explanation into docs (it's not there right now, and it may take me a while until I get it there :( ).
I'm about to publish my first kata, but I'd like to restrict the usage of certain operators & statements. How do I do this?
It's very difficult, and in many languages not really possible to be done reliably. Kata which attempt such restrictions usually end up being very poor at enforcing them. The best approach is to avoid such requirements. There is no good, reliable way to test against them.
I'm trying to make a Java Kata and I would like to prevent the use of capital letters. Is there any way to do this? I got everything else working just that dosen't. Thanks in advance
Hello! I didn't understand your point very well, but think I have a main idea of what you are referring to. You are trying to avoid the user writing code in capitals leters? I don't get it, actually.
Yes I want to prevent the user from using capital letters for example usind: String s=""; will return an error because the word 'String' starts with a big S.
(I don't know if this is even possible)
can someone pls explain how the 'attempt' section works?
Attempt button takes test data from "sample test" puts test data into your code and compare it with expected results. Test Data and expected results are in "Sample Test". If your code provides all results as expected results then you would see "Submitt" button. When you push it your code will go through series of tests, heavy tests which would verify lots of other random input and bad input, critical input etc. Full series must be finished within 16 seconds. If your code would be to slow you will get an error message "Time out"
best regards Michal
Errr, no. Sample tests is a section where you can write your own tests, normally a few tests are shown there by default and you can add your own if needed. Attempt has (also normally) the tests of sample tests plus more tests, some of them with input randomly generated so you can't hardcode your answers. You test your code against the tests in sample tests with
Test
button, and the full test suite (again, sample tests aren't tested here unless they're also written in the full test suite) withAttempt
button. If you pass the full test suite, that button changes toSubmit
and you can submit the final version of your code.I will have to go with @michal-szulc on this one. However I do think you have a valid point as well @Chrono79.
I have seen a few 'mystery function' katas before, and noticed that when I searched the 'Mystery' key word, there weren't many katas that appeared. So I was wondering, if I were to make a mystery function kata, would it be considered a duplicate, even if the mystery function does something completely different?
These tend to have the tag "puzzle"
I'd say go for it. You're unlikely to have a duplicate unless you choose some really simple "mystery" like xor.
Thanks for the reply!
Alright, I do have a question now. When I edit a new Kata, anyway to test the samples test cases? In the translation page, I can switch between the test code and samples test code, and test both. However, in the New Kata page, the Validation key seems only run the full test. Please advise. Thanks a lot.
If you click on the 'Preview' button in the top right corner of the editor, you will be able to test the kata, including the example test cases. Hopefully that helps
Thank you very much!
I am trying to create a new kata in python, and everything is going well, except when I try to create random tests, something goes wrong.
I have two functions, one in the complete solution tab, and the other within the test cases tab. They contain the same code, but have different names, so they don't overwrite each other. I am using the code below to do random tests, but for some reason when do, the two functions output different things.
The fixed tests work completely fine with the very same code for the function
sort_last_char()
.How do I fix this?
are you mutating input?
No, I belive the input remains the same throughout the code.
To try find the error, I tried changing the 7th line of the code block above to the following:
This means that all random tests should be correct no matter what, since it is comparing the user's code to itself.
But for some reason, it showed up as incorrect.
Then you need to check why calling the same function twice on identical input (you said it's not mutated by the first call, right?) returns different results.
use this:
result = sort_last_char_correct(input[:])
(and I bet you actually mutate the input array, as suggested above ;p )edit: I'm supposing your input is a 1D-array, like
[0,1,3,85,1,0,...]
. If it's a 2D-array, use...([ r[:] for r in input ])
edit²: other possibility: if you have a default argument targeting a list, a dict or a set, you'll have the same kind of troubles. Don't ever use a mutable defautl argument in python (unless you know exactly why you use it and how to use it)
Thank you so much, it is now working! :)
@Blind4Basics, you're probably right, I probably did mutate input without realising
Also, could you please explain how
result = sort_last_char_correct(input[:])
works? I would love to know for future katas that I might make.lst[:]
is doing a shallow copy oflst
. Try this:some_list[:]
takes a slice of the list between its beginning and its end, effectively cloning the list. It's kinda abuse of the notation though, if I were to clone the list, I would just go withlist.copy( )
, I think.Thank you for clarifying :)
thought so!
Fixed last issue in kata, would really appreciate more feedback to get it out of Beta: https://www.codewars.com/kata/5d4bed7c7a528071756060d8
Does a combination of two katas count as a duplicate, and can it be raised as an issue?
Question: Why can someone be against duplicates?
My kata recently got retired because of constant issues raised. When the last one was raised, the site automatically retired. The thing was, when the issue the user had raised was 'Wrong solution can easily pass tests', and he provided a link to the code, but when I tried the code myself, it didn't pass all the tests. But by then it was too late. Also please don't get me wrong, I am not complaining about the user.
link to the discussion https://www.codewars.com/kata/5f50bad4126334001af163bd/discuss#label-issue
Can I republish a copy of the kata (with bugs fixed)?
If not, what can I do about the kata?
This was one of my first kata ever, and I have worked really hard on it. I also don't want my idea to go to waste.
If you think you've fixed all the problems, try republishing a copy.
Thanks! : )
my kata is "Retired". What does it mean??? How can I fix this?
hi,
you cannot do anything to it anymore.
I took a quick look at your kata: the task wasn't properly described and it's actually too close to other kata we already have in the database so it would be sort of a duplicate anyway (hence, it's not a good idea to republish it).
if you're interested in creating kata, please read those docs:
cheers
good to know. new here and stil figuring stuff out
Can a relatively recent retired kata (previously in Beta) become active again for testing/feedback?
Afaik retirement is final.
Thanks for confirming.
I've just created my first kata but when I published it, an error appeared saying my solution didn't work on the example test cases. however when I moved the example test cases into the real test cases they passed just fine. I clicked re publish and the same thing happened. I then left to check my profile and now there's no sign of my kata anywhere. Has it just disappeared forever or is do I just not know how to find it.
https://www.codewars.com/users/fireguy187/authored isn't it there as a draft? If I'm not wrong, you have to save it before Publish is available.
Nope, it isn't there. I didn't click save but the publish button had already appeared
How to test length of the answer codes? I checked several one line challenges but did not see any code length detecting in their test codes showed. I am writing a Kata and want a limit on code length to avoid hardcoding results. Please advise. Thanks a lot.
Submitted solution is always available at
/workspace/solution.txt
. Read the file, check its length, done.Thank you very much. It works. Can I have one more question? How to group tests? For example if the code failed the first set of basic tests, the 2nd or 3rd sets of tests won't start.
This depends on specific testing framework, and is language specific. You'd have to check documentation of the language (https://github.com/codewars/codewars.com/wiki/Languages-and-Test-Frameworks) and then use such feature of its testing framework, if available. I would not bother though, because, AFAIK, not many of them support the behavior you described.
Thanks a lot. I will take a look.
How do I make my beta kata popular? I estimated it 5 kyu, it would probably take half an hour to solve, and yet no-one solved it.
If possible, try adding translations to more popular languages, C++ isn't so popular imho.
what i have observed is that: If i solve katas which are in the beta stage, i get the applicable honor, but it doesn't show up on the "rank progress"(Rank breakdown). Does it show up, once the kata gets approved?
Yes. When kata gets accepted, you get all remaining reward you did not get when it was in beta, both rank and honor.
Ok, Thanks! ;)
Is it considered bad behavior to edit a kata to add a new language when the author seems to be inactive and therefore can't approve my translation ?
Yes, for a couple of reasons. You sohuld add translation even if author is inactive, it can be approved by power users too. But if kata does not allow contributors, then editing it directly can be the only option. But remember that as soon as you enter kata editor, you will never get any points from this kata anymore.
I supposed so, thanks for your reply
?! I thought Allow Contributors didn't affect translation approval?
actually it made me wonder too. it would mean that old katas whose author is long gone and opted out 'allow contributors' could only be translated by 10,000 + honor power users directly editing the kata ?
na, I don't think so. Never go through the edit panel to create another language version. The restriction on the allow contributors could apply on the 'kind' of PU able to approve the translation, mayben yes (not even sure), but that option has no impact on the doability of the translation itself.
Hey! I'd like to write little series of katas about poker. I started from easiest one. I would be very appreciate if you spend few minutes and leave your feedback. Try it
how can i create my own kata? I have already reached 84 honor and got a notification that i can create my own kata.But i cannot find the option where i can create it.Please help!
Please read this artice. Then go through the list of beta kata and read comments about most common mistakes.
thank you!
My first ever kata: https://www.codewars.com/kata/5efa0e7bc41b4e0019993895/ Please take a look and tell me what you think!
Hello. This is one of my first Kata: https://www.codewars.com/kata/5ef0456fcd067000321baffa/discuss?utm_campaign=code_challenge_comment_sibling&utm_medium=email&utm_source=notifications#5ef0bd286a23b7001920d880 I would be glad of feedback/views. Thanks!
feedback please - https://www.codewars.com/kata/5eda5b681ee345001ac3562d
Is it possible to approve a translation without a kata author? I've made a kotlin translation for a kata, but an author of the kata seem gone.
Would someone mind reviewing this, please. Thank you!
You should post this on kata's discourse tab, regardless if author is available or not (otherwise no one might notice it). If the author is inactive for some time, other users with enough honor can approve it.
Thanks for a quick reply. I've posted this on kata's discource tab at "Suggestions" tab. I put a "spoiler" flag on it, because I am not sure, that the link can not be seen by thoose who didnt finish the kata.
So, as for now, I should just wait for someone to approve? Okay, thanks again.
Hello everyone, I've created my first Kata in JavaScript, I would be glad if you look at it:
https://www.codewars.com/kata/5ed7d6136813b5002db69baa
I have the ability to approve Python kata apparently (haven't checked other languages). Just wondering what are the best practices for this? I went about approving 2 already, but got some flak from other users. Am I missing something here?
Hello, please check my first C# Kata, I will be very grateful for any kind of feedback https://www.codewars.com/kata/5ecbe635b82876002d3f40b1
Thanks a lot
Hey, please check out my first kata, will be very grateful for your feedback https://www.codewars.com/kata/5ec15ab4cb77f50001300cad/csharp
I posted this comment before but will post again: while easy kata's that are not interesting or original are approved all the time easily, some hard and cool kata's are Beta for years. Maybe this can be improved. I have a quite hard and cool kata that has never been approved, can please somebody do?
Kata: https://www.codewars.com/kata/5879336c92074d45c500016c
Hi, I have created my first kata,pls suggest me how can I improve my present and my future kata. link to my kata: https://www.codewars.com/kata/5ec3867dce108b0015a5f23b
So, I was trying to group most solved katas according to teaching order. When I arrived to dictionary topic, I couldn't quite find many katas about it. I wrote a simple one myself, but since it is simple, it got downvoted, and I guess auto-retired.
I am teaching Python to total strangers of programming. They sometimes have problem with even the simplest concept. It is important to give them questions with context, so they can feel the usefulness of different concepts. So, imo, having more of these fundamental katas of different stories is only helping people who want to get into the coding, even if it is quite easy to solve for 1 kyu user.
Besides, I didn't even get a chance to edit anything before the retirement. I published it, slept, woke up to see it got retired. It is a bit disappointing to see all the effort got scratched without an explanation or chance to amend. I mean I will continue to try, but all I am saying is it happened so quickly, it might be discouraging for new kata writers.
This is the link for kata: https://www.codewars.com/kata/5eb85e06a4dc5800325a42ad/python
Hi, I've created my second Kata, I would be glad if you look at it:
https://www.codewars.com/kata/5eb5155b80e7b8002dd10226
It seems like it attracted very few people.
Maybe give it a try ? :p
Scala programmers - need your look at kata Optimal sort
Hi, I've Created this kata: https://www.codewars.com/kata/5e9ce15e9a872f002dc6dc94 There are several things i don't understand: I was hesitating how to rate its difficulty, and set it first at 5 kyu. But a friend told me it should really be 3 kyu. I modified it, and it now appears in the kata search engine only when looking for a 5 kyu kata, even though it's labelled as a 3 kyu. Much worse : The stats are indicating that it's been completed 5 times, but i can see only two solutions : mine and Voile's now invalid one. I know from a friend that he's solved it. Why can't i see other solutions ? Stats again, say that the kata has been satisfying for 38% users out of 4 !!! No need to be a great problem solver to detect that there might be a problem to solve here. So, please help me, is there something i've done wrong or misunderstood ?
Is anyone able to take a look at my Go translation of the Simple Assembly Interpreter kata please? https://www.codewars.com/kumite/5ea0a484a1da4f0011eda445?sel=5ea0a484a1da4f0011eda445
Hi I'm in this kata https://www.codewars.com/kata/5588bd9f28dbb06f43000085/train/python It looks like there's a bug in the tests But I can't access the discussion page and report an error What should I do
Why have you created 4 posts like this one? Delete the other 3, use Github Codewars Issue tracker
v
I'm having an issue where I want to translate a kata into Factor but it doesn't show up on the drop down menu to start a translation (after clicking on "+ add new language" and then "translate this kata", of course).
I've been able to make translations for several other kata without running into this issue. Any ideas?
Maybe the kata already has a factor translation. It could be that it's not accepted yet.
Edit: yes it does.
I see! Thank you very much.
Hiya, I have a translation for a kata that I'd like someboy else to take a look at to check it seems right. I'm new to elixir and have used this translation as an exercise... I'm also brand new to translating - so it might be great or might be totally dodgy :D https://www.codewars.com/kumite/5e7d3248b2a5e10010875294?sel=5e7d3248b2a5e10010875294
How do I modify an existing kata to support another programming language? I just completed a kata in javascript but the only language supported is haskell.
You have to complete a kata, and then you'll be able to translate it to other languages.
Hey guys! I just made my first kata and I would love if some people could try it out. I've given it an estimated rank of 4kyu because it can be overthinked very easily. However, there is a simple solution that I believe many overlook.
Please give it a try and inform me about any errors :) https://www.codewars.com/kata/5e750dd4626ac30012e35c77/python
Hi, can somebody please approve my Seat Allocation Kata?
It is a kind of hard but cool kata and in beta for years. It is solved by 8 people and nobody came up with a flaw in this kata.
Thanks in advance! :)
This is the link: https://www.codewars.com/kata/5879336c92074d45c500016c
A Java kata with which makes you think 🤔👍 https://www.codewars.com/kata/5e477a54406d360001bc10f6/java
Would you solve it?‽
https://www.codewars.com/kata/5e666b3955aec800160c2abe here is my second kata if I am wrong please correct me. welcome to get feedback and solve problem.
Don't advertize katas...
https://www.codewars.com/kata/5e64cc85f45989000f61526c here is my first kata if I am wrong please correct me. welcome to get feedback and solve problem.
What could the error be in my code to print out the count of vowels
def getCount(inputStr): num_vowels = 0 for vowels in inputStr: num_vowels = vowels.count(vowels) num_vowels = num_vowels+1 continue return num_vowels
print(getCount("a, e, i, o, u"))
Post this in the kata section please, and mark it with a spoiler tag. Don't print the result after returning.
how can i be on order with the level of problem in the same level
Guys I need someones help. Im trying to publish my own kata. The task is to create a recursion function which does something but the problem is that I dont know how to stop cheaters from using while or for loops. Anyone knows what to do ? Thanks
for kata "The Millionth Fibonacci Kata", my code run no more than 0.4 seconds in my computer, why get a timeout @codewars? real 0m0.337s user 0m0.331s sys 0m0.005s
if i don't add print in the program, just get a timeout with nothing if i add any print in the program, it just complains about too many print in my program
What
n
did you try on your computer? How long does your computer run your solution for n=-20? How long does your computer run your solution for n=1000000? Why did not you post a question in the kata discrouse?fib(84362)
for fib(1000000)
real 0m43.723s user 0m41.752s sys 0m0.206s
the code is very simple: def fib(n): """Calculates the nth Fibonacci number""" print(n) a,b = 0,1 while n>1: if n%2 == 0: n-=2 a,b = a+b, a+2b else: n-=1 a,b = b, a+b #print(n,a,b) while n<0: if n%2 == 0: n+=2 a,b = 2a-b, b-a else: n+=1 a,b = b-a,a #print(n,a,b) if n==0: return a elif n==1: return b
print(fib(1000000))
I your code takes ~45s for
fib(1000000)
, then it's too slow. There's a few tests with large numbers, largest being ~1000000, and you have only 12 seconds to execute all of them.@zrhhust don't post code here, it can't be marked as having spoiler content, and why didn't you use that kata discourse in the first place?
sorry,not know the rules very much. some trains have discuss button in it, but not this
https://www.codewars.com/kata/the-millionth-fibonacci-kata/discuss/
they all have the discuss button. If you don't see it, resize the window in your browser.
If I moderate a beta kata that is pending approval (i.e. set the difficulty), having not already completed that kata, and then go on to complete it, is it the case that I don't then gain the relevant honor for completing it?
I understand if this is indeed the case ('cause theoretically I could've lifted the solution from the kata if I were so inclined) - just interested in knowing this - would mean I would for sure complete the kata prior to editing/approving it if so. :)
Hey there ! I saw you've modified the ranking of a kata i submitted without even solving it. This doesn't seem very logical to me. Any explanation ? The kata is "Castle of Cubes"
Hi Cépagrave - it doesn't appear to be a requirement of approving a kata that the moderator has solved it - I set the ranking based off the power-user average assessed rank, which was 5 kyu. I'm not likely to set the rank on any further katas without solving them as I found that doing so precludes the moderator from accruing honor when they then go on to solve.
I don't think that I should be setting the rank on a kata based on my personal opinion of how difficult it is or isn't, though - I'd much rather rely on a user average than my experience.
It's actually highly discouraged to moderate a kata without solving it, please always solve it first. It's quite a bad idea to moderate a kata without solving it - what if you find a bug just trying to solve it? 😉
But remember that the average rank doesn't mean too much anymore, as ZED is trolling the ranks (see https://github.com/Codewars/codewars.com/issues/1939)
Duly noted, thanks Steffan, and my apologies to Cépagrave if I've undervalued your kata - I shall not be doing that again!
I have a kata in beta and someone reported an issue on it (they wanted random tests, which I added) how do I get the issue to go away?
Reply to it and click "mark issue as resolved".
guy i need help HOW CAN I GET BETTER AT SOLVING KATAS(JS) LIKE THE LIKES OF @BattleRattle
Solving more katas and looking at better solutions than yours (and understanding them ofc). Don't use caps, please.
https://www.codewars.com/kata/stone-pile/java https://www.codewars.com/kata/5d612f5240d995000da6272b
Welcome to solve ;)
I have a kata that I've put together https://www.codewars.com/kata/bananas-1/javascript but it keeps getting auto retired without any feedback for why people are downvoting it. I also can't delete the kata so now https://www.codewars.com/kata/bananas-1/javascript and https://www.codewars.com/kata/banana/javascript exist (because the original
banana
one was retired and I can't delete it). I've been updating the test cases as I see incorrect solution get around my tests which is why I think it's getting downvoted but it's just annoying that I'm trying to work through any issues that my kata has but before it even gets a real chance it's automatically retired.Any help would be appreciated! What am I doing wrong?
Hi,
The main problem is that the idea of the kata itself is just bad, actually ("bad" as "bad for a kata"). What makes the things worse is that you're patching the holes along the way, meaning you actually didn't create the kata with a clear mind about what it implies to create something like this, and it and just "proves" (in a way) that the idea is bad. I agree that the original idea is kinda funny, but you'll waste sweat and blood, trying to enforce
any-everything to get there, especially in JS, while at the same time, if you actually succeed at enforcing this special solution, most users will have a pretty bad expeirence at finding how to solve it.As you can see (I hope), this kind of problem is more a lost cause than anything, when it comes to make a kata out of it.
cheers
Thanks for your reply! This is my first kata so I'm definitely still learning and appreciate your feedback.
I'm not trying to say the kata is "good" what I am saying is that I think it's pretty normal to fix tests during beta, is it not?
Now, you say:
but when I was reading about the beta process I came across this.
I've solved much worse katas than mine and that's not to say I don't appreciate raising the bar for quality katas so to speak but your point about users having a bad experience at finding the solution is silly to me. I set the
Discipline
asPuzzle
for this very reason, it's not a fundamental aspect of javascript that you'd reach for to solve something like this initially. I also set the estimated rank fairly high because I don't expect users to be able to bang this out like an 8 or a 7 kyu.I disagree with this point, this is something that was fun for me to throw together and I'm just unfamiliar with the process. I feel like at this point I have a pretty good test suite after going back and patching solutions that got past my original tests which I thought the beta process was for, partially. To get feedback and make any changes that need to be made.
I also feel like the auto-retire feature is too aggressive. I didn't get any feedback before just immediately having my kata retired by people who didn't even solve it correctly...
The one person who actually solved the kata the correct way enjoyed it, it was all the people who did it the wrong way that downvoted it which seems like it's in bad faith to me.
Again, thanks for your time and your feedback! I'm not sure anything will come of this but thanks for letting me vent.
Hello! Made a new kata, please try it and leave feedback.
https://www.codewars.com/kata/5d4bed7c7a528071756060d8/train/javascript
What is the process of moving kata from Beta to official publish?
See https://github.com/Codewars/codewars.com/wiki/Kata-Beta-Process
hi every one . i am new , so i listen and learn...
New kata, it needs testing and some feedback ! https://www.codewars.com/kata/electron-ionization
"Whoops! The page you were looking for doesn't seem to exist."
Dude where is the kata
Why at my profile i have completed only 4 kata's, but stats display already "11" (it was starts from 8 number as i remember)
A new kata in need of testing and feedback - https://www.codewars.com/kata/5cf293be97d5f8001075d0b2
I have just created a new C# kata https://www.codewars.com/kata/5cf8e2692ad4650001ce9b5b
It is related to the Thue–Morse Sequence.
Anyone fancy a go :)
I did a search for similar kata and found the following three that use the Thue-Morse Sequence: https://www.codewars.com/kata/5998ce70a499a7926a0000a8 https://www.codewars.com/kata/591aa1752afcb02fa300002a https://www.codewars.com/kata/589a9792ea93aae1bf00001c
I believe my Kata is sufficiently different that it is not a duplicate. All the existing Kata look at the first n terms of the sequence, two creating, the third validating. My Kata is about calculating just the nth term and has higher values of n.
And it is retired with no feedback as to why.
If anyone knows why it was retired (I understand the process, first four people voted it down) but not the reason.
please tell me how to create kata? can anyone help me please
On the popup menu at the top right of the screen there is a "New Kata" option.
I found the interface relatively straight forward to use.
Make sure your Kata is a new idea first by searching the existing Kata.
There are four important sections to fill out.
https://www.codewars.com/topics/kata-best-practices
Here's my first simple Kata.
https://www.codewars.com/kata/5cf26f26e102160014d4af44
Any feedback is appreciated!
I have a (c#) kata "awaiting moderator approval": https://www.codewars.com/kata/58f5e53e663082f9aa000060
This is my first attempt at writing a kata so interested in how the process works.
I also have a second Kata in "Testing & feedback needed" phase, if anyone feels like have an attempt at that one: https://www.codewars.com/kata/5975b4fecb487ccf2700012b
My first kata on Ruby: https://www.codewars.com/kata/5cc3514544a32d002b3c0316
Feedback is appreciated.
Hi
Racket only has a few kata, so I decided to make one! Testing, rating and feedback much appreciated :)
The actual kata is to make a basic macro.
https://www.codewars.com/kata/5ca13f1def39600014b37faf
https://www.codewars.com/kata/5c8e99ba171e834117a0e905 My first kata on C#
sorry, but how many honor do I have to have to develop my own kata?
Create Kata privilege is 300 honor
https://github.com/Codewars/codewars.com/wiki/Privileges
Pythagorean Triplets
Can anyone test my kata, please?
https://www.codewars.com/kata/easy-integer-to-text/python
how do you create kata and where?
Hi, is there anywhere else I can post my kata to try to get it out of beta?
https://www.codewars.com/kata/rummy-find-lowest-scoring-hand
damned if I know. Just popped back in after a year away from the site, spent tons of time polishing and refining my first kata, and almost as much time after that trying to get it approved. It's still beta, no clue why. Doesn't really matter, I suppose, since I'm not really active on the site anymore - but my frustration was a major reason for that tbh :/
So you have to put the circle in the box? Looks like a fun challenge, I'll try it out.
It'd be nice to see what the final rank of it would be, but I'm not too fussed, I enjoyed creating it.
It gets a new coder trying out every now and then and I chuckle to myself as I imagine the torture they are inflicting on themselves trying to work it out. As I once did when I first had too.
Hi every one
test
Hey guys,
My kata's been stuck in beta for almost half a year now, even though almost 80 people have tried it. Apparantely it is too difficult for many (and still rated 6 kyu on average?). I think this one is a good edge case to test the efficacy of the beta process. I'd also like it if someone would take a look at the kata and approve it.
https://www.codewars.com/kata/5aba8a75206a29494000021b
This has been quite demotivating for me to create other katas since my other one took many months to be approved as well. I hope you can help out.
Thanks in advance :)
I see in the mean time it is out of beta. I agree it is quite demotivating that kata's remain in beta so long.
Looks like a cool Kata! Gonna try this one next
(congrats on being out of beta :))
I looked through the Codewars Wiki, but I can't find anything regarding what the requirements are to pass the beta process for a kata. Does anyone know the process for how a kata completes the beta process?
Hello devs,
I work on a problem Process Waterfowl Survey Data Results. I used spyder(python 3.6) and tested samples. It can provide corrected outputs base on the sample test. It also can figer out the incorrect input data. However, I still got 42 failures. I found the test cases results confuing me. Here are two failure samples. Two similar incorrect input data but required difference outputs - ['Disqualified data'] and [original incorrect input data].
Fixed tests ['BLWITE', 25, 'LABDUC', 9, 'REDHEA', 5, 'STSEI', 200] should equal ['Disqualified data']
['AMEWIG', 45, 'BAITEA', 3, 'BASGO', 6, 'CANVAS', 10, 'MALLAR', 150, 'SURSCO', 12] should equal ['AMEWIG', 45, 'BAITEA', 3, 'BARGOL', 6, 'CANVAS', 10, 'MALLAR', 150, 'SURSCO', 12]
Could you kindly review my code and let me know what details of restrictions I shall put in the testing? This is my code as following and it can scan the two above incorrect data and out put ['Disqualified data']:
import re import pandas as pd
def get_name(st): namelen = len(st)-1 if namelen == 1: name = (st[0][:6]).upper() elif namelen == 2: a1 = (st[0][:3]).upper() a2 = (st[1][:3]).upper() name = a1+a2 elif namelen == 3: a1 = (st[0][:2]).upper() a2 = (st[1][:2]).upper() a3 = (st[2][:2]).upper() name = a1+a2+a3 elif namelen == 4: a1 = (st[0][:1]).upper() a2 = (st[1][:1]).upper() a3 = (st[2][:2]).upper() a4 = (st[3][:2]).upper() name = a1+a2+a3+a4
def create_report(names): if type(names[1])==int: print(['Disqualified data']) #exit else:
name_list=[] count_list=[] new_names=[] for i in range(len(names)): name_list.append(get_name(re.sub("[^\w+]", " ", names[i]).split())) count_list.append(int((re.sub("[^\w+]", " ", names[i]).split())[-1]))
For goodness sake, post this in the kata's discourse section: forum is not for helping with solutions, and your comment can't be marked as a spoiler here.
Sorry for the mistake. I wasn't find out the discussion board. Tahnks for your kindly help.
yes there is a problem, easy to overlook too.. but I dont know if I am aloud by the rules to point it out
Is there a way to delete a kata that I authored? I have been waiting for someone to approve bug fixes for three months now. I posted messages a couple of times that it was fixed in the discussions to give that person a message with no succes. So, I created a new kata, copied/pasted everything from the old one, and deleted everything from the old one. I wanted the kata to be avaiable (out of beta) because the people who did sovle it were happy with it according to the feedback. (It is "a" in my authored kata list if an admin can just delete it.)
@rt-hawk :
code-wars does not allow you to delete a kata as soon as a single person (excluding author) has solved it.
The best you can do is set it to a draft by unpublishing it. Although a better solution would be resolve the issue instead. Since you are the creator of the Kata you can resolve the issue by going to the comments clicking on reply (to the issue post). There on the bottom left - just above the submit button- is the mark issue as resolved, just do that instead ?
Also kata's that were converted to drafts are not visible to anyone from the authored kata list save the author himself. So you will need to manually provide a link to it.
Thank you. I will unpublish it since I have already recieved feedback in the new file.
I didn't know that I could mark an issue as being resolved. I will keep this in mind for the future. I would rather others who have found issues would do this as it is always better to have other people look at one's code. Others see the code from a different perspective.
Is my friend cheating? All tests passed exept one. Is it possible to see n? error: Test10 Expected is <System.Collections.Generic.List
1[System.Int64[]]> with 4 elements, actual is <System.Collections.Generic.List
1[System.Int64[]]> with 2 elements Values differ at index [1] Expected and actual are both <System.Int64[2]> Values differ at index [0] Expected: 559756 But was: 908566Please post in that kata discussion, not here (it's unrelated).
Console.WriteLine(n)
And for goodness sake, post it in the
kata discourse
!I've met a problem in Kata 'Take a Ten Minute Walk' - http://www.codewars.com/kata/take-a-ten-minute-walk/train/ruby
My code:
def isValidWalk(walk) if walk.length!=10 return false elsif
ns = 0 ew = 0 for i in 0..walk.length-1 do if walk[i]=='n' ns=ns+1 elsif walk[i]=='s' ns=ns-1 elsif walk[i]=='e' ew=ew+1 elsif walk[i]=='w' ew=ew-1 end i+=1 end
end
end
All tests passed correctly, but the system tells me about an Error:
STDERR:
main.rb:7: warning: found = in conditional, should be ==
But the string #7 is: for i in 0..walk.length-1 do It does not contain symbol '='...
Is this a bug?
This is asking a wrong question in a wrong place...
Also here it can't be marked as containing spoilers.
There it is your
=
in a conditionalHi, I'm having difficulty with a 5 kyu kata "Factorial Decomposition" - Fortran 95. I'm pretty sure I've completed it ok and formatted the output to look exactly like the expected. But it just won't tell me I've solved a single test. Can somebody please check the test routines (or my code). I can't submit it, so can't see other solutions and can't see how to post a question to a more relevant place! Or send the author, g964, a note. (I've a back-up in a simple textfile, so I guess I can move on in the meantime). I've only been here for about a week.
and how the hell are you thinking that it's the correct place to ask for that!?? x)
=> post in the discourse section of THIS kata, not here. ;)
Thank you ever so much for your assistance. Did I mention that I was new here? So I'm grateful for any help I can get.
@Phil157 every kata has its own page for discussion. For "Factorial Decomposition", it's https://www.codewars.com/kata/5a045fee46d843effa000070/discuss
You can find the link to it on each of the kata page. Just click "Discourse" on https://www.codewars.com/kata/5a045fee46d843effa000070 for example.
Thanks for that. Sorry not to answer sooner, but I couldn't find my back! :o)
I try to create Kata. When I press
Validate Solution
I pass all testTime: 1511ms Passed: 7 Failed: 0
. But when i try to publish KataFinal Solution is invalid. (cpp) The solution should pass the provided test cases
What's wrong?Does your function return the expected result in
sample tests
? When trying to publish the server checks both main and sample test suites, and if you pass only 1 (or 0) of them, you can't publish the kata.In my Test Cases i've got 7 test, and when i validate them i pass all of them. In the Example Test i put 3 test from Test Cases.
Never mind, I press a lot of time RePublic, and Kata public)
Hi , i am new on Codewar. I want to create my own collection but i dont know how. Do i need to have higher rank or honor to be able to do it?
Same case, I read somewhere that you should have 75 points of Honour at least. I got there. Now I would love to create some Katas. How do I do that?
Ups, just noticed it is actually 300 Honour points. Sorry. Back to problem solving :D
hi friends im new on codewars. I want to know how to search for a particular kata. I was solving a kata and then my internet connection went off. When internet started again i lost the kata and a new kata appeared on my screen. I want to know how can i get that kata back. This site is good but hard to navigate. I also want to know to can i upload a profile picture.
I had the same problem. Go to the navigation on the left on the second icon "Kata" and you will find a search field on the left top side of the new screen. Try to find with keywords of your lost kata.
I am creating my first Kata. I successfully published a version with a number of Test Cases and got some good feedback.
I just added some random Test Cases after reading a couple of tutorials. They were validated successfully when I clicked on the green “Validate Solution” button. I ran them /validated them a few times to generate a number of random tests. But, when I clicked the “Republish” link on the top of the page, I received an error outlined in red on the very top of the page:
I also had an error under the Initial Solutions window:
There is only the barest of code in the Initial Solution window. This Initial Code didn’t create any problems before when I saved my Kata and validated it without the random tests.
What am I missing or not understanding?
Is there a link you your kata draft?
I deleted the random test cases and changed the Kata in Beta back to the one that worked so people could try it.
The Kata in Beta is here: https://www.codewars.com/kata/5a580064e6be38fd34000147
Here is the Initial Solution Code:
function birdCode(arr){
}
I found the issue. I just had to change the name of the function in the code for the random test. Before I had made it the same as the one in the solution code. So, it was calling the wrong one. Once I changed that function name, the new code validated and republished successfully.
I am new on this site , plz tell me How could I see solution of any problem, boz after attempting any problem it shows msg tagain and again that Attempt or Increse your rank to see the solution.
Stupid question. Why is sometime the Attempt button missing, so I'can't test my code?
I think there is some criteria for minimum honor to unlock solution section without solving it, so you have to solve more problems and unlock that button.
I want to add a few tests to a Kata but can't find how. Is because my current honor?
Probably, is that kata still in beta or has it been published?
Why are katas approved the same day they're created? The beta test period should be at least one week imho. Some are out half baked and some of them are marked as duplicates after published.
Once issues with my kata have been resolved, do I need to mark them off as resolved? If so, how would I do this?
You should reply to the comment. There should be a checkbox to mark the issue as resolved.
Many thanks. Originally, I'd been looking for that checkbox everywhere without realising that I needed to reply.
just about finished my first kata. I gave it some tags and a title and clicked publish... Now I can't see it and there is nothing in my authored kata area. Do I need to wait for it to be approved or is it gone?
It doesn't seem to exist. How did you create it in the first place with your honor?
via going to https://www.codewars.com/kata/new/javascript
Should I not be able to create katas?
It's supposed to require 75 honor (https://github.com/Codewars/codewars.com/wiki/Privileges) but the fact that it's possible to do it following the direct link anyway has been known for quite some time. Although if there was no error message while saving then I suppose it could be considered a bug...
The thing that came up when I clicked publish was something to the effect of: "You can't set the difficulty"
Which I thought was just as it was my first Kata. If it's been known for sometime, is it not time that something is done about it? Maybe set the first hint to be a warning about it? I didn't even know what honour in relation to codewars was til I read it in your reply.
Hello. If a kata comes out of beta but has wrong tests (which makes it impossible to complete, obviously), and the author was abscent for months, is there a chance a mod will fix it? Or can warriors with high dan/kyu do that? As an example, 3 kyu kata https://www.codewars.com/kata/make-a-spiral/java has wrong tests and author was last seen in september. What can be done with it?
Test cases are still editable for java in that kata, unfortunatelly my Java knowledge is not so good and I could broke it even worse if I mess with it.
Hi! I am a new user and so my question may be stupid, but I can not find answer on wiki. Maybe someone can help me. I made my first translation of Kata, but I don't understand where find people who would examine and approve my translation. Who can do it? How can I find person to contact with?
If the authour of the kata is active, they get a notification. Otherwise no one will know unless someone randomly comes by, so you may want to mention it in a comment to the kata. (Or maybe I don't know something...)
Thanks a lot! Now everything is clear. Can I ask you to review my translation from Python to C language?
Hello, is there a way to save my work when I'm training so I can continue working on the same problem? I was working on a module then logged out and when I returned it gave me a new problem to work on.
i have the same problem
To save an easily accessable bookmark to your currently working kata you can add a star (top-left star link under the kata's name) or add it to a custom collection.
Either way the kata's you have ever worked on (attempted to provide a solution) and are incomplete are saved in your profile page under the Kata section in the Unfinished tab.
Notice that if you want the partial solution to be saved along with the reference to the kata, you must hit the Attempt button at least one time. If you run only the local test cases the partial solution will not be saved. At least this is how it worked so far and this may be subject to change.
Hello, how can I disable some built-in functions for kata in python?
i'd like to create a kata with some advanced restrictions such as max solution length and ban using standart methods like .sort() for example i can't find suitable info in testing framework documentation, help pls
Do one of the
One Line Task
(orMulti Line Task
) kata, and see how the tests are written.Hi everyone: I'm fairly new to CW and just authored my second kata. All of my tests fail, even though the expected and actual output look identical -- even the automated/random tests fail, where the test function is identical to the solution function. E.g.:
Any suggestions at all for what could be going wrong, or what I can try to do to solve this? I'm using Test.assertEquals() and answer is in the form of an array. Like I said, I'm fairly new so it might be something simple I'm doing wrong, but I'm completely stumped. Thanks so much for your help!
You should use
Test.assertDeepEquals
to compare array/object content, otherwise the test compares if the two objects have the same reference.Thanks so much!
Hi. I've authored a few kata, which are all in beta. Is there a minimum number of completions that a kata needs in order to be approved? I'm interested in writing some more statistics kata for R, but I'm worried it might not be time well spent if they need a large number of completions in order to get out of beta. There aren't a lot of people trying R here.
There is a very handy table here:
https://github.com/Codewars/codewars.com/wiki/Kata-Beta-Process
Thanks, @Voile!
Hi, I have published my Kata for a while now and fixed all the suggestions/issues. What can I do in order to get it approved?
I posted in the discourse of your kata.
Hi, when I reached 7000 honor I got a message that I could act as a moderator and approve my own kata's. How can I do that, I do have a kata that is up for moderator approval but I do not see a button...
You can't approve your own katas for obvious reasons. You can approve other's katas, though.
Oh, by the way, I just approved the kata you've mentioned.
[Feature Request] Mark as duplicate.
Especially in the 8 kyu range, there are a lot of very similar Kata. Is this a concern? Should we have a 'mark as duplicate' built into the beta process? Would beta tester's time be better spent on unique Kata?
Hi, I'd like to know if there's any way to know which tests my code failed? Sometimes, the code works for the sample parameter but not other tests. And I have no idea where it failed in the other test. Is there a way codewar could show what those tests parameters are? Thank you!
You can use
console.log
.Hi, I have just written my first kata, my random and example tests seem to work in terms that my own solution passes and if I try and invalid solution it fails as expected. However, when I preview it, I get this message on top of instructions panel:
Caution: This kata does not currently have any known supported versions for JavaScript. It may not be completable due to dependencies on out-dated libraries/language versions.
Is there any common mistakes causing this? I have googled this, and looked at my code again, but haven't found anything relevant.
Would it be acceptable at all to publish a kata like this as then I could maybe get someone to contribute or see if some solutions are failing specific tests?
Any feedback would be most appreciated.
Solved- the error message disappeared after publishing the kata
Writing a java kata I had the same experience with a similar message. It disappeared when publishing. No idea what to make of this. Maybe it is some kind of bug?
Hi, my kata has been waiting for moderator approval for two days, has it fallen off the list somewhere or is there something I need to do that I don't know about. Thanks a lot!
done. ;)
ah, great! Thank you so much! :)
Hello everybody! I wrote a kata but I'm quite stuck with test cases and example cases. My code is in C++. Can anybody explain how to write it? https://www.codewars.com/kata/595a92fe53e43a8746000071/edit/cpp
Try asking on the Gitter channel.
Thank you very much!
Hi all,
I authored a kata over a year ago, and it's still in beta: https://www.codewars.com/kata/55e29a6b4d99b59e98000089
Is there something I need to do to get it published? It seems like all edits suggested have been made.
Looks like it just needs a few more people to complete it before it can be approved. You could try promoting the kata on social media or telling your developer friends about it, or you could try mentioning it on the Gitter kata solving channel.
That makes sense. I'll mention it on that channel. Thanks!
hi, how to add random test cases on katas i make??
credit to rsnake
So I've published a kata, but it didn't appear on the list of beta katas. What might be the problem?
prećo
How can I encourage people to test my betas? I wrote a bunch of katas, some are weeks old with 0 views. Any advice?
Having your kata translated into multiple languages (JavaScript, Ruby, Python) opens your kata up to more potential coders.
I believe the people with high honors (3,000+) should be incented more to search through and complete more beta katas as well. It will help get the more difficult beta katas through their processes and out of their limbos.
I have done a perfectly working code which passes all tests but it says "Process exited prematurally with a SIGSEGV signal.". what can I do to correct this?
As lechevalier and zruF, I have problems with re-publishing my kata.
Maybe I'm missing something, but it looks like a bug.
Where can you mark a kata as being ready? Or is this feature deprecated?
Bug since a small week now: it is impossible to publish revisions. Solutions validates the tests in all versions of a language but when clicking on
Publish
, it always yields this message:I don't know whether it's a bug or not:
I tried to edit my already approved Kata and the validation of the solution is successfully, but i still get the error that my final solution doesn't fit the test cases. Is it possible to edit already approved kata? Can anyone help me?
Does the kata always have to be seen by a person with more than 3000 honor to come out of the beta stage?
The beta process seems to favor easy and simple katas. What is your opinion?
I put a lot of effort in some challenging katas but there were less than 10 solvers. And now they are moved out of sight. Is there a way to get them approved anyway?
Example is https://www.codewars.com/kata/6-by-6-skyscrapers/csharp. I especially created this kata because there were no katas for C# that are more difficult than 4 kyu! No problems reported for this kata.
There are 3,2 and 1kyu katas for C#. One year ago i translated two 1kyu katas to C# and both have solutions now, two days ago one of my C# katas came out of beta ranked as 2kyu. It's not only a beta process problem, it's language specific too. There are less C# users solving high level C# katas - at the moment and since month;-). And surely it's always a question of interest too. I published a "high level" kata which is one year old without any solution (one early cheat)...
There is hope... There are indeed 7 more than a year ago when there were none! And your kata was approved with only 8 users instead of normal 10.
Yes really there is hope;-), last time there are more and more C# users... And there are some "secret changes:-)" depending on the average level of a kata to come earlier out of beta (so for my 2kyu kata only 5 "power user(?)" ratings were necessary). By the way my translations of these 1kyu katas last year were no real translations, i just started on codewars and first solved these katas in C# and VS for my own, translated them to Java or JS (which i haven't used very much before or long time ago) and solved these katas on this way. Later on i only copied & pasted my C# solutions into the translation editor - so no real "translations";-)... That was the beginning of more languages:-)...
@FrankK: Have you solved my harder C#-Katas? https://www.codewars.com/kata/unflatten-a-list-harder-than-easy https://www.codewars.com/kata/simple-encryption-number-3-turn-the-bits-around
Similar to your katas it is very hard to get them approved.
Rust fails 2 times of 3 on compiling. It's fRUSTrating.
Is there a process by which a beta kata that is seemingly abandoned can be updated by a new sensei? https://www.codewars.com/kata/2048/javascript has the potential to be a good kata, but one set of the author's random tests is broken, making the kata effectively insoluble (unless you get really lucky) since the introduction of random tests two months ago. I logged the issue again, as it had been previously reported in comments to a resolved issue, but the author hasn't been around since October so I am not sure it will get fixed.
It is a shame because it's kind of a fun little problem to solve.
I want to rewrite here again a reply I gave to Blackmetalmcdonalds some threads further about Beta process suggestions:
What's the point of making some challenging kata that will always stay in beta (with maybe 5 people solving it), if people keep making 8kyu katas about string reversing? How can a 4kyu/3kyu (let alone 2kyu!) kata can even come to existence out of beta if it will take forever for enough people to solve it and rank it?
I shouldn't say this as I've authored myself a string reversing kata, but it was still a challenging Shell language kata; so why have I done that? I had to translate it in javascript and python to make it popular with the result that it has become very easy in these 2 languages (and even got some down-votes).
My possible suggestions:
@mmalkavian:
You don't need to justify creating kata's a simple kata. That's fine of course. And yeah it's a shame you felt the need to translate your Shell kata into more crowd pleasing languages ( that likely defeated the difficulty in the original language.)
Personally I have no problem with the abundance of 7 & 8 kyu kata's out there. It's human nature to avoid difficulty and codewars is a quick relaxing activity for a lot of people I guess. And beginners need challenges too (watch me try and solve anything over 7kyu in Haskell... it's not pretty). I just would like to see more hard katas and think it's a shame they never come out of beta.
I agree with some of your points but I don't think the codewars scoring system should become any more complicated.
I don't think removing points is really the way forward I think generally, would cause a lot of confusion and upset people, who likely just solved a kata in good faith.
I also disagree with forcing people to author katas, it's weird and not everyone wants to do that. Making someone who doesn't want to author a kata do so will just make a lot more crappy poorly thought out katas.
For me your first point :
is the simplest solution. If someone is doing betas and not either ranking or contributing with issues or suggestions they shouldn't get 'special beta points'.
In the meantime maybe we could start a 'Get my level x or above kata out of beta' thread...
I don't understand how the same kata can have the same difficulty ranking in different languages. I don't understand how the rank is being assigned. Some of the 2kyu katas were not hard at all, 4kyu or 5kyu at the most. (I understand you get more points for authoring a 2kyu than a 5kyu.)
I have created two katas myself, out of curiosity about the process. I have no hope they will ever go live. If Codewars wants people to author good quality katas, then the betas must have chance. Atm there is no real process in place as far as I can see.
PS: I wonder if translations suffer a similar fate. I have translated one kata, but again, I do not believe it will ever see the light of day.
Hi, when solwing the SQL kata i always get the error "expected true to respond to
true?
or perhaps you meantbe true
orbe_truthy
" is it some kind of error in the python script that is failing. I know that i have the postgreSQL part right. So what is the issue? I know that the SQL part is in BETA, but if it is not possible to submitt correct katas then what should i do. And yeah the discussion tab is not applicible in the SQL katas.I was recently asked this (https://www.codewars.com/kata/algorithms-interesting-times-in-digital-clock-display) in an interview. I authored a Kata for it and I'm trying to get it out of Beta. I googled pretty extensively and couldn't find any other solutions for it.
Any thoughts or input would be appreciated.
translate it to javascript or another popular language.
Fair point, I'll give that a go. Thanks.
I know a few people have mentioned this already. But it would be great to find a way of encouraging users to solve some of the more difficult beta kata. I personally would like to see more difficult katas on the site and have seen the poor response that difficult katas in beta get. It may also be worth making approval ( or disapproval ) mandatory on completing katas, I'm guilty of not always marking them myself and lots of people complete the kata (with issues or not) and don't rate it.
As the cw currency is honor, I would suggest higher incentive. E.g., solving a kata while still in beta could return twice as much honor (or some other reasonable amount) than solving it after it has left beta.
[deleted]
I agree with you and was thinking the same these days while authoring katas.
What's the point of making some challenging kata that will always stay in beta (with maybe 5 people solving it), if people keep making 8kyu katas about string reversing? How can a 4kyu/3kyu kata can even come to existence out of beta if it will take forever for enough people to solve it and rank it?
I shouldn't say this as I've authored myself a string reversing kata, but it was still a challenging Shell language kata; so why have I done that? I had to translate it in javascript and python to make it popular with the result that it has become very easy in these 2 languages (and even got some down-votes).
My possible suggestions:
I think maybe the minimum honor before being able to upload katas should be of 100 ?
I think the approvement process still has some problems. Some approvers don't seem to take the care in checking the kata thoroughly which results in very bad translation versions especially for new kata authors who just approve the translation, or problems that were found but not fixed. Obviously not all problems can be detected before leaving beta but a lot seem to be ignored if they aren't marked as an issue. Duplicate katas also probably need a firm definition so katas that are similar in nature don't keep getting released because of an approvers negligence to check for them. Also best practices for katas seem to be ignored, if a new author created a kata it should be the job of the approver if no one has addressed it to ensure the katas testing fixture follows the best practices. It seems like as soon as a kata can be approved it's a race to approve the kata without checking the above mentioned things.
I agree with your point about firm definition. However, I think it will be quite difficult to come up with a satisfying one. This could help having more meaningful discissions about duplicates.
I would like to have some functionality which would indicate the possible duplicates. IMO coding and programming is often about laziness a tending to automate stuff. Letting lazy people (like me and many others) to do boring and tedious stuff like "hunting for duplicates" isn't the best idea.
This is not against your point but it's related to it. Not everybody knows more than one language (well) which could be an issue. If I'm the author of the kata and I don't know the language of the translation or I know only one language, what should I do? IMO, it's better to approve the translation and let the translator to fix the possible issues than to not approve the translation at all. I think this could help.
IMO here we need more common sense than strictness. I exaggerate but to adopt a kind of “best-practices-gestapo-style” always and everywhere isn’t a good idea. Especially in more difficult katas people tend to be more relaxed about testing and initial setup.
Again, it would be nice to have some sort of random test framework which one can use as creating them is often pain in the ass and it's much harder than to come up with a difficult and interesting kata. I'm not suprised that new kata creators omit random tests as they are tedious to create.
Regards, suic
Can shout out to any JavaScript people, I created a (reasonably) difficult kata and can't get people to try it... It's probably a Lv4? If anyone wants to give it a go and try get it out of beta that would be great! https://www.codewars.com/kata/horror-top-trumps-card-game
How can I view the input parameters for a test? For example, I have completed running code, and run the example tests, no errors are shown. Next, I click on "Run Suite" and a series of other tests are run against the function. How can I see what exact parameters produced an error?
Nevermind, I have realized I can place a print() in there to log values to output
could someone please approve my rammstein kata, i've been waiting like a month
I'll give it a look, I'm in the same boat though if you'd take a look at horror-top-trumps I'd appreciate it!
Why is PHP not included in the selector for Language on the Kata page? I want to list all Katas that include PHP as a language for the first 3 levels
The server error 500 is pretty frequent and creates problems when I try to process a beta kata or approve someone's translation. Can't we do anything about it???
Who can tell how to properly execute the code for Swift ? I created a class and method, but it is not executed.
I have just created my first kata and ran into the following problem: the initial solution (sometimes they call it the 'solution setup') that I have specified in the kata creator is not the one shown in the training section when a user wants to solve it. Any ideas?
The kata can be found here: https://www.codewars.com/kata/sliding-tile-puzzle-worker You can see how the module name in the 'Solution' differs from the name of the imported module in the 'Example Test Cases'. To clarify, the 'Example Test Cases' is right, the 'Solution' has got it wrong. The 'Solution' show is not the 'Initial Solution' that I have specified in the kata creator/editor.
That's very strange, have you clicked the republish button to update it? I tested on one of mine and that seems to do the job. I know codewars and certain browser plugins don't play very nicely, certainly adblockers and ghostery; that could be preventing a save?
Thanks, it must have been caching as you say. Cheers.
i puslibhsed my first Kata today. it's a 1-2 kyu Kata so i know that limits the audience a bit. i'm going to be doing a series on these that teach people about different evaluation strategies. i would very much welcome any feedback. https://www.codewars.com/kata/57c4a31f0a32cae2a800065b
Is there something wrong with this kata?
Over 2 years in beta seems excessive.
It has only been rated 1 time, and only solved 6 times. From what I understand, there is a minumum to both of those numbers for it to come out of beta that this Kata never met.
I guess I'm wondering what the qualitative issue with the kata is. If the kata has visibility on the site, why is it not being solved and rated? Otherwise, why does it not have visibility on the site?
Yeah its so old its not getting (m)any hits. The system was also a bit different back then. Try adding/translating a new language for it. That will bump it back to the top of the list and give it a wider audience.
I'll do that. Thanks.
and then you will see it down to bottom again and again if no people solve it that like my a lot of katas. the reason perhaps because people is lazy to solve the kata which is a bit difficult or a bit complex or always forgot to vote after solve a kata.
Just express the mood (not related to your Kata), no other meaning ;-)
Hi, I have a question and two suggestions to the beta process.
Question: What happens/should happen with duplicate katas event. duplicate translations? Are they removed or they remained in beta forever?
I find identifying duplicates tedious and boring. When I solve or translate a kata I don't care much about duplicates and don't want to spend time on this sort of admin stuff. (Sorry if my approach is too selfish.) Therefor I want to suggest these two things:
Regards,
suic
Hello fellow coders! I'm having some trouble with this kata, and I have no idea which tests I am failing so any help without giving me the whole solution would be great: On Test 1, the first three cases I'm supposed to return false while I seem to be returning true.
My code:
First, this comment should not be in this discussion. It should be in the discorse of that kata. (As spoiler content)
And a hint to your problem: Is {1,1,2} a triangle? Your solution return true.
Hello! How I can translate the kata?
Kata (型 or 形 literally: "form"?), a Japanese word, are detailed choreographed patterns of movements practised either solo or in pairs. The term form is used for the corresponding concept in non-Japanese martial arts in general.[1]
Once you have completed a kata, if you go to the language dropdown at the bottom there should be a "Add Language" link. From there you can add a new translation.
Why isn't my Kata showing in the search results? I've created my own and everythign passed, you can access it if you have the link or via my profile. It doesn't show up in the search results though so nobody else can find it.
Is it because the website is buggy recently? How come other peoples Katas are showing up ( added more recently? )
There is an issue with publishing for some users that I am working on. Sorry for the inconvenience. Did you get a publish timeout error when you tried to publish?
It would be nice for those creating katas and for those approving Katas to make sure the tags are right. For example, I am seeing several katas in the beta process in python that involved classes (A concept I am having difficult with) and oftentimes the tags "classes" is not there. So I click for nothing on the kata. The same is true for several other tags (recursion, bin, etc).
It would be great if we could get more instruction on the specific features on the beta site. Also, a way to fork current questions to modify and re-publish could be a great way to help new posters.
Not sure if it is off topic, but a small query.
How do I ensure the code challenges here to reflect on my Github account? I have logged in with my github account, Is there a way to export to it?
No way of exporting challenges. We would like to but that would make it far to easy for others to just copy answers and cheat.
Hi, I have 5 translations which are not approved. I'm waiting for 2 months, 1 month, 2 weeks, 1 week and 1 week to get them approved.
This process of approval should be improved. The current status is discuraging. :(
Thanks,
suic
Hi, loving this site!
I'd really like to access F# but the CLI / GitHub page mentions its currently only available with 'Kumite' ?
Can anyone add anything to this?
thanks
Just joined the site and like what I see so far. Not sure if this is the right part of the forum, but I'm wondering about the 'not yet supported' languages. What are the barriers to supporting more languages? I may be tempted to help add support for, say, C++ but right now it's not clear how I could contribute...?
Welcome!
You're in luck, we very recently open-sourced the backend code runner (where the work to add a language needs to be done).
Discussion and current effort for C++ can be found here. Other languages also have open issues that you can look into.
There are almost as many katas in beta as approved and large majority of both are low level katas.
You really should consider increasing the incentive to 1) Attempt katas in beta 2) More efficiently approve betas 3) Create higher level katas
How long does it on average take a new kata to get approved? Not very appealing to create katas when it will take many months to be approved.
quick easy katas get approved within the week, hard katas maybe get completed a fee times if you're lucky then never touched again really. I think the current beta approving process works well to iron out the bugs but yeah. I think it's always going to be an issue with harder katas getting approved, kinda like create and pray people try it :p
Hi, I can't completely agree with you. I created this one three month ago and it's still in beta, because
Ranking feedback needed
. The only way this could be approved is that someone by chance come to this kata, solves it and rank it. This way it could be in beta for a year or more :(I have spent a tremendous time authoring kats just to see downvoted and stuck in the beta process. How do I mark an issue as resolved? Could someone help me. I am about to delete all katas that I have authored that are still in the beta process (which means all of them). Some of the comments are good and I have tried to address the as well as I can, but others I have problems putting up with. I cannot comply with everyone's preferred wording and style.
Reply to the issue comment, mark the "Mark issue as resolved" checkbox.
Thanks. I figured it out at last.
I've written my first kata and my own solution to it, but it fails the validation. I can't see where there's anything wrong with my code. Maybe there's something wrong with the way I entered the test data. Is there a way to get help with this?
Yeah, so, this site pesters me to write my own kata, but provides only documents with vague information about an obscure testing framework and no help beyond that. I would gladly write more kata if I could get past the confusion of how to get through this process.
In the window where you enter tests, there is a Help button. This takes you to documentation on how to write tests with links for each of the languages. I found it pretty helpfull.
Thanks. I have read that documentation already, but I'll go back and re-read it and maybe come back here with more specific questions about parts of it that I don't understand.
Here since one month, I start to play with beta kata, and I'm little puzzling. Once I had finish one kata I do not understand how to vote for them and how to rank them.
I suppose that is at the top where we found the ranking panel and the 3 smiley faces, but when I click on it that seems to do nothing. Have I missing something ?
I get a lot of negative feedback about kata translations that I did not write, and many I didn't approve. Translations need to go through a beta process rather than a one-person approval.
There are different katas which can't be approved, because of system errors. What to do? Some examples: http://www.codewars.com/kata/beginner-series-number-5-triangular-numbers/edit/javascript http://www.codewars.com/kata/create-sequence-containing-all-allowed-characters/edit/javascript http://www.codewars.com/kata/mess-in-the-bank/edit/javascript http://www.codewars.com/kata/binary-coded-decimal http://www.codewars.com/kata/circumference-pathing/edit/javascript
Same here! Maybe this?
Thanks for your hint! But can't edit these katas directly (same error 500). Perhaps i'm too stupid...:-)?
I can't edit them directly either. lol I gess they are moderators (?).
I would suggest to opt-out for beta's, it's a terrible experience to get a beta kata everytime you press the next button. Most beta's are in beta for a reason, and although you can tinker with them for days, it's not a very user friendly experience.
Which training routine do you have selected? You can check this on your dashboard, underneith the language selector.
If you're inside a kata, and use the button to pick the next kata, you'll always get a beta kata, even if you have your settings on 'dont-show-beta'.
I think there should be a system in place to revive (dead) beta katas, the ones that only have a few attempts because they usually just keep getting pushed down and untouched. Which I find is a waste of effort for the people who put their time into writting the kata. I don't know of a way to fix this just making it known. :)
I finished two kata recently and submitted, but they are not showing completed. What must I do to move past kata that I am passing the unit tests for? Thank you.
Did you pass your local unit tests or the kata's test cases? Make sure you understand the distinction between the two; the kata's test cases you won't be able to see but you can tell if you are passing/failing when you press submit.
Can we design kata focused on math? How "non-math" must a kata be in order to be acceptable?
How do I contribute to a Kata -- either by translating to other languages or proposing edits to instructions?
I think there is a bug regarding issues with a kata I authored. It says there is 1 minor issue reported, however, when I check there is only 2 issues, both of which I have resolved. Does this prevent moderator approval?
Nope, it was just waiting on some additional ranking feedback from users. I ranked it and was able to approve it :)
Oh, gotcha. Thanks!
How long I need wait, before my kata will republished (hours or days)?
I believe that the approval process needs to be expanded. There are kata with issues that could be addressed, but they're uneditable (and from what I imagine, for good reason). However, if there's a problem, there's no explicit process to correct the problem. I believe that, perhaps, a versioning system could help with that. Change a kata, put it through for approval via the same process. Give some additional honor value to participating in reapproval, and then retire the previous version when the new version is approved.
More and more often I see katas concentration on the same coding problem. Indeed, it's good to have a great amount of easy and simple katas for beginners, but I miss a function to flag katas as a duplicate when they are in Beta Process. I'm oonly able to point out this situation as an issue. Maybe there should be a possibility to mark a Beta kata as a duplicate where you can put the original kata's URL. Afterwards, someone (e.g. a moderator, ...) has to check if these two katas concentrate exactly on the same problem and decide wether the kata is accepted as new or rejected as a duplicate. This should avoid kata spamming and the original kata's author gets the honor he deserves!
See #165.
I've created a kata and two people kumited a translation. I changed the task and the translators updated their translation also. But in the translations mask I still only see their old version. Does that take some time to be up there or waht's the issue there? Thanks for any help
How do we upvote katas in beta process ? I can't find a place where I can click on the upvote counter to add mine. Thank you for your help
you upvote a beta kata by choosing ready after you have solved it
Вы все пидары :)
I have a problem with the sorting of Test Results.
The excercise says: "Given an array, find the duplicates in that array, and return a new array of those duplicates."
Since i use a map in my function, my results are not sorted at all. The description does not give any information about how results should be sorted. Now I'm stuck with an error saying: "[1, 3, 4] should equal [4, 3, 1]"
What could I do? This is the first (and most simple?) exercise ;)
Ты пидар
It's quite clear that it wants descending ordering.
I'm a little confused about the translation process. I've translated two katas yesterday and published them. What happens now? Do I wait for someone with the necessary ops to approve them or something?
Yes, they now have to be approved by kata's author or a moderator. I also advise to notify kata author about your translations by posting a comment to the kata you've translated, because currently automated notifications about this do not work for some reason.
Waiting for approval may take really long if kata's author is inactive, because currently I can see only Jake Hoffner approving translations as a moderator, and he does it quite rarely (once a week or every other week, I think.).
That clears things up, thanks. I've commented on the katas too, but there's no rush. I'm a mod on a site with moderated content and I know how these things go. ;)
I want to know exactly when are the beta katas approved? I have seen many beta katas which are being completed more than 500 times and have several upvotes but they are still beta katas, why is it so??
A kata cannot be approved unless it has no issues and has enough ranking and up votes, which I think is 12 of each (its been a while I would have to look it up which I can't right now). There are a number of kata which are ready for approval but have not yet been. Just yesterday I approved about 35. However as the only developer of the site and with much of my attention being directed towards a new complementary service that the whole team is working on, I don't have enough time on my own to keep up with the approvals.
Codewars users with more than 3000 honor have the ability to approve other kata and recently others have started to take on that responsibility. As the community starts to become more self-sufficient kata appprovals should start to be more timely.
In my Kata Highest and Lowest, I just noticed that the person that made the Java translation actaully didn't finish the Test Cases or even did it correctly.
But I can't edit the Test Cases anymore it seems, maybe because it is out of the beta phase. How can I fix this? Or who do I ask for help?
I guess I'm not understanding how this works. I chose to translate an existing Kata. The site created the translation as a Kumite. I've published it, then asked a friend to check - he says it's locked, and I can't find it anywhere on the site except under my published Kumites. Am I missing a step? http://www.codewars.com/kumite/5511c2185090637b43000580
Sometimes there is a problem if you modify kata description in your translation and someone else alters the description in the kata itself.
Workaround: revert to original description either in kata editor or in the kumite. It can then be accepted. After translation is accepted, edit the description accordingly.
That looks to be it. I tried changing it back, got this error: "Description cannot be approved, recent changes from related record must be merged first." Went to original Kata, sure enough, description has been completely redone. How can I 'reset' my description to the original Kata? Or merge it?
I take it back... it appears to be live already. Never got any notification or anything either..... http://www.codewars.com/kata/base-conversion/csharp
Currently, edit access to kata is only available to:
There are already a lot of 'abandoned' katas, e. g. with their author inactive. I am sure that moderators do not have enoght time to keep track of all these katas. This results in a lot of unresolved issues in such katas.
Another problem is that after beta process is finished, translator's do not have a way to improve their translations directly, but only through discussion page. If kata is abandoned or if author is not very proficient in the translated language, this poses a problem.
I suggest to make it possible to assign contributors to katas. This should mean that author or moderator can provide certain warrior with a power to edit certain kata directly for a certain period of time (or indefinite). Alternatively, if author is inactive, there could be an option to express willingness to maintain the kata, which can be approved by moderators if author does not respond in a week.
Ты ебаный пидар
Currently, as far as I understand, people get 3 honor points for solving katas in beta.
I suggest to keep giving those three points, but not just for solving the kata, but also for grading it:
...and when kata is finally approved and out of beta, warrior should get the amount of points corresponding to kata level (if, of course, his solution is still valid).
Love this!
In the Trainer of kata I'm currently creating "Your Test Cases:" are coming out of nowhere? Earlier I put them while creating the kata but after my first Preview of kata I deleted them in the kata's editor and again when I previewed my kata Those deleted "Your Test Cases:" came back. Then i tried to delete them in the Preview and returned to kata's editor and it prompt about local edits so i saved it and now in the kata's editor those "Your Test Cases:" are not there but when i preview the kata them came back in the preview mode......I'am so confused please help
If you want to get the video of what's happening then put a comment and I'll make one and post a dropbox link.
I'm trying to create a Kata for my clan. While I can find all kinds of great information on creating Katas (e.g. 1, 2 below), I can't find the link to the actual Kata Creater / Kata Editor.
Based on [1] I assumed it would be in my user icon drop-down, but all I have there is [View Profile, Account Settings, Edit Languages, Sign Out]. I've been through each of the three linked pages [View Profile, Account Settings, Edit Languages] and don't see it there either.
How do I access the Kata Creator/Editor?
[1] http://www.codewars.com/docs/kata-creator
[2] http://www.codewars.com/topics/kata-best-practices
p.s. for site admins - the feedback button in the lower-left navigation doesn't link to anything for me
p.p.s. for site admins - on 404 pages there is a broken email link to request help (points to info@codewa.rs which is bounced by the server)
For anyone else who doesn't have a visible link to the editor, the Kata and Kumite Editors can be accessed directly via http://www.codewars.com/kata/new and http://www.codewars.com/kumite/new, respectively.
Ты пидар
I can unpublish a kata translation but how do I delete it so that it doesn't show in my drafts list?
Currently not, as far as I know. See https://github.com/Codewars/codewars.com/issues/44
I expect this has been asked before, but is there a way to insert a smallish graphic into the kata description? I thought I had encountered one or two but was not thinking about my kata at the time. I believe a graphic will enhance the details greatly. I did, however, leave a link to the graphic, in any event. Thanks for your assistance!
Yup, just use Markdown's built-in support for images:
becomes
Excellent! Thank you!
Hi, My Kata " Simple Maths Test " says that it has 1 major issues, yet when I look in the comments section, I cannot see this any comment showing up as an issue.
I have responded to every message that has been put forward by the community.
Hope someone can help.
Thanks.
Seems like a bug.
Looks like a bug, as someone made another comment on my kata, and now it shows up as 2 major bugs, how do I report this bug?
I encountered this bug a few times, additionally 2 of my Katas are effected. It happens when you vote on a beta Kata with minor issue. For some reason the comment is then not seen as related to the issue, so there is no way to resolve it.
But, it can still be removed by the user who initiated it, by selecting ready.
Ты пидар!
[Suggestion]
Beta process REALLY should have some mechanism of detecting duplicates. This mechanism should also consider katas in other languages and suggest the
authorsensei to prefer translation rather then creating new kata.Have only primitive idea about how such a mechanism could be implemented: every kata should have set of tags describing its point, as detailed as possible, and mechanism should try to look for katas with similar set of tags or so.
The process currently for detecting duplicates is to report it as a "major issue" after completing the kata. So it's a social process instead of a technical one.
It would work OK if people wouldn't vote for duplicates as being ready. But it seems they do...
Okay, someone gave my Kata a Minor Issue for I had to prevent the possibility of cheating. So I fixed it straight away, but:
-I don't know who placed the Minor Issue;
-I can post all I want on my Kata, but the person who placed the Minor Issue is not removing it/changing it to "Ready"
How to solve this?
Kata: http://www.codewars.com/kata/greatest-common-divisor/discuss/python
I don't see any issues on that kata, it looks like it just need some more ranking feedback. Someone may have possibly changed it, though it shouldn't be possible for them to mark the kata as having an issue without leaving a comment. Where did you see that an issue was reported?
Thank you for your reply. I see the minor issue when I go to View Profile --> Kata --> Authored. "One minor issue reported"
How do I help translating existing katas to other languages?
Once you have unlocked the solutions in any of the existing languages, you can then add a new language to the kata by clicking on the
+
icon next to the existing languages. From there you can create a kata translation. Kata translations need to be approved by moderators.p.s. Something to remember when creating a translation is that the description is shared between all languages, so you need to add language examples to the description in addition to the ones that are already there. Also if a kata has language examples, then you must add examples for the new language. This tends to hold up some translations from being approved.
Hi, I have a question. Why is this: "Once you have unlocked the solutions in any of the existing languages" required? Why should one e. g. know JavaScript, Haskell or other language to translate a kata to Python (or vice versa)? In many cases a translation can be made based only on description.
I understand the technical side (i. e. when one edits a kata he can also see the solution and test cases in original language and the existing translation), but this is more a limitation than a reason.
Thanks,
suic
Thanks,
suic
A few reasons.
Hi, fair points but both are debatable.
Ad 2: I'm not dreaming about a perfect system as there are no perfect systems :) If I suppose that one doesn't want to cheat, then he has to solve the problem in the translated language. This is even more true, when there are random tests.
Ad 1: Many katas are in JavaScript. The fact that I have to produce a low-quality JS solution doesn't help me much in Python translations. But this could be different for other people.
Ah, I actually just realized the main reason why when you mentioned cheat. To translate a kata, you must see the solution in another language to do so - which is a security hole for cheating. You would have to forfeit the kata in order to see the solutions - which we also wanted to avoid.
morning all how does one go about adding additional assemblies to your kata?
doing the 254 sahdes of grey kata but i need to reference system.drawing
We may have to add that assembly reference to the runner, I think right now we only have a handful of assemblies being including within the compilation process. We will add that to our list of things to update.
thanks bud, working now :)