code: def __init__(self, metadata=None, **kw):
      self.metadata = metadata
      super(CodeInstance, self).__init__(**kw)
  
imports: import io
  import json
  import os
  from typing import List, Dict, Iterable, Optional, cast
  from helm.common.general import ensure_file_downloaded
  from helm.common.hierarchical_logger import hlog
  from .code_scenario_helper import run
  from .code_scenario_apps_pinned_file_order import apps_listdir_with_pinned_order
  from .scenario import Scenario, Instance, Reference, TRAIN_SPLIT, VALID_SPLIT, TEST_SPLIT, CORRECT_TAG, Input, Output
label_desc: Use image node_id 1 to create a new CodeInstance object from inherited base classes: Instance with example: obj = CodeInstance(metadata)