Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
The semantics of
like
andremove
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?JS code formatting issue:
article
should be in title case because it is a constructor to an object.There are no random tests.
Very rarely, the random tests will generate mazes with no possible exit path, e.g.
which isn't supposed to happen.
nice kata tho :)
duplicate
You aren't really testing anything in your requirements. The tests woefully inadequate.
This comment is hidden because it contains spoiler information about the solution
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.
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.
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.
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.
Having "solved" this kata you really need a LOT more tests.
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)