<commit_before><nav id="nav-top" class="collapse navbar-collapse" role="banner">
  <a href="/" class="navbar-brand">Full-Bellies</a>
  <% if session[:user_id] || session[:vendor_id] %>
    <ul id="nav-top" class="nav navbar-nav">
      <li><%= link_to 'Logout', logout_path, method: 'delete' %></li>
    </ul>
    <% if session[:vendor_id] %>
      <ul id="nav-top" class="nav navbar-nav navbar-right">
        <li><%= link_to 'Vendor Profile', vendor_path(session[:vendor_id]) %></li>
      </ul>
    <% else %>
      <ul id="nav-top" class="nav navbar-nav navbar-right">
        <li><%= link_to 'Profile Page', user_path(session[:user_id]) %></li>
      </ul>
    <% end %>
  <% else %>
    <ul id="nav-top" class="nav navbar-nav">
      <li data-toggle="modal" data-target="#userModal"><a href="#">Login</a></li>
      <li data-toggle="modal" data-target="#vendorSignup"> <a href="#">Are you a business?</a></li>
      <li data-toggle="modal" data-target="#signup"><a href="#">Signup</a></li>

    </ul>
  <% end %>
  <ul id="nav-top" class="nav navbar-nav">
    <li><%= link_to 'Deals', deals_path %></li>
    <li><%= link_to 'Mission', about_path %></li>
  </ul>
</nav><commit_msg>changing modal target to vendorModal<commit_after><nav id="nav-top" class="collapse navbar-collapse" role="banner">
  <a href="/" class="navbar-brand">Full-Bellies</a>
  <% if session[:user_id] || session[:vendor_id] %>
    <ul id="nav-top" class="nav navbar-nav">
      <li><%= link_to 'Logout', logout_path, method: 'delete' %></li>
    </ul>
    <% if session[:vendor_id] %>
      <ul id="nav-top" class="nav navbar-nav navbar-right">
        <li><%= link_to 'Vendor Profile', vendor_path(session[:vendor_id]) %></li>
      </ul>
    <% else %>
      <ul id="nav-top" class="nav navbar-nav navbar-right">
        <li><%= link_to 'Profile Page', user_path(session[:user_id]) %></li>
      </ul>
    <% end %>
  <% else %>
    <ul id="nav-top" class="nav navbar-nav">
      <li data-toggle="modal" data-target="#vendorModal"><a href="#">Login</a></li>
      <li data-toggle="modal" data-target="#vendorSignup"> <a href="#">Are you a business?</a></li>
      <li data-toggle="modal" data-target="#signup"><a href="#">Signup</a></li>

    </ul>
  <% end %>
  <ul id="nav-top" class="nav navbar-nav">
    <li><%= link_to 'Deals', deals_path %></li>
    <li><%= link_to 'Mission', about_path %></li>
  </ul>
</nav>
{'fraction_non_alphanumeric': 0.2369628702544848, 'fraction_numerical': 0.0, 'mean_word_length': 3.6382978723404253, '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': '3689405', 'n_tokens_mistral': 913, 'n_tokens_neox': 866, 'n_words': 183}