<commit_before>%tr
  %td
    =interaction_table_row.search_term
  -#%td
  -#   =link_to interaction_table_row.gene_long_name,  gene_path(interaction_table_row.gene_name)
  %td{title: interaction_table_row.gene_name + ' : ' + interaction_table_row.gene_long_name.downcase() }
    = link_to gene_path(interaction_table_row.gene_name) do
      %strong
        = interaction_table_row.gene_name
      %br
      %em
        %small 
          = interaction_table_row.gene_long_name.downcase[0..100]
  %td
    =link_to interaction_table_row.drug_claim_name, drug_claim_path(interaction_table_row.interaction_claim.drug_claim.name)
  %td
    =link_to interaction_table_row.types_string, interaction_claims_path(interaction_table_row.interaction_claim)
  %td
    =link_to interaction_table_row.source_db_name, source_path(interaction_table_row.source_db_name)
<commit_msg>shortened long gene names and added three dots<commit_after>%tr
  %td
    =interaction_table_row.search_term
  -#%td
  -#   =link_to interaction_table_row.gene_long_name,  gene_path(interaction_table_row.gene_name)
  %td{title: interaction_table_row.gene_name + ' : ' + interaction_table_row.gene_long_name.downcase() }
    = link_to gene_path(interaction_table_row.gene_name) do
      %strong
        = interaction_table_row.gene_name
      = " - "
      %em
        %small 
          = interaction_table_row.gene_long_name.downcase[0..49]+(if(interaction_table_row.gene_long_name.length>50) then "..." else "" end)
  %td
    =link_to interaction_table_row.drug_claim_name, drug_claim_path(interaction_table_row.interaction_claim.drug_claim.name)
  %td
    =link_to interaction_table_row.types_string, interaction_claims_path(interaction_table_row.interaction_claim)
  %td
    =link_to interaction_table_row.source_db_name, source_path(interaction_table_row.source_db_name)

{'fraction_non_alphanumeric': 0.088139281828074, 'fraction_numerical': 0.004896626768226333, 'mean_word_length': 4.894230769230769, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '1461371', 'n_tokens_mistral': 670, 'n_tokens_neox': 643, 'n_words': 71}