<commit_before>{
  :schema=>:link_def,
  :table=>:attribute_mapping,
  :columns=>{
    :output_attribute_id => {
      :type=>:bigint,
      :foreign_key_rel_type=>:attribute,
      :on_delete=>:cascade,
      :on_update=>:cascade
    },
    :output_component_name => {:type => :varchar, :size => 50},
    :output_attribute_name => {:type => :varchar, :size => 50},
    :output_path => {:type => :varchar, :size => 50},
    :output_contant => {:type => :varchar}, #if this is non null that means that input set to a constant value
    :input_attribute_id => {
      :type=>:bigint,
      :foreign_key_rel_type=>:attribute,
      :on_delete=>:cascade,
      :on_update=>:cascade
    },
    :input_component_name => {:type => :varchar, :size => 50},
    :input_attribute_name => {:type => :varchar, :size => 50},
    :input_path => {:type => :varchar, :size => 50},
  },
  :many_to_one=>[:link_def_possible_link]
}
<commit_msg>refactoring link defs<commit_after>{
  :schema=>:link_def,
  :table=>:attribute_mapping,
  :columns=>{
    :output_attribute_id => {
      :type=>:bigint,
      :foreign_key_rel_type=>:attribute,
      :on_delete=>:cascade,
      :on_update=>:cascade
    },
    :output_component_name => {:type => :varchar, :size => 50},
    :output_attribute_name => {:type => :varchar, :size => 50},
    :output_path => {:type => :varchar, :size => 50},
    :output_contant => {:type => :varchar}, #if this is non null that means that input set to a constant value
    :input_attribute_id => {
      :type=>:bigint,
      :foreign_key_rel_type=>:attribute,
      :on_delete=>:cascade,
      :on_update=>:cascade
    },
    :input_component_name => {:type => :varchar, :size => 50},
    :input_attribute_name => {:type => :varchar, :size => 50},
    :input_path => {:type => :varchar, :size => 50},
    :function => {:type => :varchar, :default => "equal"}
  },
  :many_to_one=>[:link_def_possible_link]
}

{'fraction_non_alphanumeric': 0.1873695198329854, 'fraction_numerical': 0.012526096033402923, 'mean_word_length': 3.8045112781954886, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 74, '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': '1691445', 'n_tokens_mistral': 715, 'n_tokens_neox': 686, 'n_words': 131}