code: def uncomment_line(line: str, extension: str) -> str:
      if extension not in COMMENT_CHARS:
          raise RuntimeError(
              f"Unknown file type: {extension}\nDid you register it using {FolderFunction.register_file_type.__name__}?"
          )
      pattern = r"^(?P<indent> *)"
      pattern += (
          r"(?P<linetoken>"
          + COMMENT_CHARS[extension]
          + r" *"
          + LINETOKEN
          + r" *)"
      )
      pattern += r"(?P<command>.*)"
      lineseg = re.search(pattern, line)
      if lineseg is not None:
          line = lineseg.group("indent") + lineseg.group("command")
      if LINETOKEN in line:
          raise RuntimeError(
              f"Uncommenting failed for line of {extension} file (a {LINETOKEN} tag remains):\n{line}\n"
              f"Did you follow the pattern indent+comment+{LINETOKEN}+code (with nothing before the indent)?"
          )
      return line
  
imports: import os
  import re
  import tempfile
  import operator
  import contextlib
  from pathlib import Path
  import numpy
  import nevergrad.common.typing
  from nevergrad.common import testing
  from .None import utils
label_desc: Use image node_id 3 for calling a global function with example usage: uncomment_line(line, extension) and returns: line