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.
Issue persists.
From the output I assume that you are not using
test.assert_approx_equals(...)
which would provide the expected information upon failure.Error-margin Tests are not debuggable!
They do not reflect by how much my model deviates from the expected result. The output is just
Error to big.
.Either
The
Object-Oriented Programming
tag is needless for this kata.Of course, way easier than what I was building. Thank you!
I am satisfied to inform you, that your solution now fails successfully ;)
Closing this.
I understand. But I have also heard the opposite.
My opinion would be that if the act of formulating a solution from the problem is considered X-kyu, then the kata should be rated X-kyu.
But I guess, it is not for me to decide.
Thanks for hinting that!
Letting you know, that I am currently working on a fix.
However, it turns out that it is not that trivial to do.
If you have any suggestions, I am eager to hear what you propose.
This comment is hidden because it contains spoiler information about the solution
Something that is new to me also, good to know!
Ok, I agree. Since you are more experience, what would you suggest out of the following choices: 10ms, 50ms, 100ms ?
Size of the matrices is
n^3
many integers. The type of the input isnp.ndarray
as the inputs are easier to generate using numpy and I can add this to the kata description.I see that there will be a discrepancy since the fixed example test cases are fed nested Python lists.
However, finalizing the generation process with numpy's
.tolist()
causes even more time overhead which would require to reduce test case numbers if the input should always be a Python list.Any thoughts?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hey, I am fairly new to authoring katas myself and working one my first one, but I can try to help you.
However, things that you should read prior to that are the codewars docs to be found at:
and
I guess that these should clarify most of your issues.
If not, then I suggest that you join the codewars' Discord server via the invite found in the lefthand side of the codewars webpage:
There you can either try to contact me (same user name) or ask the community for help in the
help-author
channel.as issues are resolved: republishing for more feedback.
Thank you for your feedback!
The kata description has been augmented by a section that addresses this logical edge case:
resolved.
n
) updated to a better fitresolved.
resolved.
Loading more items...