<commit_before><h3><%= @bot.name %><br/>
<small>by <%= @bot.owner.username %></small></h3>

<p class="text-muted"><%= @bot.description %></p>

<strong>Collaborators</strong>
<ul>
  <%= @bot.collaborators.each do |user| %>
    <li><%= user_link user %></li>
  <% end %>
</ul>

<strong><%= link_to "Instances", url_for(controller: :bot_instances, action: :index, bot_id: :bot.id) %></strong>
<ul>
  <%= @bot.bot_instances.each do |instance| %>
    <%= render 'bot_instances/list_item', :instance => instance %>
  <% end %>
</ul>

<% if user_signed_in? && (current_user.is_owner? @bot || current_user.is_admin?) %>
  <%= link_to "Edit", url_for(:controller => :bots, :action => :edit, :id => @bot.id) %> &middot;
  <%= link_to "Delete", url_for(:controller => :bots, :action => :destroy, :id => @bot.id), :class => "text-danger",<commit_msg>Actually fix that nil error<commit_after><h3><%= @bot.name %><br/>
<small>by <%= @bot.owner.username %></small></h3>

<p class="text-muted"><%= @bot.description %></p>

<strong>Collaborators</strong>
<ul>
  <%= @bot.collaborators.each do |user| %>
    <li><%= user_link user %></li>
  <% end %>
</ul>

<strong><%= link_to "Instances", url_for(controller: :bot_instances, action: :index, bot_id: @bot.id) %></strong>
<ul>
  <%= @bot.bot_instances.each do |instance| %>
    <%= render 'bot_instances/list_item', :instance => instance %>
  <% end %>
</ul>

<% if user_signed_in? && (current_user.is_owner? @bot || current_user.is_admin?) %>
  <%= link_to "Edit", url_for(:controller => :bots, :action => :edit, :id => @bot.id) %> &middot;
  <%= link_to "Delete", url_for(:controller => :bots, :action => :destroy, :id => @bot.id), :class => "text-danger",
{'fraction_non_alphanumeric': 0.2485207100591716, 'fraction_numerical': 0.002366863905325444, 'mean_word_length': 4.975265017667844, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 77, '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': '4249928', 'n_tokens_mistral': 694, 'n_tokens_neox': 648, 'n_words': 133}