code: def generate_params(received_params):
      """generate parameters based on received parameters"""
      params = {
          "benchmarks": "fillrandom",
          "threads": 1,
          "key_size": 20,
          "value_size": 100,
          "num": 13107200,
          "db": "/tmp/rockdb",
          "disable_wal": 1,
          "max_background_flushes": 1,
          "max_background_compactions": 4,
          "write_buffer_size": 67108864,
          "max_write_buffer_number": 16,
          "min_write_buffer_number_to_merge": 2,
          "level0_file_num_compaction_trigger": 2,
          "max_bytes_for_level_base": 268435456,
          "max_bytes_for_level_multiplier": 10,
          "target_file_size_base": 33554432,
          "target_file_size_multiplier": 1,
      }
  
      for k, v in received_params.items():
          params[k] = int(v)
  
      return params
  
imports: import nni
  import subprocess
  import logging
label_desc: Use image node_id 2 for calling a global function with example usage: generate_params(received_params) and returns: params