code: def construct_cli_call(cli_target, params):
      cli_call = StringIO()
      cli_call.write(cli_target)
      params = OrderedDict(sorted(params.items(), key=lambda t: t[0]))
      for param in params:
          cli_call.write(
              " -" + param + " \"'" + str(params[param]) + "'\""
          )
      return cli_call.getvalue()
  
file_path: auto-sklearn/autosklearn/metalearning/optimizers/optimizer_base.py
imports: import subprocess
  from collections import OrderedDict
  from io import StringIO
  from itertools import product
label_desc: Use image node_id 3 for calling a global function with example usage: construct_cli_call(cli_target, params) and returns: cli_call