Ad
  • Custom User Avatar
  • Custom User Avatar
  • Custom User Avatar

    The kata there is a sentence:
    "..It should find two different items in the array"

    The point there is about finding different values in context of array (different indices of values, not values itself)

    Description should be fixed to clarify it

  • Default User Avatar

    JavaScript:

    • initial code should use a Class
    • no random tests
    • chai assertions should be used

    fork fixing all

  • Custom User Avatar

    No random tests in Java.

  • Custom User Avatar

    Duplicate of at least 2 other kata's about ranges. And those kata's are published, without any issues, and with added performance constraints.

  • Custom User Avatar

    Random tests are floating point numbers, but description says all numbers are integers. Btw floating point numbers are a horrible idea. How will you assess ranges that "meet" with truncation and rounding errors in floating points?

  • Default User Avatar

    Haskell tests appear to be broken. My solution failed on the randomized tests:
    Falsifiable (after 7 tests and 4 shrinks):
    "aa\71319a"
    expected: "a2a"
    but got: "aa\71319a"
    Is \71319 supposed to be a character?

  • Custom User Avatar

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

  • Custom User Avatar

    [At least python, maybe other languages]

    • Random tests don't check that the function returns two DIFFERENT items.

    [Python]

    • Only one random test.
    • Tests raise exceptions if indexes are out of range.
    • The return type should be a tuple, the pythonic way to return a pair of values (and there are many valid solutions with tuples invalidated by the last fork)

    (Working on python version.)

  • Custom User Avatar
    • Description should be langugae-agnostic

    • Numbers might be passed in replacement of booleans, so false may be passed in as 0 and true may be passed in as 1. (This requirement should be removed since this is bad coding practices and not every language shares this property)

  • Custom User Avatar
    • Only 1 "random" test in JS is not acceptable prior to current standards

    • Node 18. should be enabled

  • Custom User Avatar

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

  • Default User Avatar

    This kata is 8 years old and yet the first sample test for JavaScript returns the wrong solution. I finally ignored this, pressed submit, and passed. Author is inactive. Who will fix?

  • Custom User Avatar

    Ruby should be updated to 3.0

  • Loading more items...