<commit_before><div class="container">
  <h1>Posts</h1>
  <%= link_to 'New Post', new_post_path %>

  <%= render 'shared/nav' %>

  <% @posts.each do |post| %>
       <h1><%= link_to post.title, post %></h1>
       <h6>Post by <%= post.member.firstname %> <%= post.member.lastname %></h6>
       <p><%= post.content %></p>
  <% end %>

</div><commit_msg>Filter index view based on post category<commit_after><div class="container">
  <h1>Posts</h1>
  <%= link_to 'Create New Post', new_post_path %>
  <br>
  <h6> Post Categories </h6>
  <%= render 'shared/nav' %>

  <% @posts.each do |post| %>
       <h1><%= link_to post.title, post %></h1>
       <h6>Post by <%= post.member.firstname %> <%= post.member.lastname %></h6>
       <p><%= post.content %></p>
  <% end %>

</div>
{'fraction_non_alphanumeric': 0.23037323037323038, 'fraction_numerical': 0.018018018018018018, 'mean_word_length': 3.2054054054054055, 'pattern_counts': {'":': 0, '<': 42, '<?xml version=': 0, '>': 42, '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': '1052921', 'n_tokens_mistral': 330, 'n_tokens_neox': 294, 'n_words': 65}