code: def gen_make_url_cases() -> List[Case]:
      host = "http://localhost:8080"
      path = "api/v1/experiments"
      cases: List[Case] = [
          Case("http://localhost:8080/", "", f"{host}/"),
          Case("http://localhost:8080", "", f"{host}"),
          Case(
              "http://localhost:8080",
              "/api/v1/experiments",
              f"{host}/{path}",
          ),
          Case(
              "http://localhost:8080",
              "api/v1/experiments/",
              f"{host}/{path}/",
          ),
          Case(
              "http://localhost:8080/",
              "/api/v1/experiments",
              f"{host}/{path}",
          ),
          Case(
              "http://localhost:8080/",
              "api/v1/experiments/",
              f"{host}/{path}/",
          ),
          Case(
              "http://localhost:8080/proxied/", "", f"{host}/proxied/"
          ),
          Case("http://localhost:8080/proxied", "", f"{host}/proxied"),
          Case(
              "http://localhost:8080/proxied/",
              f"{path}/",
              f"{host}/proxied/{path}/",
          ),
          Case(
              "http://localhost:8080",
              f"{host}/{path}/",
              f"{host}/{path}/",
          ),  # invalid path. unexpected case.
          # unsupported cases
          # Case("http://localhost:8080/proxied", f"/{path}", f"{host}/proxied/{path}"),
          # Case("http://localhost:8080/proxied", f"{path}/", f"{host}/proxied/{path}/"),
          # Case("http://localhost:8080/proxied/", f"/{path}", f"{host}/proxied/{path}"),
      ]
      return cases
  
imports: from typing import List, NamedTuple
  import pytest
  from determined.common.api import request
label_desc: Use image node_id 3 for calling a global function with example usage: gen_make_url_cases() and returns: cases