<commit_before>module GitFindCommitter
  class Repository
    def initialize(config)
      @config = config
    end

    def prepare_repo
      if File.exist?(@config.tmp_repo_path)
        `cd #{@config.tmp_repo_path} && git fetch`
      else
        `git clone #{generate_url} #{@config.tmp_repo_path}`
      end
      self
    end

    def pull_master
      `git pull origin master`
      self
    end<commit_msg>Change directory before git pull origin master<commit_after>module GitFindCommitter
  class Repository
    def initialize(config)
      @config = config
    end

    def prepare_repo
      if File.exist?(@config.tmp_repo_path)
        `cd #{@config.tmp_repo_path} && git fetch`
      else
        `git clone #{generate_url} #{@config.tmp_repo_path}`
      end
      self
    end

    def pull_master
      `cd #{@config.tmp_repo_path} && git pull origin master`
      self
    end
{'fraction_non_alphanumeric': 0.08370535714285714, 'fraction_numerical': 0.0, 'mean_word_length': 2.4633204633204633, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5378541', 'n_tokens_mistral': 275, 'n_tokens_neox': 272, 'n_words': 73}