<commit_before><%= link_to new_event_instance_path do %>
  <button class="button-add">Add an event</button>
<% end %>

<% @events.each do |event| %>
  <p><%= link_to event.name, event %></p>
<% end %>
<commit_msg>Add columns to Events index page<commit_after><% events_columns = @events.in_groups(4, false) %>
<%= link_to new_event_instance_path do %>
  <button class="button-add">Add an event</button>
<% end %>

<div class="row">
  <div class="four columns">
    <% events_columns[0].each do |event| %>
      <p><%= link_to event.name, event %></p>
    <% end %>
  </div>
</div>

<div class="row">
  <div class="four columns">
    <% events_columns[1].each do |event| %>
      <p><%= link_to event.name, event %></p>
    <% end %>
  </div>
</div>

<div class="row">
  <div class="four columns">
    <% events_columns[2].each do |event| %>
      <p><%= link_to event.name, event %></p>
    <% end %>
  </div>
</div>

<div class="row">
  <div class="four columns">
    <% events_columns[3].each do |event| %>
      <p><%= link_to event.name, event %></p>
    <% end %>
  </div>
</div>

{'fraction_non_alphanumeric': 0.22119815668202766, 'fraction_numerical': 0.004608294930875576, 'mean_word_length': 3.525, 'pattern_counts': {'":': 0, '<': 53, '<?xml version=': 0, '>': 53, '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': '6320923', 'n_tokens_mistral': 433, 'n_tokens_neox': 398, 'n_words': 99}