Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
you work indivudally and don't use chatGPT and you're the best coder in the world bro
Should be all fixed now. Note that int changed to long, so you'll need to change that.
(cw doesn't send out notifications in this scenario so I didn't see your messages until now)
Yeah the issue isn't solved. But it's a duplicate. So the issue is still open. And it's being worked on. Probably. The translation author did poke at it but it needs another pass and uh. The point is, the issue isn't being ignored.
I think you're wrong about the size being different from 8 though. Maybe you're printing it in some weird way that you're looking at two of them. Java people seem to be prone to that kind of thing, while for example python/js people can just print it and get it neatly formatted and therefore won't mix them up that way. (not that it matters until the other issue gets fixed)
So the issue still is not solved.
I don't see any further details I could share. Those are the details. Your test gen generates cases that do not have a solution.
Which is to say, they do not satisfy the property in the kata description
instead it is:
there are examples of such invalid test cases in the open issue above, another example of an invalid test case that your test gen may generate is
[1, 1, 1, 1, 1, 1, 1, 1]
Tried it. First of all the size of the initial array is more than 8 but in the description it says it is 8. Second, it expects and returns a number that is not even in the initial given array.
@natan, could you explain in a little more detail what the problem is?
by printing. please don't open issues without having fully worked out what's going on. if there already is an issue that you think matches, don't create a duplicate.
yes, but, duplicate issue
@Featres test gen generates invalid input, note requirements in description on input and lack of enforcing that in the gen code, instead picking 4 random values that don't relate to each other.
.. last seen december, ~2months ago, though.
kinda wish we had bit of an ownership/accountability/nosy system going on with notifications and such, instead of like here, having people not notice issues popping up within one month on their translations/approvals.
I do not know. Is there a way to see the random tests' inputs? Because I can only see the results and the errors, NOT the inputs of the random tests. And by the way only random tests don't pass. All the other tests pass. And as I can see in this discussion many other people had the same issue like I have.
what was the test then?
not passing tests is in itself normal.
Java
All tests pass except random tests. Think there is an issue with the condition in random tests that doesn't match the condition described in the instruction.
using Java by the way.
guys can pass all tests except random ones. Any ideas what to do?
Loading more items...