code: def update_new_report(
      input_dir, output_dir, add_report_id, del_report_id
  ):
      # Add new report
      new_dir = os.path.join(output_dir, str(add_report_id))
      print("Creating artifacts ", new_dir)
      copy_benchmark_reports(input_dir, new_dir)
  
      # Remove old report
      if isinstance(del_report_id, int):
          rm_dir = os.path.join(
              output_dir, str(del_report_id % WINDOW_LEN)
          )
          print("Removing artifacts ", rm_dir)
          shutil.rmtree(rm_dir, ignore_errors=True)
  
imports: import argparse
  import os
  import shutil
label_desc: Use image node_id 2 for calling a global function with example usage: update_new_report(input_dir, output_dir, add_report_id, del_report_id) without return types