class_docstr: Maintain experiment list
class_docstr_tok: ["Maintain","experiment","list"]
code: def __init__(self, home_dir=NNI_HOME_DIR):
      os.makedirs(home_dir, exist_ok=True)
      self.experiment_file = os.path.join(home_dir, ".experiment")
      self.lock = get_file_lock(self.experiment_file, stale=2)
      with self.lock:
          self.experiments = self.read_file()
  
file_path: nni/nni/tools/nnictl/config_utils.py
imports: import os
  import sqlite3
  import nni
  from .constants import NNI_HOME_DIR
  from .common_utils import get_file_lock
label_desc: Use image node_id 1 to create a new Experiments object  with example: obj = Experiments(home_dir)