code: def fill_up_test_data(extra_params: dict = None):
      # put dummy data into test repo with 10 runs, tracking 2 metrics over 3 contexts
      repo = Repo.default_repo()
  
      contexts = [
          {"is_training": True, "subset": "train"},
          {"is_training": True, "subset": "val"},
          {"is_training": False},
      ]
      metrics = ["loss", "accuracy"]
  
      with repo.structured_db:
          runs = []
          for idx in range(10):
              run = Run(repo=repo, system_tracking_interval=None)
              run[...] = extra_params
              run["hparams"] = create_run_params()
              run["run_index"] = idx
              run["start_time"] = datetime.datetime.utcnow().isoformat()
              run["name"] = f"Run # {idx}"
              run.name = run["name"]
              runs.append(run)
              metric_contexts = itertools.product(metrics, contexts)
              for metric_context in metric_contexts:
                  metric = metric_context[0]
                  context = metric_context[1]
                  if metric == "accuracy" and "subset" in context:
                      continue
                  else:
                      # track 100 values per run
                      for step in range(100):
                          val = 1.0 - 1.0 / (step + 1)
                          run.track(
                              val,
                              name=metric,
                              step=step,
                              epoch=1,
                              context=context,
                          )
          for run in runs:
              run.finalize()
  
imports: import datetime
  import itertools
  import os.path
  import shutil
  import numpy
  from PIL import Image
  from typing import Iterator
  import struct
  from sqlalchemy import text
  from aim.sdk.repo import Repo
  from aim.sdk.run import Run
  from aim.sdk.objects.image import Image
  from aim.storage.structured.sql_engine.models import Base
  from aim.web.api.db import get_contexted_session
  from aim.web.api.db import Base
label_desc: Use image node_id 6 for calling a global function with example usage: fill_up_test_data(extra_params) without return types