<commit_before><% watchers ||= false %>
<% product ||= false %>
<% task = summary %>
<div class="item wip mint-gutter" data-number="<%= task.number %>" data-promoted="<%= task.promoted? %>">
  <%= render 'shared/coin_vote', voteable: task %>

  <a class="title" href="<%= product_wip_path(task.product, task) %>">
    <span class="number"><%= task.formatted_number %></span>
    <%= task.title %>

    <div class="meta">
      <a href="<%= user_path(task.user) %>">
        <%= task.user.username %>
      </a>

      <span class="pipe-divider"></span>

      <a href="<%= product_wip_path(task.product, task) %>">
        <span class="comments">
          <%= task.formatted_comments_count %>
        </span>

        <% if (count = task.new_comments(current_user)) > 0 %>
          <span class="updates">
            <span class="new-comments highlight">
              <%= count %> new
            </span>
          </span>
        <% end %>
      </a>

      <span class="pipe-divider"></span>

      <span class="watchers">
        <%= task.formatted_watchers_count %>
      </span>

      <% if task.promoted? %>
        <span class="promotion">
          <span class="pipe-divider"></span>
          <span class="promoted-wip">Promoted 2x pts</span>
        </span>
      <% end %>
    </div>

    <% if watchers %>
      <div class="watchers">
        <div class="avatar-grid">
          <% task.watchers.each do |watcher| %>
            <div class="avatar avatar-xs">
              <img src="<%= watcher.avatar_url %>" title="<%= watcher.username %>" />
            </div>
          <% end %>
        </div>
      </div>
    <% end %>
  </a>

  <% if product %>
    <ol class="breadcrumb">
      <li>
        <a href="<%= product_path(task.product) %>"><%= task.product.name %></a>
      </li>
    </ol>
  <% end %>
</div><commit_msg>Show workers on Wip#index page<commit_after><% watchers ||= false %>
<% product ||= false %>
<% task = summary %>
<div class="item wip mint-gutter" data-number="<%= task.number %>" data-promoted="<%= task.promoted? %>">
  <%= render 'shared/coin_vote', voteable: task %>

  <a class="title" href="<%= product_wip_path(task.product, task) %>">
    <span class="number"><%= task.formatted_number %></span>
    <%= task.title %>
  </a>
  <div class="meta">
    <a href="<%= product_wip_path(task.product, task) %>">
      <span class="comments">
        <%= task.formatted_comments_count %>
      </span>

      <% if (count = task.new_comments(current_user)) > 0 %>
        <span class="updates">
          <span class="new-comments highlight">
            <%= count %> new
          </span>
        </span>
      <% end %>
    </a>

    <span class="pipe-divider"></span>

    <span class="watchers">
      <%= task.formatted_watchers_count %>
    </span>

    <% if task.workers.any? %>
      <% worker = task.workers.first %>
      <div class="pull-right">
        assigned to
        <a href="<%= user_path(worker) %>">@<%= worker.username %></a>
      </div>
    <% end %>


    <% if task.promoted? %>
      <span class="promotion">
        <span class="pipe-divider"></span>
        <span class="promoted-wip">Promoted 2x pts</span>
      </span>
    <% end %>
  </div>


  <% if product %>
    <ol class="breadcrumb">
      <li>
        <a href="<%= product_path(task.product) %>"><%= task.product.name %></a>
      </li>
    </ol>
  <% end %>
</div>
{'fraction_non_alphanumeric': 0.209240729841083, 'fraction_numerical': 0.0011771630370806356, 'mean_word_length': 2.3, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 139, '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': '7041328', 'n_tokens_mistral': 1239, 'n_tokens_neox': 1116, 'n_words': 223}