<commit_before><div class='rcorners bg-w row wrapper'>
  <div class='small h'>
    <img src=<%= @org.image %> alt="" class='mg p-s col-md-2 img-responsive'>
    <div class='col-md-9 mg p-s debug body'>
      <table class='debug w txt-c'>
        <thead>
          <tr class='debug'>
            <th class='txt-c fs-m th-w'>
              <a href="<%= show_path(@org) %>">
                <%= @org.name %>
              </a>
            </th>

          <% if !@logged_in || !@current_user_watches_org[@index] %>
            <th><%= button_to " Watch ", watch_path(@org_ids[@index]), :form_class => "watch-index-button",:class => "btn-success btn-xs watch-index-button",:"aria-hidden"=> "true", :method => :post  %></th>
          <% else %>
          <!-- this below button logins in but does not redirect to the right page -->
            <th> <%= button_to "Unwatch", unwatch_path(@org_ids[@index]),form_class: "unwatch-button" ,:class => "btn-danger btn-xs",:"aria-hidden"=> "true", :id => "organization-#{@org.id}", :method => :put %></th>
          </tr>
          <% end %>

        </thead>
        <tbody>
          <tr>
            <td><%= @org.description %></td>
          </tr>
        </tbody>
      </table>
        <%= render 'shared/org_stats' %>
    </div>
  </div>
</div>
<commit_msg>Remove watch and unwatch buttons from others profiles<commit_after><div class='rcorners bg-w row wrapper'>
  <div class='small h'>
    <img src=<%= @org.image %> alt="" class='mg p-s col-md-2 img-responsive'>
    <div class='col-md-9 mg p-s debug body'>
      <table class='debug w txt-c'>
        <thead>
          <tr class='debug'>
            <th class='txt-c fs-m th-w'>
              <a href="<%= show_path(@org) %>">
                <%= @org.name %>
              </a>
            </th>
          <% if @current_user != @user %>
          <% else %>
          <% if !@current_user_watches_org[@index] %>
            <th><%= button_to " Watch ", watch_path(@org_ids[@index]), :form_class => "watch-index-button",:class => "btn-success btn-xs watch-index-button",:"aria-hidden"=> "true", :method => :post  %></th>
          <% else %>
          <!-- this below button logins in but does not redirect to the right page -->
            <th> <%= button_to "Unwatch", unwatch_path(@org_ids[@index]),form_class: "unwatch-button" ,:class => "btn-danger btn-xs",:"aria-hidden"=> "true", :id => "organization-#{@org.id}", :method => :put %></th>
          </tr>
          <% end %>
          <% end %>

        </thead>
        <tbody>
          <tr>
            <td><%= @org.description %></td>
          </tr>
        </tbody>
      </table>
        <%= render 'shared/org_stats' %>
    </div>
  </div>
</div>

{'fraction_non_alphanumeric': 0.2065658428624124, 'fraction_numerical': 0.0014754703061600886, 'mean_word_length': 2.030167597765363, 'pattern_counts': {'":': 0, '<': 82, '<?xml version=': 0, '>': 98, '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': '6526039', 'n_tokens_mistral': 939, 'n_tokens_neox': 881, 'n_words': 209}