<commit_before><ul class="faux_table" style="background-color: #ACCBE0;">
  <li id="faux_table_header" style="background-color: #ACCBE0;">

    <div class="head1">&nbsp</div>
	<div class="head2">&nbsp</div>
    <div class="head3">
 	  <%= sort_link_helper("Variable", "variable", @search_query, @survey_list, sorted_variables) %>
    </div>
    <div class="head4">
      <%= sort_link_helper("Description", "description", @search_query, @survey_list, sorted_variables) %>
    </div>
    <div class="head5">
      <%= sort_link_helper("Category", "category", @search_query, @survey_list, sorted_variables) %>
    </div>
    <div class="head6">
      <%= sort_link_helper("Survey", "survey", @search_query, @survey_list, sorted_variables) %>
    </div>
    <div class="head7">
      <%= sort_link_helper("Dataset", "dataset", @search_query, @survey_list, sorted_variables) %>
    </div>
    <div class="head8">
      <%= sort_link_helper("Year", "year", @search_query, @survey_list, sorted_variables) %>
    </div>
    <div class="head9">
      <%= sort_link_helper("Freq", "frequency", @search_query, @survey_list, sorted_variables) %>
    </div>
  </li>
</ul>
<div id="sorted_variables">
<% sorted_variables.each do |variable| -%>
  <%= hidden_field_tag "sorted_variables[]", variable.id.to_s -%>
<% end -%>
</div><commit_msg>tooltip on table headers<commit_after><ul class="faux_table" style="background-color: #ACCBE0;">
  <li id="faux_table_header" style="background-color: #ACCBE0;">

    <div class="head1">&nbsp</div>
	<div class="head2">&nbsp</div>
    <div class="head3" title="Click to sort by variable name">
 	  <%= sort_link_helper("Variable", "variable", @search_query, @survey_list, sorted_variables) %>
    </div>
    <div class="head4" title="Variable description (click to sort by this field)">
      <%= sort_link_helper("Description", "description", @search_query, @survey_list, sorted_variables) %>
    </div>
    <div class="head5" title="Variable category (click to sort by this field)">
      <%= sort_link_helper("Category", "category", @search_query, @survey_list, sorted_variables) %>
    </div>
    <div class="head6" title="Survey name (click to sort by this field)">
      <%= sort_link_helper("Survey", "survey", @search_query, @survey_list, sorted_variables) %>
    </div>
    <div class="head7" title="Dataset name (click to sort by this field)">
      <%= sort_link_helper("Dataset", "dataset", @search_query, @survey_list, sorted_variables) %>
    </div>
    <div class="head8" title="Survey year (click to sort by this field)">
      <%= sort_link_helper("Year", "year", @search_query, @survey_list, sorted_variables) %>
    </div>
    <div class="head9" title="Frequency - number of times variable appears in data extract (click to sort by this field)">
      <%= sort_link_helper("Freq", "frequency", @search_query, @survey_list, sorted_variables) %>
    </div>
  </li>
</ul>
<div id="sorted_variables">
<% sorted_variables.each do |variable| -%>
  <%= hidden_field_tag "sorted_variables[]", variable.id.to_s -%>
<% end -%>
</div>
{'fraction_non_alphanumeric': 0.18063253994131073, 'fraction_numerical': 0.007173133355070101, 'mean_word_length': 4.888675623800384, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '3515280', 'n_tokens_mistral': 1073, 'n_tokens_neox': 1026, 'n_words': 223}