Ad
  • Custom User Avatar

    ha, you could say that. I mostly only monitor beta keta these days. Looking forward to what you've got.

  • Custom User Avatar

    kind of, my progress has slowed down a lot in the last 2 years.

  • Custom User Avatar

    a few ways:

    • call the reference solution (your solution) before the user's solution when running the tests
    • use a copy of the list as inputs: lst[:] when running the tests
  • Custom User Avatar

    i think there's still an issue. I'm on a phone and debugging is a pain, but here's an example.

    expected 'kkkk\nkkkkk\nkkkkkk\nkkkkkkk\nkkkkkkkkk\nkkkkkkkkkkk\nkkkkkkkkkkkk\nkkkkkkkkkkkkk\nkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkk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kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkkkkkk\nkkkkkkkkkkkkkk\nkkkkkkkkkkkkk\nkkkkkkkkkkkk\nkkkkkkkkkkk\nkkkkkkkkk\nkkkkkk\nkkkk'

  • Custom User Avatar

    I believe there's still an issue with removing duplicate largest lines:

    expected '\njjjj\njjjjj\njjjjjj\njjjjjjj\njjjjjjjj\njjjjjjjjj\njjjjjjjjjj\njjjjjjjjjjj\njjjjjjjjjjjj\njjjjjjjjjjjjj\njjjjjjjjjjjjjj\njjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjjjjjjjjjj\njjjjj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j\njjjjjjjjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjjj\njjjjjjjjjjjjjjj\njjjjjjjjjjjj\njjjjjjjjjjj\njjjjjjjjjj\njjjjjjjjj\njjjjjjjj\njjjjjjj\njjjjjj\njjjj'

  • Custom User Avatar

    improper use of the codewars testing framework.

    Please read how to author content: https://docs.codewars.com/languages/python/authoring

  • Custom User Avatar

    missing sample tests (and likely random tests as well)

  • Custom User Avatar

    spelling mistake in tests:

    'partipicative' => 'participative'

  • Custom User Avatar

    are the random tests even generating proper molecules?. If I print the first 10 chars I get things like "H)4305C)59".

  • Custom User Avatar

    Very nice! Liked this one a lot.

  • Custom User Avatar
    Traceback (most recent call last):
      File "/workspace/default/tests.py", line 2, in <module>
        from solution import hello
      File "/workspace/default/solution.py", line 1, in <module>
        from preloaded import *
      File "/workspace/default/preloaded.py", line 1
        def hello(name):
                        ^
    IndentationError: expected an indented block after function definition on line 1
    
    • it looks like you've put the starter code in preloaded (it shouldn't be here as there's nothing this kata needs to be preloaded)
    • the kata should be written in English
    • this isn't a novel idea for a kata (it's been done before and is a duplicate)
  • Custom User Avatar

    The expected sorting isn't correct:

    [[3, 4, 5], [5, 12, 13], [11, 60, 61], [16, 63, 65], [30, 40, 50], [40, 75, 85], [60, 63, 87], [60, 80, 100], [75, 100, 125]] should equal [[3, 4, 5], [5, 12, 13], [11, 60, 61], [60, 63, 87], [16, 63, 65], [60, 80, 100], [40, 75, 85], [75, 100, 125], [30, 40, 50]]

  • Custom User Avatar

    same. Even following along with the "video" the author describes, my solution passes around 30 per run.

  • Custom User Avatar

    the kata description already mentions this detail

  • Custom User Avatar

    Approved. Thank you!

  • Loading more items...