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.
Reference solution in JS is too slow. Please pick a faster one, like mine for instance.
What counts as "struck"? This is not explained.
Conflict in spec. It's not clear whether we need to wait for 3 strucks, or the first + 3 next strucks (= 4 strucks).
The same linear solution takes 11886ms in Javascript and 6s in Python. Is it intended ?
Add ruby to issues below (-> random tests are too random).
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Link to the picture in the description is dead.
In Python (2 and 3), I timeout even if I just return an empty list without any computing.
Am I missing something?
This comment is hidden because it contains spoiler information about the solution
You're scraping the data from CW user page and not from CW API, which means the data will be a few hours behind the actual data, some values will be inconsistent from values obtained from the API (yes, some values do IIRC), and when CW main site is choking there's no way to run the kata without timing out.
Python and Ruby version has different expected values for creation ratio:
Honor ratio and creation ratio is only partially tested: why only test
sort_by_...
methods and read off the final names when you're already checking the existence ofhonor_ratio
andcreation_ratio
? As far as the test is currently being at only their relative values matter.Also Ruby, actual tests:
You need to specify encoding when using
nokogiri
or the HTML will be parsed as ascii and not utf-8.Loading more items...