code: def random_indices(list_length: int, percentage: int) -> Set[int]:
      random.seed(42)
  
      return set(
          random.sample(
              range(list_length),
              list_length * (100 - percentage) // 100,
          )
      )
  
file_path: ParlAI/projects/roscoe/roscoe_data/restore_data.py
imports: import copy
  import json
  import os
  import random
  from typing import Any, Dict, Iterable, List, Set
  from parlai.core.params import ParlaiParser
label_desc: Use image node_id 1 for calling a global function with example usage: random_indices(list_length, percentage) and returns: set