<commit_before>  <div class="billboard">
    <div class="text-container">
    </div>
    <h1>
      Set your Ideas on Fire!
      <p>Real Power comes from the alignment of people with a common goal. Let IgniteBot do the heavy lifting!</p>
    </h1>
    <% if !user_signed_in? %>
      <%= link_to "Sign Up for Free!", new_user_registration_path, class: "button large sign-up-btn" %>
    <% else %>
      <p class="welcome">Welcome back, <%= current_user.name %>!</p>
    <% end %>
  </div>

  <div id="flags" class="row">
    <div class="large-9 columns">
      <% if current_user %>
        <% if current_user.admin? && Deal.where(flag: true).count > 0 %>
          <h3><strong>Admin Alert:</strong></h3>
          <%= render 'deals/flags' %>
        <% end %>
      <% end %>
    </div>
  </div>

  <div class="row deal-boxes">
    <h4 class="sub-title">Active Deals</h4>
    <% @deals.each do |deal| %>
      <% if deal.active? && !deal.funded? %>
        <div class="large-4 medium-5 small-6-centered columns boxes">
          <% if deal.image? %>
            <div class="image-box">
              <%= image_tag(deal.image.url, id: 'deal-image') %>
            </div>
          <% else %>
            <img src="http://placehold.it/300x200">
          <% end %>
          <h4><%= link_to deal.title, deal %></h4>
          <%= shorten(deal.description) %><br>
          <h5><%= deal.users.count %> / <%= deal.goal %> Committed!</h5>
          <%= deal.location %> / <%= time_ago_in_words(deal.end) %> left
        </div>
      <% end %>
    <% end %>
    <div class="closed-boxes">
    <h4 class="sub-title">Recently Closed Deals</h4>
    <% @deals.each do |deal| %>
      <% if deal.archived? || deal.funded? %>
        <div class="large-4 medium-5 small-6 columns boxes">
          <% if deal.image? %>
            <%= image_tag(deal.image.url, id: 'deal-image') %>
          <% else %>
            <img src="http://placehold.it/300x200">
          <% end %>
          <h4><%= link_to deal.title, deal %></h4>
          <%= shorten(deal.description) %><br>
          <h5><%= deal.users.count %> / <%= deal.goal %> Committed!</h5>
          <%= deal.location %> / Closed
        </div>
      <% end %>
    <% end %>
    </div>
  </div><commit_msg>Add ellipsis to end of descriptions and image container to closed deals.<commit_after>  <div class="billboard">
    <div class="text-container">
    </div>
    <h1>
      Set your Ideas on Fire!
      <p>Real Power comes from the alignment of people with a common goal. Let IgniteBot do the heavy lifting!</p>
    </h1>
    <% if !user_signed_in? %>
      <%= link_to "Sign Up for Free!", new_user_registration_path, class: "button large sign-up-btn" %>
    <% else %>
      <p class="welcome">Welcome back, <%= current_user.name %>!</p>
    <% end %>
  </div>

  <div id="flags" class="row">
    <div class="large-9 columns">
      <% if current_user %>
        <% if current_user.admin? && Deal.where(flag: true).count > 0 %>
          <h3><strong>Admin Alert:</strong></h3>
          <%= render 'deals/flags' %>
        <% end %>
      <% end %>
    </div>
  </div>

  <div class="row deal-boxes">
    <h4 class="sub-title">Active Deals</h4>
    <% @deals.each do |deal| %>
      <% if deal.active? && !deal.funded? %>
        <div class="large-4 medium-5 small-6-centered columns boxes">
          <% if deal.image? %>
            <div class="image-box">
              <%= image_tag(deal.image.url, id: 'deal-image') %>
            </div>
          <% else %>
            <img src="http://placehold.it/300x200">
          <% end %>
          <h4><%= link_to deal.title, deal %></h4>
          <%= shorten(deal.description) %>...<br>
          <h5><%= deal.users.count %> / <%= deal.goal %> Committed!</h5>
          <%= deal.location %> / <%= time_ago_in_words(deal.end) %> left
        </div>
      <% end %>
    <% end %>
    <div class="closed-boxes">
    <h4 class="sub-title">Recently Closed Deals</h4>
    <% @deals.each do |deal| %>
      <% if deal.archived? || deal.funded? %>
        <div class="large-4 medium-5 small-6 columns boxes">
          <% if deal.image? %>
            <div class="image-box">
              <%= image_tag(deal.image.url, id: 'deal-image') %>
            </div>
          <% else %>
            <img src="http://placehold.it/300x200">
          <% end %>
          <h4><%= link_to deal.title, deal %></h4>
          <%= shorten(deal.description) %>...<br>
          <h5><%= deal.users.count %> / <%= deal.goal %> Committed!</h5>
          <%= deal.location %> / Closed
        </div>
      <% end %>
    <% end %>
    </div>
  </div>
{'fraction_non_alphanumeric': 0.19636678200692043, 'fraction_numerical': 0.015570934256055362, 'mean_word_length': 2.022875816993464, 'pattern_counts': {'":': 0, '<': 167, '<?xml version=': 0, '>': 169, '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': '6176054', 'n_tokens_mistral': 1740, 'n_tokens_neox': 1521, 'n_words': 341}