docs: def evaluate_micro_mask(matrix, matrix_size):
      """\
      Evaluates the provided `matrix` of a Micro QR code.
  
      ISO/IEC 18004:2015(E) -- 7.8.3.2 Evaluation of Micro QR Code symbols (page 54)
  
      :param matrix: The matrix to evaluate
      :param matrix_size: The width (or height) of the matrix.
      :return int: The penalty score of the matrix.
      """
      sum1 = sum(matrix[i][-1] == 0x1 for i in range(1, matrix_size))
      sum2 = sum(matrix[-1][i] == 0x1 for i in range(1, matrix_size))
      return sum1 * 16 + sum2 if sum1 <= sum2 else sum2 * 16 + sum1