Ad
  • Custom User Avatar

    Thanks for the info.

  • Custom User Avatar

    I got it but I'd like to get a reasonable explanation to my question: "Why this is not fixed yet?"
    Or at least an advice for a workaround.
    It makes to complete this kata painful.

  • Custom User Avatar

    Few randomized tests has incorrect reference value. I can see the this is also reported a few years ago.
    Why this is not fixed yet?

    Ie. the reference return value should be 34 hovever the shortest path is 32.

    XXX__XXXXXXXXXXXXXXXXXXXXXX_____

    XXX__XXXXXXXXXXXX____XXXXXXXXX__

    XXX_______________XXXXXXXXX______XXXXXXX

    XXX__XXXXXXXXX__L____L
    ______

    XXX____________L___L____E___________

    XX___________L_______L_XXXXXXXXX____

    _XXX_________L____XXXXXXXXX_XXXXXXXXXXXXX

    XXX_______L_______XXXXXXXXX__XXXXXXXXXXXXX

    XXX______LXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    XXX____XXXXXXXXXXXXXXXXXXXXXXXXXXX


    XX______LXXXXXXXXX________________XXXXXXXXX

    XXX_____XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX__XX

    XXX_______L____________________________XXXXX

    XX_________________________XXXXXXXXX____XXXX

    XX_________LXXXXXXXXX___XXXXXXXXX___XXXXXXXX

    XXX______________________________________XXXX

    XXX__________L__________________________XXXXX

    XX___________XXXXXXXXXXXXXX___________XXXXXXX

    XX__________L__XXXXXXXXX______________XXXXXXX

    XX___________________XXXXXXXXX__XXXXXXXXXXXXX

    XXX_________L______XXXXXXXXX_XXXXXXXXXXXXXXXXX

    XXX_____________XXXXXXXXXXXX____XXXXXXXXXXXXX


    XXX________L_______________XXXXXXXXXXXXXXXXXXX

    XXX______________XXXXXXXXX_____XXXXXXXXXXXXXXX

    XXX_______LXXXXXXXXXXXXX_________XXXXXXXXX


    XXX_________________XXXXXXXXX___XXXXXXXXX__XXX

    XXX______L______XXXXXXXXX______XXXXXXXXXX


    XXX__________________________XXXXXXXXXXXXX_XXX

    XXX_____L___________________XXXXXXXXXX


    XXX_______________XXXXXXXXXXXXXXXXXXXXX______X

    XXX____L__XXXXXXXXX__XXXXXXXXXXXXXXXXX_____XXX

    XXX_______XXXXXXXXX______XXXXXXXXXXXXXXXXXXXXX

    XXX_____L___XXXXXXXXX___________XXXXXXXXXXXXXX

    XXX_________XXXXXXXXX____________XXXXXXXXXXXXX

    XXX______L________________________XXXXXXXXXXXX

    XX______________________XXXXXXXXX_XXXXXXXXXX

    XX_______L___XXXXXXXXXXXX__________XXXXXXXXX

    XX________XXXXXXXXX_________________XXXXXXXX

    _XXX_____L________XXXXXXXXXXXXXXXXXXXXXXXXXXXX

    XXXXX______________XXXXXXXXXXXX_XXXXXXXXXXXXXX

    XXXXXX__L___XXXXXXXXXXXXXXX_______XXXXX_XXXXXX

    XXXXXXX___XXXXXXXXXXX____________XXXXXXXXXXXXX

    XXXXXXXX_LXXXXXXXXX________XXXXXXXXXX__XXXXXXX

    XXXXXXXXX__L___L___L___XXXXXXXXXXXXX____XXXXXX

    XXXXXXXXXX___L___L___S___XXXXXXXXXXXXXXXXXXXXX

    XXXXXXXXXXX__XXXXXXXXX__XXXXXXXXXXXXXXXXXXXXXX

    XXXXXXXXXXX_______XXXXXXXXXXXXXXXXXXXXXXXXXX

    __XXXXXXXXXXXXXXXXXX___XXXXXXXXXX__________XXX

  • Custom User Avatar

    But it is. I reload several times the page with pushing the refresh button many times.
    And also delete the cookies from the browser so I must to log in again.
    I opend the Kata and still Python 3.X is disabled.

  • Custom User Avatar

    What do you mean "reset the trainer", it is the "Reset" button?
    I tried it many times, but 3.X interpeters are still disabled.

  • Custom User Avatar

    I always get the following error:

    Traceback (most recent call last):
    File "main.py", line 114, in
    fixed = generate(1, size+1, size)[0]
    File "main.py", line 68, in generate
    generate._pool_cache.append(''.join(random.choices(combos, k=chunk_len//combo_len)))
    AttributeError: 'module' object has no attribute 'choices'

    10 basic tests are passed. In Python2 'choices' method not exist.
    Why Python 3.X interpreters are disabled?

  • Custom User Avatar

    Thanks, it is corrected!

  • Custom User Avatar

    Many Thanks for checking correctness of this kata solutions, it seems I am beginner in translation! :)
    I removed preloaded part and also removed creating globals. I hope test cannot be hacked anymore! :)

  • Custom User Avatar

    OMG! :D I tried to reload the page (Ctrl+F5 or Crtl+r) or opening it in a new tab but it seems that the service remembers everything not just your last trial! I found the "RESET" button and it refreshed accoring to my modification! :) Other interesting thing that the page says the "5 times Python has been comleted out of all kata completions" but if I view the solutions only mine is there and two wrong solutions, one of them is yours to prove the bug. Anyhow I count it it's only three.

  • Custom User Avatar

    Thanks for it! I corrected it but after either clicking on "Reset" and/or "Re-Publish" buttons in any order nothing changes on my side. I still see the old test code when I open the kata to practice!
    Your wrote that: "you need to reset the trainer (button)". I don't see any "trainer" button. There is a "Trainer" option in the "Go To" drop down at the right uppper corner but I don't think that it directs to the practice page.
    It's quiet unclear for me how you can see my previous update while I see the old veriosn?!

  • Custom User Avatar

    Maybe I can not undersand how "Edit Kata" option works. I have tried several times to modify the tests but it will not have any affect when click on the "train again" button. (I used the "validate solution" first and then the "Re-Publish" button.)

  • Custom User Avatar

    Thanks for the mid-sized tests, I'll fixed the tests and also tryed to disable Python2, because I think tests won't work but couldn't find it how to do?!
    Can you help me with this issue as well?

  • Custom User Avatar

    Sorry for the mistakes, I corrected the tests.
    Is it okay now at your side too?

  • Custom User Avatar

    Python translation kumited.

  • Custom User Avatar

    Python translation is ready but it's my first translation and I do not undersand really how it will be visible as optional language. Can anyone help on this?

  • Loading more items...