Ad
  • Custom User Avatar

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

  • Custom User Avatar

    The semantics of like and remove makes no sense: title is not unique so there can be multiple articles that match the same criteria.

    articleId that keeps shifting is insane as well. Does the kata author even know basic relational data concepts?

  • Custom User Avatar

    JS code formatting issue: article should be in title case because it is a constructor to an object.

  • Custom User Avatar

    There are no random tests.

  • Default User Avatar

    Very rarely, the random tests will generate mazes with no possible exit path, e.g.

    [ [ '_', '_', '_', '_', '_' ],
      [ '_', 'W', 'W', 'W', 'W' ],
      [ 'W', 'W', 'W', 'W', '_' ],
      [ '_', '_', '_', '_', 'x' ],
      [ 'W', 'W', 'W', 'W', 'W' ] ]
    

    which isn't supposed to happen.

    nice kata tho :)

  • Custom User Avatar

    duplicate

  • Custom User Avatar

    You aren't really testing anything in your requirements. The tests woefully inadequate.

  • Custom User Avatar

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

  • Default User Avatar

    The description doesn't mention that month and day values outside the valid range should be accepted as equivalent to the nearest valid value. A solution that rejects invalid input would meet the requirements of the description yet fail the test cases--a false negative.

  • Default User Avatar

    This kata has no random test cases. Thus, it is possible to pass the tests by regurgitating the expected responses in the proper order, as has been demonstrated.

  • Custom User Avatar

    A little bug in random test, the maze array generation maybe use the Wrong clone mode, some lines are used to replicate the generation of other lines, so if you directly modify the maze array data in these line ,They will change together.

  • Custom User Avatar

    I agree with OverZealous about missing information.
    Codewars kata in which the puzzle is to work out what the kata is supposed to be doing are not good.

    The test cases spend a lot of time dealing with invalid input dates, but this is not specified in the description either.

    There needs to be random test cases.

  • Custom User Avatar

    Having "solved" this kata you really need a LOT more tests.

  • Custom User Avatar

    There is potential for an interesting kata here, but I think it needs some work.

    Kata that are just data entry are no fun, you should provide a data structure with the birds, their colours, and their last flown dates as part of the setup.

    Tests need to be more helpful and give some kind of guide about what to do.
    The default solution gives a syntax error and on commenting that out just the following cryptic error message:

    `': undefined method `size' for nil:NilClass (NoMethodError)