<commit_before><div class="sub-thingy">
  <div data-react-class="CreateBountyButton" data-react-props="<%= {
    product: { name: @product.name },
    url: product_wips_path(@product),
    maxOffer: (6 * @product.average_bounty).round(-4),
    averageBounty: @product.average_bounty,
    createBountyShown: params['modal'] == 'true'
  }.to_json %>" class="pull-right"></div>

  <ul class="nav nav-pills">
    <li class="<%= 'active' if params[:state].blank? || params[:state] == 'open' %>">
      <a href="<%= scoped_product_bounties_path(@product, state: 'open') %>">
        Todo

        <span class="badge badge-subtle">
          <%= @product.tasks.open.count %>
        </span>
      </a>
    </li>

    <li class="<%= 'active' if params[:state] == 'progress' %>">
      <a href="<%= scoped_product_bounties_path(@product, state: 'progress') %>">
        Doing

        <span class="badge badge-subtle">
          <%= @product.tasks.allocated.count %>
        </span>
      </a>
    </li>

    <li class="<%= 'active' if params[:state] == 'reviewing' %>">
      <a href="<%= scoped_product_bounties_path(@product, state: 'reviewing') %>">
        Reviewing

        <span class="badge badge-subtle">
          <%= @product.tasks.reviewing.count %>
        </span>
      </a>
    </li>

    <li class="<%= 'active' if params[:state] == 'closed' %>">
      <a href="<%= scoped_product_bounties_path(@product, state: 'closed') %>">
        Done

        <span class="badge badge-subtle">
          <%= @product.tasks.closed.count %>
        </span>
      </a>
    </li>

    <li class="dropdown">
      <a class="dropdown-toggle" type="button" data-toggle="dropdown" href="#">
        Order
        <span class="caret"></span>
      </a>

      <ul class="dropdown-menu" role="menu">
        <li class="<%= 'active' if params[:sort] == 'priority' %>" role="presentation">
          <a href="<%= scoped_product_bounties_path(@product, sort: 'priority') %>" role="menuitem" tabindex="-1" href="#">
            Priority
          </a>
        </li>
        <li class="<%= 'active' if params[:sort] == 'most_valuable' %>" role="presentation">
          <a href="<%= scoped_product_bounties_path(@product, sort: 'most_valuable') %>" role="menuitem" tabindex="-1" href="#">
            Most valuable
          </a>
        </li>
        <li class="<%= 'active' if params[:sort] == 'least_valuable' %>" role="presentation">
          <a href="<%= scoped_product_bounties_path(@product, sort: 'least_valuable') %>" role="menuitem" tabindex="-1" href="#">
            Least valuable
          </a>
        </li><commit_msg>Change copy on Bounties page<commit_after><div class="sub-thingy">
  <div data-react-class="CreateBountyButton" data-react-props="<%= {
    product: { name: @product.name },
    url: product_wips_path(@product),
    maxOffer: (6 * @product.average_bounty).round(-4),
    averageBounty: @product.average_bounty,
    createBountyShown: params['modal'] == 'true'
  }.to_json %>" class="pull-right"></div>

  <ul class="nav nav-pills">
    <li class="<%= 'active' if params[:state].blank? || params[:state] == 'open' %>">
      <a href="<%= scoped_product_bounties_path(@product, state: 'open') %>">
        Todo

        <span class="badge badge-subtle">
          <%= @product.tasks.open.count %>
        </span>
      </a>
    </li>

    <li class="<%= 'active' if params[:state] == 'progress' %>">
      <a href="<%= scoped_product_bounties_path(@product, state: 'progress') %>">
        Doing

        <span class="badge badge-subtle">
          <%= @product.tasks.allocated.count %>
        </span>
      </a>
    </li>

    <li class="<%= 'active' if params[:state] == 'reviewing' %>">
      <a href="<%= scoped_product_bounties_path(@product, state: 'reviewing') %>">
        Reviewing

        <span class="badge badge-subtle">
          <%= @product.tasks.reviewing.count %>
        </span>
      </a>
    </li>

    <li class="<%= 'active' if params[:state] == 'closed' %>">
      <a href="<%= scoped_product_bounties_path(@product, state: 'closed') %>">
        Resolved

        <span class="badge badge-subtle">
          <%= @product.tasks.closed.count %>
        </span>
      </a>
    </li>

    <li class="dropdown">
      <a class="dropdown-toggle" type="button" data-toggle="dropdown" href="#">
        Order
        <span class="caret"></span>
      </a>

      <ul class="dropdown-menu" role="menu">
        <li class="<%= 'active' if params[:sort] == 'priority' %>" role="presentation">
          <a href="<%= scoped_product_bounties_path(@product, sort: 'priority') %>" role="menuitem" tabindex="-1" href="#">
            Priority
          </a>
        </li>
        <li class="<%= 'active' if params[:sort] == 'most_valuable' %>" role="presentation">
          <a href="<%= scoped_product_bounties_path(@product, sort: 'most_valuable') %>" role="menuitem" tabindex="-1" href="#">
            Most valuable
          </a>
        </li>
        <li class="<%= 'active' if params[:sort] == 'least_valuable' %>" role="presentation">
          <a href="<%= scoped_product_bounties_path(@product, sort: 'least_valuable') %>" role="menuitem" tabindex="-1" href="#">
            Least valuable
          </a>
        </li>
{'fraction_non_alphanumeric': 0.2036931277365315, 'fraction_numerical': 0.0019036740909956216, 'mean_word_length': 2.7609162491052253, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 133, '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': '229489', 'n_tokens_mistral': 1832, 'n_tokens_neox': 1710, 'n_words': 343}