<commit_before>

<body>
  <title>Team list</title>
  <div class="container">
                <%= render "team/suggestion" %>
    <div class="row">
      <h1>Teams</h1>
      <br>

      <%= form_tag(team_list_path, :method => "get", id: "search_form", class: "input-group col-xs-5") do %>
        <%= text_field_tag :search, params[:search], placeholder: "Search for a Team Member", class: "form-control input-sm", type: "search" %>
      <% end %>
      <br>

      <%= form_tag team_list_path, :method => :get, :id => 'waitlisted_form' do %>
        <%= hidden_field_tag :to_sort, false %>
        <span class="info_category info_span"><h5>All Waitlisted?&nbsp;</h5></span>
        <div class="checkbox_and_label"><label for="waitlisted_yes" class="btn-circle">Yes</label>
        <%= check_box_tag 'waitlisted[]', true, @waitlist_filter.include?('true'), :id => "waitlisted_yes", :class => "checks" %>
        </div>
        <div class="checkbox_and_label"><label for="waitlisted_no" class="btn-circle">No</label>
        <%= check_box_tag 'waitlisted[]', false, @waitlist_filter.include?('false'), :id => "waitlisted_no", :class => "checks" %>
        </div>
      <% end %>

      <%= form_tag team_list_path, :method => :get, :id => 'num_members_filter' do %>
        <%= hidden_field_tag :to_sort, false %>
        <span class="info_category info_span"><h5>Number of Members:&nbsp;</h5></span>
        <div class="checkbox_and_label"><label for="num_members_1" class="btn-circle"><%= '1' %></label>
        <%= check_box_tag 'num_members[]', 1, @num_members_filter.include?('1'), :id => "num_members_1", :class => "checks" %>
        </div>
        <div class="checkbox_and_label"><label for="num_members_2" class="btn-circle"><%= '2' %></label>
        <%= check_box_tag 'num_members[]', 2, @num_members_filter.include?('2'), :id => "num_members_2", :class => "checks" %>
        </div>
        <div class="checkbox_and_label"><label for="num_members_3" class="btn-circle"><%= '3' %></label>
        <%= check_box_tag 'num_members[]', 3, @num_members_filter.include?('3'), :id => "num_members_3", :class => "checks" %>
        </div>
        <div class="checkbox_and_label"><label for="num_members_4" class="btn-circle"><%= '4' %></label>
        <%= check_box_tag 'num_members[]', 4, @num_members_filter.include?('4'), :id => "num_members_4", :class => "checks" %>
        </div>
        <div class="checkbox_and_label"><label for="num_members_5" class="btn-circle"><%= '5' %></label>
        <%= check_box_tag 'num_members[]', 5, @num_members_filter.include?('5'), :id => "num_members_5", :class => "checks" %>
        </div>
        <div class="checkbox_and_label"><label for="num_members_6" class="btn-circle"><%= '6' %></label>
        <%= check_box_tag 'num_members[]', 6, @num_members_filter.include?('6'), :id => "num_members_6", :class => "checks" %>
        </div>
      <% end %>

      <table id="teams" class="table table-striped table-hover table-responsive">
        <thead>
          <tr>
            <th class="member_names" style="width:40%" >Group Members</th>
            <th id="users_count_header">Members<span id="users_count_arrow">&#x25BC</span></th>
            <th id="pending_requests_header">Pending Requests<span id="pending_requests_arrow">&#x25BC</span></th>
            <th class="team_waitlisted">All Waitlisted?</th>
            <th class="requests">Request</th>
          </tr>
        </thead>
        <tbody>
          <% if @teams.blank? %>
            <h4>There are no teams with the member <%= params[:search] %>. </h4>
          <% else %>
            <% @teams.each do |team| %>
              <tr>
                <td class="member_names">
                  <strong><%= link_to "#{team.getMembers}",team_profile_path(team.id) %></strong>
                  <br>
                  <button type="button" class="btn btn-success btn-xs" style="font-size : 10px;">Ruby On Rails</button> 
                  <button type="button" class="btn btn-info btn-xs">Ui Design</button>
                  <button type="button" class="btn btn-warning btn-xs">Frontend</button>
                  <button type="button" class="btn btn-primary btn-xs">Other Backend</button>
                  <button type="button" class="btn btn-danger btn-xs">Team Management</button>
                </td>
                <td>
                  <%= team.getNumMembers %>
                </td><commit_msg>getting team skills<commit_after>

<body>
  <title>Team list</title>
  <div class="container">
                <%= render "team/suggestion" %>
    <div class="row">
      <h1>Teams</h1>
      <br>

      <%= form_tag(team_list_path, :method => "get", id: "search_form", class: "input-group col-xs-5") do %>
        <%= text_field_tag :search, params[:search], placeholder: "Search for a Team Member", class: "form-control input-sm", type: "search" %>
      <% end %>
      <br>

      <%= form_tag team_list_path, :method => :get, :id => 'waitlisted_form' do %>
        <%= hidden_field_tag :to_sort, false %>
        <span class="info_category info_span"><h5>All Waitlisted?&nbsp;</h5></span>
        <div class="checkbox_and_label"><label for="waitlisted_yes" class="btn-circle">Yes</label>
        <%= check_box_tag 'waitlisted[]', true, @waitlist_filter.include?('true'), :id => "waitlisted_yes", :class => "checks" %>
        </div>
        <div class="checkbox_and_label"><label for="waitlisted_no" class="btn-circle">No</label>
        <%= check_box_tag 'waitlisted[]', false, @waitlist_filter.include?('false'), :id => "waitlisted_no", :class => "checks" %>
        </div>
      <% end %>

      <%= form_tag team_list_path, :method => :get, :id => 'num_members_filter' do %>
        <%= hidden_field_tag :to_sort, false %>
        <span class="info_category info_span"><h5>Number of Members:&nbsp;</h5></span>
        <div class="checkbox_and_label"><label for="num_members_1" class="btn-circle"><%= '1' %></label>
        <%= check_box_tag 'num_members[]', 1, @num_members_filter.include?('1'), :id => "num_members_1", :class => "checks" %>
        </div>
        <div class="checkbox_and_label"><label for="num_members_2" class="btn-circle"><%= '2' %></label>
        <%= check_box_tag 'num_members[]', 2, @num_members_filter.include?('2'), :id => "num_members_2", :class => "checks" %>
        </div>
        <div class="checkbox_and_label"><label for="num_members_3" class="btn-circle"><%= '3' %></label>
        <%= check_box_tag 'num_members[]', 3, @num_members_filter.include?('3'), :id => "num_members_3", :class => "checks" %>
        </div>
        <div class="checkbox_and_label"><label for="num_members_4" class="btn-circle"><%= '4' %></label>
        <%= check_box_tag 'num_members[]', 4, @num_members_filter.include?('4'), :id => "num_members_4", :class => "checks" %>
        </div>
        <div class="checkbox_and_label"><label for="num_members_5" class="btn-circle"><%= '5' %></label>
        <%= check_box_tag 'num_members[]', 5, @num_members_filter.include?('5'), :id => "num_members_5", :class => "checks" %>
        </div>
        <div class="checkbox_and_label"><label for="num_members_6" class="btn-circle"><%= '6' %></label>
        <%= check_box_tag 'num_members[]', 6, @num_members_filter.include?('6'), :id => "num_members_6", :class => "checks" %>
        </div>
      <% end %>

      <table id="teams" class="table table-striped table-hover table-responsive">
        <thead>
          <tr>
            <th class="member_names" style="width:40%" >Group Members</th>
            <th id="users_count_header">Members<span id="users_count_arrow">&#x25BC</span></th>
            <th id="pending_requests_header">Pending Requests<span id="pending_requests_arrow">&#x25BC</span></th>
            <th class="team_waitlisted">All Waitlisted?</th>
            <th class="requests">Request</th>
          </tr>
        </thead>
        <tbody>
          <% if @teams.blank? %>
            <h4>There are no teams with the member <%= params[:search] %>. </h4>
          <% else %>
            <% @teams.each do |team| %>
              <tr>
                <td class="member_names">
                  <strong><%= link_to "#{team.getMembers}",team_profile_path(team.id) %></strong>
                  <br>
                  <% team_skills = team.members_skill_sets.join(" ") %>
      <% if team_skills.include? "Ruby" %> <button type="button" class="btn btn-success btn-xs">Ruby On Rails</button> <% end %>
      <% if team_skills.include? "Design" %><button type="button" class="btn btn-info btn-xs">Ui Design</button><% end %>
      <% if team_skills.include? "Frontend" %><button type="button" class="btn btn-warning btn-xs">Frontend</button><% end %>
      <% if team_skills.include? "Backend" %><button type="button" class="btn btn-primary btn-xs">Other Backend</button><% end %>
      <% if team_skills.include? "Management" %><button type="button" class="btn btn-danger btn-xs">Team Management</button><% end %>
                </td>
                <td>
                  <%= team.getNumMembers %>
                </td>
{'fraction_non_alphanumeric': 0.19528062630940568, 'fraction_numerical': 0.010144448119969125, 'mean_word_length': 3.0764044943820226, 'pattern_counts': {'":': 0, '<': 252, '<?xml version=': 0, '>': 294, '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': '5601767', 'n_tokens_mistral': 3125, 'n_tokens_neox': 2918, 'n_words': 563}