Ad
  • Custom User Avatar

    Yep. It's all good.

  • Default User Avatar

    I pressed the button but nothing seems to change.

    Is now republished?

  • Custom User Avatar

    @authors, if all issues are resolved, you need to manually republish this kata (there's a button in the editor).

  • Custom User Avatar

    Okay, ran it a few times and it passed. I'll mark as fixed.

  • Default User Avatar

    We have been checking that issue and it's already solved (The proble was the key length > 18).

    I don't know how Codewars works internally but the problem seems to be, the time between we save the edited Kata and the time the server publish those changes, so now it has to work.

    Try again, I tried your solution and the random test are not giving key length > 17.
    Give us feedback please.

  • Custom User Avatar

    There still is an issue with your bounds. I don't have the phrase or key, but notice how instead of Z it expect ```:

    ERROR: Check decode method ==> expected: <mnZKWKHRzalSqqtylRPJsplbQqldQaJfQqTmNwknApx`ccHprhyGJGzFismRhujvafBlALtPsjvgBUjT> but was: <mnZKWKHRzalSqqtylRPJsplbQqldQaJfQqTmNwknApxZccHprhyGJGzFismRhujvafBlALtPsjvgBUjT>
    
    

    This one too, you're expecting [ instead of a:

    ERROR: Check encode method ==> expected: <OHIrtGrihndTTyHDKkfdLkktXAfGXlqDX[q> but was: <OHIrtGrihndTTyHDKkfdLkktXAfGXlqDXaq>

  • Default User Avatar

    Yes, we have an error generating the keys, but the max key length we have detected was 18 length and in your example your key has 23 length.

    Fixed. Try it again and give feedback please.

  • Custom User Avatar

    Screenshot.

    I am getting 25-30 tests on average with key longer than 17 characters.

  • Custom User Avatar

    I'm literally logging the inputs. You tell me how the key is greater than 17? You should actually verify this in the tests generator.

  • Default User Avatar

    As I told you in the previous issue the key cannot be longer than 17 as indicated in the kata description.

  • Custom User Avatar

    I didn't grab for those two, but here's another example (looks like your key lengths exceed 17 in random tests?):

    encode("SyMAmGZINBgTthiskAchkHaKQXdUKjijgavHFipPnAnlwLHilRYcWygfGHTIeSPtUUqEmLlmbfsvhFzQVdGTfKfwDJYuIJbsKVlTrLzqlYpDtfGdnEWITZtQPbjwSMqbFxhuSwRFxptBaDZodkgxnRArYduMAUyEAmHxQTAULgCzsveyCkUaLb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VeEBFE^poUeCeiUFhn\fAEnIJrRVnoXPEhlGWlPPfKwFIUNTuXE[vFkHnXxFuEzShmyKlMTNrFQyFQlErPhzAneAdDBm]hUxV^MLEtXcn]IkwFIjH[XWHvKRmSwzkJeF]iMiWUPddTNvPsUj[hp

  • Default User Avatar

    Could you tell me the key and the phrase you used please?

  • Custom User Avatar

    expected: <qBvvscRxiThwuPAzsfaZcAOHYs[KSNnRZnBPJdVlxVwtdxhBxoj> but was: <qBvvscRxiThwuPAzsfaZcAOHYsaKSNnRZnBPJdVlxVwtdxhBxoj>

    expected: <jSVhQhhKUVkbqrMwQJBCOfnqRaNGxaHndULnoyfwDpckLcZXQdcHnGFiQhxKPXbOECNyjeOVY`nacqLOlfpmCjTdhEywlvcqOaXRE> but was: <jSVhQhhKUVkbqrMwQJBCOfnqRaNGxaHndULnoyfwDpckLcZXQdcHnGFiQhxKPXbOECNyjeOVYZnacqLOlfpmCjTdhEywlvcqOaXRE>

    Still seeing a very small number of tests that include non-alphabetic chars.

  • Custom User Avatar

    opening new issue. The assert is okay and so are the test lengths.

  • Default User Avatar
  • Loading more items...