code: def get_completion_state(val, get_from):
      "return a completion object, possibly creating a new one and adding it to get_from if it doesn't exist"
      if f"{val}" in get_from:
          current_obj = get_from[f"{val}"]
      else:
          current_obj = {"state": "in_progress"}
          get_from[f"{val}"] = current_obj
      return current_obj, current_obj
  
file_path: theta-layer-drugs/sample_generator.py
imports: import time
  import sys
  from drugs.nice_imports import efficiency_stuff
  import torch
  from transformers import AutoTokenizer, TextStreamer, AutoModelForCausalLM
  from drugs.dgenerate import DRUGS
  from sample_generations.to_samples_text import template_stringed_init
  import os
  import json
label_desc: Use image node_id 2 for calling a global function with example usage: get_completion_state(val, get_from) and returns: current_obj,  current_obj