code: def fetch_parturbation_mark(
      scores: pandas.DataFrame, path_to_data: str
  ) -> pandas.DataFrame:
      with open(path_to_data) as data_file:
          for idx, line in enumerate(data_file.readlines()):
              blob = json.loads(line)
              if idx in scores.index:
                  scores.loc[idx, PERTURBATION_COLUMN] = int(
                      not blob[PERTURBATION_COLUMN]
                  )
      assert not any(scores.columns.duplicated())
  
      return scores
  
imports: import csv
  from glob import glob
  import json
  import os
  import pathlib
  import numpy
  import pandas
  from parlai.core.params import ParlaiParser
  from projects.roscoe.meta_evaluation.correlations import Analyzer
  from projects.roscoe.score import EMB_MODEL_SCORES, EMBEDDING_MODEL_NAMES, GRAMMAR_MODEL_SCORES, LANGUAGE_MODEL_SCORES, NLI_MODEL_SCORES, REASONING_SCORES, SCORE_GROUPS, SUPERVISED_SCORES, UNSUPERVISED_SCORES
  from typing import Callable, List
label_desc: Use image node_id 4 for calling a global function with example usage: fetch_parturbation_mark(scores, path_to_data) and returns: scores