code: def replace_inline_tabs(content, config):
      newcontent = ""
      imagined_i = 0
      for i in range(0, len(content)):
          char = content[i]
          if char == "\t":
              spaces = config["tabsize"] - (
                  imagined_i % config["tabsize"]
              )
              newcontent += " " * spaces
              imagined_i += spaces
          else:
              newcontent += char
              imagined_i += 1
      return newcontent
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/scenarios/code_scenario_helper.py
imports: import codecs
  import getopt
  import os
  import shutil
  import sys
  import tempfile
label_desc: Use image node_id 3 for calling a global function with example usage: replace_inline_tabs(content, config) and returns: newcontent