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.
IMO its better to comment all sample tests (to give an example how test could be implemented) and leave the decision to write them or not to the user as it done in most katas.
Sample tests for ruby is invalid. Test are failing because
open(url)
performs the actual network request, getting the most recent data and tests is based on old data. Also if you try to submit solution (by pressing attempt button) even if sample test failing, it will be accepted (if it working properly), this is very confusing.I think the solution should be to stub network requests or use hidden tests (i'm not sure however is it possible to hide the body of
process_data_sol
andbuild_leaderboard
from user until he solves this kata).