code: function aggregate (weights, values) {
    const max = 10 * R.sum(weights);
    const min = 1 * R.sum(weights);
    const sum = R.sum(R.zipWith(R.multiply, weights, values));
    return score(min, max, sum);
  }
docs: weighted aggregate score