<commit_before><div class="container">

<h1>Proposals</h1>
    <% if @current_user && @current_user.role == "faculty" %>
    <%= link_to "Submit a New Proposal", new_proposal_path, class: 'button'  %>
    <% end %>

  <div class="row">
    <div class='col-md-3 col-md-offset-1'>
      <h3>Department</h3>
    </div>
    <div class='col-md-8 col-offset-1'>
      <h3>Proposal</h3>
    </div>
  </div>
  <% @proposals.reverse.each do |proposal| %>
  <div class="container">
    <div class="row">
      <div class='col-md-1 star'>
        <br>
        <% if proposal.faculty == current_user %>
          <i class='glyphicon glyphicon-star'></i>
        <% end %>
      </div>
      <div class='col-md-3'>
        <br> 
       <h4 class="proposal-department"><%= link_to proposal.department, root_path %></h4>
        </div>

      <div class='col-md-8'>
        <h2><%= link_to proposal.title, proposal_path(proposal) %></h2>
        <p>Posted on: <%= proposal.created_at.strftime("%b %d, %Y") %></p>
        <p>Summary: <%= proposal.summary %></p>
      </div>
    <% end %>
    </div>
  </div>
</div>









<commit_msg>fix sorting<commit_after><div class="container">

<h1>Proposals</h1>
    <% if @current_user && @current_user.role == "faculty" %>
    <%= link_to "Submit a New Proposal", new_proposal_path, class: 'button'  %>
    <% end %>

  <div class="row">
    <div class='col-md-3 col-md-offset-1'>
      <h3>Department</h3>
    </div>
    <div class='col-md-8 col-offset-1'>
      <h3>Proposal</h3>
    </div>
  </div>
  <% @proposals.each do |proposal| %>
  <div class="container">
    <div class="row">
      <div class='col-md-1 star'>
        <br>
        <% if proposal.faculty == current_user %>
          <i class='glyphicon glyphicon-star'></i>
        <% end %>
      </div>
      <div class='col-md-3'>
        <br>
       <h4 class="proposal-department"><%= link_to proposal.department, root_path %></h4>
        </div>

      <div class='col-md-8'>
        <h2><%= link_to proposal.title, proposal_path(proposal) %></h2>
        <p>Posted on: <%= proposal.created_at.strftime("%b %d, %Y") %></p>
        <p>Summary: <%= proposal.summary %></p>
      </div>
    <% end %>
    </div>
  </div>
</div>










{'fraction_non_alphanumeric': 0.209323173464814, 'fraction_numerical': 0.01523980277902286, 'mean_word_length': 2.402439024390244, 'pattern_counts': {'":': 0, '<': 97, '<?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': '3848480', 'n_tokens_mistral': 882, 'n_tokens_neox': 823, 'n_words': 159}