<commit_before><div class="small-10 columns small-centered">
  <div class="row">
    <center>
      <h3><%= @pass.name %></h3>
      <%= link_to "I used my pass today!", increase_path, class: "button" %>
    </center>
    Pass cost: $<%= sprintf "%.2f", @pass.total_cost %><br>
    <% if @pass.daily_cost %>
      Cost per day without pass: $<%= sprintf "%.2f", @pass.daily_cost %><br>
    <% end %>
    Pass start date: <%= @pass.start_date.strftime("%B %-d, %Y") %><br>
    Pass end date: <%= @pass.end_date.strftime("%B %-d, %Y") %><br>
    Pass duration in days: <%= @pass.duration_day %><br><br>
    You have <%= @days_left %> day(s) left to use your pass<br>
    You have attended <%= @pass.name %> <%= @pass.attended_count %> time(s)<br>
    <% if @attends_needed %>
      You have <%= @savings %> with this pass<br>
      <% if @attends_needed > 0 %>
        You need to attend <%= @pass.name %> <%= @attends_needed %> more time(s) to break even<br>
      <% else %>
        Congratulations! You've broken even!<br>
      <% end %>
    <% end %>
    <% if @cost %>
      You are currently spending $<%= @cost %> per visit<br>
    <% end %>
    <center>
      <%= link_to "Delete This Pass", pass_path(@pass.id), method: "DELETE", data: {confirm: "Are you sure you want to delete this pass? This cannot be undone."}, class: "button" %>
    </center>
  </div>
</div><commit_msg>Added css class to delete button for color change<commit_after><div class="small-10 columns small-centered">
  <div class="row">
    <center>
      <h3><%= @pass.name %></h3>
      <%= link_to "I used my pass today!", increase_path, class: "button" %>
    </center>
    Pass cost: $<%= sprintf "%.2f", @pass.total_cost %><br>
    <% if @pass.daily_cost %>
      Cost per day without pass: $<%= sprintf "%.2f", @pass.daily_cost %><br>
    <% end %>
    Pass start date: <%= @pass.start_date.strftime("%B %-d, %Y") %><br>
    Pass end date: <%= @pass.end_date.strftime("%B %-d, %Y") %><br>
    Pass duration in days: <%= @pass.duration_day %><br><br>
    You have <%= @days_left %> day(s) left to use your pass<br>
    You have attended <%= @pass.name %> <%= @pass.attended_count %> time(s)<br>
    <% if @attends_needed %>
      You have <%= @savings %> with this pass<br>
      <% if @attends_needed > 0 %>
        You need to attend <%= @pass.name %> <%= @attends_needed %> more time(s) to break even<br>
      <% else %>
        Congratulations! You've broken even!<br>
      <% end %>
    <% end %>
    <% if @cost %>
      You are currently spending $<%= @cost %> per visit<br>
    <% end %>
    <center>
      <%= link_to "Delete This Pass", pass_path(@pass.id), method: "DELETE", data: {confirm: "Are you sure you want to delete this pass? This cannot be undone."}, class: "button delete-button" %>
    </center>
  </div>
</div>
{'fraction_non_alphanumeric': 0.19765791341376862, 'fraction_numerical': 0.0049680624556423, 'mean_word_length': 3.032904148783977, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 97, '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': '2110145', 'n_tokens_mistral': 1077, 'n_tokens_neox': 944, 'n_words': 290}