Ad
  • Default User Avatar

    yeah i commented without looking at the kata, i also think 3 kyu is fair

  • Custom User Avatar

    Though, I think 3kyu is not obviously unfair for this one.

  • Default User Avatar

    rank deflation over the years, Codewars is almost 10 years old

  • Custom User Avatar

    how is this 3kyu

  • Custom User Avatar

    It was just auto-unpublished again, for racking up two Issues while still in the first two days ..

    OP, may I also ( very much not instead of Docs ) point you to Discord, specifically #kata-ideas and #help-author, where you can ask for feedback while still in Draft?

  • Custom User Avatar

    eerrr, wait... What are you doing with arr, exactly? There is no syntax highlightning, so it's pretty hard to follow what's going on... :/

    (looks like you actually don't have random tests, in the end...)

  • Custom User Avatar

    3 random tests is not enough.

    Factor out random generation and run testing in a loop, and you should easily be able to run the normal 100 random tests without real effort. 100 is not an absolute; 50 or 200 would be fine too; 3, or on the other end, 1000, is under/overdoing it.

  • Custom User Avatar

    Hi,

    -> Missing random tests

    This kind of task has alrady been done a lot. There are little chances this kata survives the beta phase. I know you put efforts into it, but it might be preferable that you unpublish it to spare you the bad feedback. If you're intereted in authoring kata, I'd suggest that you start by digging into the documentation, so that you get a better idea about what might (or not) have a chance to survive the beta phase.

    https://docs.codewars.com/authoring/guidelines/kata

    Cheers!

  • Custom User Avatar

    Parenthesising works, but I'd keep it in a code block. Just space it out a bit to make room for the parens.

    11 is not 5 + 5 + 1, it's 5 + 5 + 1 + 0. I think it's better to explicitly name it, even if it doesn't add to the sum.

  • Custom User Avatar

    Works even better than I expected on the example tests! :] Never mind separating the actual input with newlines; this is just fine.

    Could you define f in submit testing with ["digits",..].join('|'), with the array spread out over several lines, too? Overly long lines mess up the colouration of the code.

  • Custom User Avatar

    Oh I see it now. I looked at all surrounding neighbours, also the diagonal ones.

  • Custom User Avatar

    I have created a seperate test case that will not generate a 0

  • Custom User Avatar

    if you use your solution on example case 2, I think it misses the 2 (left, second from bottom). My random test case is pretty bad, and I am trying to improve it.

  • Custom User Avatar

    removed from example, this is my first kata so I used the default layout

  • Custom User Avatar

    I have generated the rectangles better, now without preceding and trailing '|'

  • Loading more items...