code: def random_shuffle_directory(input_dir, output_dir, short_name):
      input_files = os.listdir(input_dir)
      input_files = sorted(input_files)
      random_shuffle_files(
          input_dir, input_files, output_dir, short_name
      )
  
imports: from collections import defaultdict
  import json
  import os
  import random
  from stanza.models.common.doc import Document
  import stanza.utils.datasets.ner.prepare_ner_file
label_desc: Use image node_id 8 for calling a global function with example usage: random_shuffle_directory(input_dir, output_dir, short_name) without return types