Ad
  • Custom User Avatar

    Typo removed

  • Custom User Avatar

    Thank you for your suggestion ! This indeed sounds a good idea to make it interesting for a wider range of warriors

  • Custom User Avatar

    Thanks for your suggestions and pointing out the typo!
    Reading the feedbacks it seems that the kata indeed lacks interest.
    It was intended to let a beginner user find out how are adding computations performed at a low level scope, thus the intentionnal low difficulty for solving it. But maybe this is not a matter a beginner user cares about, in wich case the kata misses its aim.
    I've been suggested to make it a golf code kata, wich combined to your suggestion sounds like a nice idea to make it more interesting

  • Custom User Avatar

    Thanks for your suggestions, just changed the expected output in Python from a list to a tupple, I'll modify the randomness logic of the tests this evening!

  • Custom User Avatar

    It's indeed not a problem coming from the tests so the issue is no longer relevant about this specific Kata.

  • Custom User Avatar

    Thanks, I'll open an issue there ! Great kata by the way, still a lot of work to do to actually make it pass for real !!

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
  • Custom User Avatar

    It would be interesting in a performance oriented kata to have infos about the number of tests included in the full serie,
    or any info returned about the number of tests passed within the 12.000 ms : I can only get "Passed: 0, Failed:1, Error: 1, Exit Code: 1", though my code actually passes up to +/-70 tests in Python.
    It can be quite tricky to optimize a code without knowing the objective and how far one is from completing it, but maybe it's part of the task ;)

  • Custom User Avatar

    Maybe I've missed something, but how can the expected result for the decoder function be a longer string than the input one? Using JavaScript

    Here's the log I get when I print the string input and the string lenght.

    Log
    Encode

    anoA aiu upm irm imrnn t axidsrrtueaisaa traau au foesueii.ui sfq to m sem edun tPtsinstc mstrD,itoa s!erecvtpeetdicoicv ee tuurep gsn tt s!juevinotpriaiseaixdlarnsdp ioismee etoe r aml flV ienear iek!u ,ti aqeocbrfi u iieiimon iipreeo ee

    string length : 244

    Decode

    asintiooPniAts tpancdiu sudmn esru tapmrlmeDd s,x iiimtar oemoas t i saiq!imferrsrpn etnico uvnt.ti ipvaieexeeuiutjdsd!seisroc rfott ituuc eavna si egsue aa paate rurtu

    string length : 173
    Expected: 'anoA aiu upm irm imrnn t axidsrrtueaisaa traau au foesueii.ui sfq to m sem edun tPtsinstc mstrD,itoa s!erecvtpeetdicoicv ee tuurep gsn tt s!juevinotpriaiseaixdlarnsdp ioismee etoe r aml flV ienear iek!u ,ti aqeocbrfi u iieiimon iipreeo ee',
    instead got: 'anoA aiu upm irm imrnn t axidsrrtueaisaa traau au foesueii.ui sfq to m sem edun tPtsinstc mstrD,itoa s!erecvtpeetdicoicv ee tuurep gsn tt s!juevinotpriaiseaixdlarnsdp ioi'

    I can pass all 10 basic tests, but none of the random, if anyone can help