<commit_before>require "digest/md5"

module Grit
  class Commit
    def merge?
      parents.size > 1
    end
  end
  
  class Actor
    def gravatar_url(size)
      "http://www.gravatar.com/avatar/#{Digest::MD5.hexdigest email.downcase}?s=#{size}"
    end
  end
end<commit_msg>Grit::Repo should have an accessor for @repo..<commit_after>require "digest/md5"

module Grit
  class Commit
    def merge?
      parents.size > 1
    end
  end
  
  class Diff
    # There is already @repo, but for some stupid reason it's not accessible..
    attr_reader :repo
  end
  
  class Actor
    def gravatar_url(size)
      "http://www.gravatar.com/avatar/#{Digest::MD5.hexdigest email.downcase}?s=#{size}"
    end
  end
end
{'fraction_non_alphanumeric': 0.10674157303370786, 'fraction_numerical': 0.008426966292134831, 'mean_word_length': 2.8333333333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2108768', 'n_tokens_mistral': 259, 'n_tokens_neox': 248, 'n_words': 64}