<commit_before><div data-dataset-id="<%= dataset.id %>" class="dataset vertical-result-data">

  <span class="name"><%= link_to dataset.name, dataset_path(dataset) %></span>
  <span class="snippet"><%= dataset.summary %></span>
  <span class="score">Score: <%= score %></span>

</div><commit_msg>Updated the search result snippet for datasets to include metadata.<commit_after><div data-dataset-id="<%= dataset.id %>" class="dataset vertical-result-data index-entry">

  <span class="name"><%= link_to dataset.name, dataset_path(dataset) %></span>

  <span class="summary"><%= dataset.summary %></span>

  <span class="metadata">
    <span class="date">Added on <%= dataset.created_at.strftime('%B %d, %Y') %> by <%= dataset.creator.username %></span><br/>
    <span class="used-in">Used in <%= dataset.assignments.size %> <%= 'assignment'.pluralize(dataset.assignments.size) %> and <%= dataset.examples.size %> <%= 'example'.pluralize(dataset.examples.size) %></span><br/>
    <span class="tags"><%= render(partial: "tags/tag_badge", 
    collection: sort_by(dataset.tags, :text), as: :tag) %></span>
  </span>
  
</div>
{'fraction_non_alphanumeric': 0.21944692239072258, 'fraction_numerical': 0.0, 'mean_word_length': 5.448275862068965, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '1210210', 'n_tokens_mistral': 386, 'n_tokens_neox': 351, 'n_words': 76}