code: def generate_curves(n):
      points = [
          tuple(float(random.randint(0, 2048)) for coord in range(2))
          for point in range(1 + 3 * n)
      ]
      curves = []
      for i in range(n):
          curves.append(tuple(points[i * 3 : i * 3 + 4]))
      return curves
  
file_path: catboost/contrib/python/fonttools/fontTools/qu2cu/benchmark.py
imports: from .qu2cu import *
  from fontTools.cu2qu import curve_to_quadratic
  import random
  import timeit
label_desc: Use image node_id 1 for calling a global function with example usage: generate_curves(n) and returns: curves