<commit_before>class GithubOrgReports::Models::PullRequest < Baza::Model
  def scan_hash
    hash = {}
    self[:text].to_s.scan(/#(\{(.+?)\})#/) do |match|
      hash.merge!(JSON.parse(match[1]))
    end
    
    return hash
  end<commit_msg>Test commit. !{time: 0:30, orgs: [knjit, gfish]}!<commit_after>class GithubOrgReports::Models::PullRequest < Baza::Model
  has_many :pull_request_organization_link
  
  def scan_hash
    hash = {}
    self[:text].to_s.scan(/!(\{(.+?)\})!/) do |match|
      hash.merge!(JSON.parse(match[1]))
    end
    
    return hash
  end
{'fraction_non_alphanumeric': 0.18485915492957747, 'fraction_numerical': 0.008802816901408451, 'mean_word_length': 3.4803149606299213, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3705542', 'n_tokens_mistral': 219, 'n_tokens_neox': 209, 'n_words': 35}