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.
This comment is hidden because it contains spoiler information about the solution
Hi everyone, I'm the author of the original version of the kata (python).
I'm sorry to known that there are issues with the random tests for the other languages...
apparently, codewars don't warn the authors of other versions...
Rule 2: All monomials appears in order of increasing number of variables
Rule 3: If two monomials have the same number of variables, they appears in lexicographic order
Fixed! There was a merge conflict and the kata translation wasn't updated.
My bad, I didn't noticed, don't blame the translator!
Ok, now I'have copypasted the code and it has not given me any issue.
I only changed the position of the class 'PolynomialSimplifierSolution' from preloaded code to test cases, so to prevent some cunning guy to use it from its code.
Use preloading only if:
. you give some black-box utility functions with an API, so that the user can call them without bothering about details of the implementation (useful if you want to implement a kata difficult in an abstract way (for example Object oriented)).
. you want forbid the usage of a specific keyword (for example goto) or a specific library so that, e.g., if a function in a library does already what your kata asks you can force people to implement it themselves.
. probably something else...
I've contacted the author of the translation...
I hope he can fix the issue soon.
Sorry for bothering you, but the bug doesn't seem to be fixed...
Now it should be fixed.
I'm marking the issue as resolved, tell me if the problem is still occurring.
Approved!
Hi, the translator should have already fixed the problem now.
I'm marking the issue as resolved, tell me if there are any problems.
Hi,
sorry for the incovenience.
We are fixing the problem (see above for the discourse with 'kolossa').
An advice: mark the issues you encounter with the 'issue' flag, so it is easier for those who should fix that to spot your message.
Hi, there is an issue about test cases, could you check out the Discourse?
Thanks
Hi,
I could infer that you are talking about the PHP version of the kata, is it correct?
I'm reforwarding the issue to the translator.
Hi, someone is complaining about random test cases in the JS version of the kata.
Could you fix that?
Hi, sorry for the late reply and the inconvenience.
I republished the haskell kata translation following your advices (I thrust their correctness).
Loading more items...