code: def replace_param_occurrences(string, params):
      
      for k, v in params.items():
          string = string.replace(k, str(v))
      return string
docs: replace occurrences of the tuning params with their current value