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.
Floating point errors:
Description should be language-agnostic
Also, The global array in ruby should be
$league_table
Inconsistency among languages:
No random tests in JS
Node 14. should be enabled
Ruby 3.0 should be enabled, see this to learn how to do it
Python new test framework should be used (Refer this & this for more detail)
Ruby 3.0 should be enabled (Refer this & this for more detail)
Ruby :
I disagree with the results of the first test. One quarter of the way through an array of 7 elements would be 7/4 or 1 3/4. That would place the first quarter cutoff between the first and second elements of the array (indices 0 and 1). So the values at those two indices should be averaged to produce the result, according to your instructions. There is a similar problem with the 3/4 test.
This comment is hidden because it contains spoiler information about the solution