<commit_before><ul class="menu simple clear" id="assigned-resources-tabs">
  <% if controller_name == "polls" %>
    <li class="active">
        <%= t("admin.polls.show.questions_tab") %>
        (<%= @poll.questions.count %>)
    </li>
  <% else %>
    <li>
      <%= link_to admin_poll_path(@poll) do %>
        <%= t("admin.polls.show.questions_tab") %>
        (<%= @poll.questions.count %>)
      <% end %>
    </li>
  <% end %>

  <% if controller_name == "booth_assignments" %>
    <li class="active">
      <%= t("admin.polls.show.booths_tab") %>
      (<%= @poll.booth_assignments.select(:booth_id).distinct.count %>)
    </li>
  <% else %>
    <li>
      <%= link_to admin_poll_booth_assignments_path(@poll) do %>
        <%= t("admin.polls.show.booths_tab") %>
        (<%= @poll.booth_assignments.select(:booth_id).distinct.count %>)
      <% end %>
    </li>
  <% end %>

  <% if controller_name == "officer_assignments" %>
    <li class="active">
      <%= t("admin.polls.show.officers_tab") %>
      (<%= @poll.officer_assignments.select(:officer_id).distinct.count %>)
    </li>
  <% else %>
    <li>
      <%= link_to admin_poll_officer_assignments_path(@poll) do %>
        <%= t("admin.polls.show.officers_tab") %>
        (<%= @poll.officer_assignments.select(:officer_id).distinct.count %>)
      <% end %>
    </li>
  <% end %>

  <% if controller_name == "recounts" %>
    <li class="active">
      <%= t("admin.polls.show.recounts_tab") %>
    </li>
  <% else %>
    <li>
      <%= link_to t("admin.polls.show.recounts_tab"), admin_poll_recounts_path(@poll) %>
    </li>
  <% end %>

  <% if controller_name == "results" %>
    <li class="active">
      <%= t("admin.polls.show.results_tab") %>
    </li>
  <% else %>
    <li>
      <%= link_to t("admin.polls.show.results_tab"), admin_poll_results_path(@poll) %>
    </li>
  <% end %>
</ul%><commit_msg>fixes ul close tag on admin polls subnav<commit_after><ul class="menu simple clear" id="assigned-resources-tabs">
  <% if controller_name == "polls" %>
    <li class="active">
        <%= t("admin.polls.show.questions_tab") %>
        (<%= @poll.questions.count %>)
    </li>
  <% else %>
    <li>
      <%= link_to admin_poll_path(@poll) do %>
        <%= t("admin.polls.show.questions_tab") %>
        (<%= @poll.questions.count %>)
      <% end %>
    </li>
  <% end %>

  <% if controller_name == "booth_assignments" %>
    <li class="active">
      <%= t("admin.polls.show.booths_tab") %>
      (<%= @poll.booth_assignments.select(:booth_id).distinct.count %>)
    </li>
  <% else %>
    <li>
      <%= link_to admin_poll_booth_assignments_path(@poll) do %>
        <%= t("admin.polls.show.booths_tab") %>
        (<%= @poll.booth_assignments.select(:booth_id).distinct.count %>)
      <% end %>
    </li>
  <% end %>

  <% if controller_name == "officer_assignments" %>
    <li class="active">
      <%= t("admin.polls.show.officers_tab") %>
      (<%= @poll.officer_assignments.select(:officer_id).distinct.count %>)
    </li>
  <% else %>
    <li>
      <%= link_to admin_poll_officer_assignments_path(@poll) do %>
        <%= t("admin.polls.show.officers_tab") %>
        (<%= @poll.officer_assignments.select(:officer_id).distinct.count %>)
      <% end %>
    </li>
  <% end %>

  <% if controller_name == "recounts" %>
    <li class="active">
      <%= t("admin.polls.show.recounts_tab") %>
    </li>
  <% else %>
    <li>
      <%= link_to t("admin.polls.show.recounts_tab"), admin_poll_recounts_path(@poll) %>
    </li>
  <% end %>

  <% if controller_name == "results" %>
    <li class="active">
      <%= t("admin.polls.show.results_tab") %>
    </li>
  <% else %>
    <li>
      <%= link_to t("admin.polls.show.results_tab"), admin_poll_results_path(@poll) %>
    </li>
  <% end %>
</ul>
{'fraction_non_alphanumeric': 0.21443680592279218, 'fraction_numerical': 0.0, 'mean_word_length': 2.8212121212121213, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, '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': '1777909', 'n_tokens_mistral': 1555, 'n_tokens_neox': 1381, 'n_words': 182}