code: function getRating (keyword, apps) {
      const avg = R.sum(apps.map((app) => app.score || 0)) / apps.length;
      return {
        avg,
        score: avg * 2
      };
    }
docs: /*
  Score the average rating among the top apps.