<commit_before><div class="panel panel-default panel-archive">

  <div class="panel-heading">

    <div class="dropdown pull-right">
      <button class="btn btn-link dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
        <span class="caret"></span>
      </button>
      <% experiment_form = nil %>
      <%= form_for experiment, method: :patch, format: :html do |f| %>
        <% experiment_form = f %>
        <%= f.hidden_field :archived, value: false %>
      <% end %>
      <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu1">
        <li class="dropdown-header"><%=t "projects.index.options_header" %></li>
        <% if can_restore_experiment?(experiment) %>
          <li><a href="#" class="form-submit-link" data-turbolinks="false" data-submit-form="<%= experiment_form.options[:html][:id] %>"><%= t "projects.experiment_archive.restore_option" %></a></li>
        <% end %>
      </ul>
    </div>

    <h3 class="panel-title"><%= experiment.name %></h3>
  </div>

  <div class="panel-body">
    <% if experiment.workflowimg.attached? %>
      <div class="workflowimg-container">
        <%= image_tag(
              experiment.workflowimg.expiring_url(
                Constants::URL_SHORT_EXPIRE_TIME
              ),
              class: 'img-responsive center-block') %>
      </div>
    <% end %>
    <div class="row">
      <div class="col-xs-4">
        <%=t "projects.experiment_archive.archived_on" %>
      </div>
      <div class="col-xs-8">
        <span title="<%=t "projects.experiment_archive.archived_on_title", date: l(experiment.archived_on, format: :full_date), time: l(experiment.archived_on, format: :time) %>">
          <span class="fas fa-calendar-alt" aria-hidden="true"></span>
          <%=l experiment.archived_on, format: :full_date %>
        </span>
      </div>
    </div>
    <div class="row">
      <div class="col-xs-4">
        <%=t "projects.experiment_archive.created_on" %>
      </div>
      <div class="col-xs-8">
        <span title="<%=t "projects.experiment_archive.created_on_title", date: l(experiment.created_at, format: :full_date), time: l(experiment.created_at, format: :time) %>">
          <span class="fas fa-calendar-alt" aria-hidden="true"></span>
          <%=l experiment.created_at, format: :full_date %><commit_msg>Fix error on archived experiment page<commit_after><div class="panel panel-default panel-archive">

  <div class="panel-heading">

    <div class="dropdown pull-right">
      <button class="btn btn-link dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
        <span class="caret"></span>
      </button>
      <% experiment_form = nil %>
      <%= form_for experiment, method: :patch, format: :html do |f| %>
        <% experiment_form = f %>
        <%= f.hidden_field :archived, value: false %>
      <% end %>
      <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu1">
        <li class="dropdown-header"><%=t "projects.index.options_header" %></li>
        <% if can_restore_experiment?(experiment) %>
          <li><a href="#" class="form-submit-link" data-turbolinks="false" data-submit-form="<%= experiment_form.options[:html][:id] %>"><%= t "projects.experiment_archive.restore_option" %></a></li>
        <% end %>
      </ul>
    </div>

    <h3 class="panel-title"><%= experiment.name %></h3>
  </div>

  <div class="panel-body">
    <% if experiment.workflowimg.attached? %>
      <div class="workflowimg-container">
        <%= image_tag(
              experiment.workflowimg,
              class: 'img-responsive center-block') %>
      </div>
    <% end %>
    <div class="row">
      <div class="col-xs-4">
        <%=t "projects.experiment_archive.archived_on" %>
      </div>
      <div class="col-xs-8">
        <span title="<%=t "projects.experiment_archive.archived_on_title", date: l(experiment.archived_on, format: :full_date), time: l(experiment.archived_on, format: :time) %>">
          <span class="fas fa-calendar-alt" aria-hidden="true"></span>
          <%=l experiment.archived_on, format: :full_date %>
        </span>
      </div>
    </div>
    <div class="row">
      <div class="col-xs-4">
        <%=t "projects.experiment_archive.created_on" %>
      </div>
      <div class="col-xs-8">
        <span title="<%=t "projects.experiment_archive.created_on_title", date: l(experiment.created_at, format: :full_date), time: l(experiment.created_at, format: :time) %>">
          <span class="fas fa-calendar-alt" aria-hidden="true"></span>
          <%=l experiment.created_at, format: :full_date %>
{'fraction_non_alphanumeric': 0.18172157279489903, 'fraction_numerical': 0.0034006376195536664, 'mean_word_length': 3.088618592528236, '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': '825287', 'n_tokens_mistral': 1590, 'n_tokens_neox': 1509, 'n_words': 280}