Codacy style changes for test files
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
const percentile = (arr, val) =>
|
||||
(100 * arr.reduce((acc, v) => acc + (v < val ? 1 : 0) + (v === val ? 0.5 : 0), 0)) / arr.length;
|
||||
|
||||
module.exports = percentile;
|
||||
module.exports = percentile;
|
||||
|
||||
Reference in New Issue
Block a user