code: def do_annealing_poly(start:Number, end:Number, pct:float, degree:Number)->Number:
      "Helper function for `anneal_poly`."
      return end + (start-end) * (1-pct)**degref do_annealing_poly(start:Number, end:Number, pct:float, degree:Number)->Number:
      "Helper function for `anneal_poly`."
      return end + (start-end) * (1-pct)**degree
docs: Helper function for `anneal_poly`.