code: def back_to_front(self, name):
      if name in self.FRONTEND_NAME_MAPPING_REVERSED:
          return self.FRONTEND_NAME_MAPPING_REVERSED[name]
      elif name in self.FRONTEND_NAME_MAPPING:
          return name
      elif (
          name.startswith("config.") and ".value" in name
      ):  # may be brittle: originally "endswith", but that doesn't work with nested keys...
          # strip is weird sometimes (??)
          return name.replace("config.", "").replace(".value", "")
      elif name.startswith("summary_metrics."):
          return name.replace("summary_metrics.", "")
      wandb.termerror(f"Unknown token: {name}")
      return name
  
imports: import ast
  import json
  import sys
  import urllib
  from wandb_gql import gql
  import wandb
  from wandb.apis import public
  from wandb.apis.attrs import Attrs
  from wandb.apis.paginator import Paginator
  from wandb.sdk.lib import ipython
label_desc: Use image node_id 10 for calling the PythonMongoishQueryGenerator obj's underlying member method code with example usage: obj.back_to_front(name) and returns: name, self, name, name, name