docs: function scoreBlackWhiteRun(sequence, ratios) {
          const averageSize = sum(sequence) / sum(ratios);
          let error = 0;
          ratios.forEach((ratio, i) => {
              error += Math.pow((sequence[i] - ratio * averageSize), 2);
          });
          return { averageSize, error };
      }