class_docstr: Execute fast ACUTE runs.
class_docstr_tok: ["Execute","fast","ACUTE","runs","."]
docstr: Return path to selfchat log for a given model, given inputs.
  
  Useful for getting selfchat log path without instantiating the exector.
docstr_tok: ["Return","path","to","selfchat","log","for","a","given","model",",","given","inputs",".","Useful","for","getting","selfchat","log","path","without","instantiating","the","exector","."]
code: def get_relative_selfchat_log_path(
      root_dir: str, model: str, task: str
  ) -> str:
      """
      Return path to selfchat log for a given model, given inputs.
  
      Useful for getting selfchat log path without instantiating the exector.
      """
      self_chats_folder = os.path.join(root_dir, "self_chats")
      os.makedirs(self_chats_folder, exist_ok=True)
      return os.path.join(
          self_chats_folder, f"{model}.{task.replace(':', '_')}.jsonl"
      )
  
imports: import datetime
  import json
  import os
  import random
  import time
  from dataclasses import dataclass, field
  from itertools import combinations
  from typing import Any, Dict, List, Optional, Set, Tuple
  import hydra
  import torch
  from mephisto.operations.hydra_config import register_script_config
  from mephisto.operations.operator import Operator
  from mephisto.tools.scripts import load_db_and_process_config
  from omegaconf import DictConfig, OmegaConf
  from parlai.crowdsourcing.tasks.acute_eval.analysis import AcuteAnalyzer, setup_args
  from parlai.crowdsourcing.tasks.acute_eval.dump_task_to_acute_format import dump_data, setup_args
  from parlai.crowdsourcing.tasks.acute_eval.fast_acute_blueprint import FAST_ACUTE_BLUEPRINT_TYPE
  from parlai.crowdsourcing.tasks.acute_eval.util import get_hashed_combo_path, TASK_DIRECTORY
  from parlai.crowdsourcing.utils.mturk import MTurkRunScriptConfig
  from parlai.scripts.self_chat import self_chat, setup_args
  from parlai.utils.strings import normalize_reply
  from parlai.utils.testing import capture_output
label_desc: Use image node_id 6 for calling the FastAcuteExecutor obj's underlying member method code with example usage: obj.get_relative_selfchat_log_path(root_dir, model, task) and returns: os