<commit_before><metal:block use-macro="main_template">

  <div metal:fill-slot="content">

    <div class="panel panel-default">
      <div class="panel-heading">
        <h4>${name}
          <a class="btn btn-success pull-right" href="${request.route_path('supervisor_log', name=name)}"><i class="fa fa-lg fa-repeat"></i></a>
        </h4>
      </div>
      <div class="panel-body">
        <pre class="pre-scrollable log-output">
          ${"\n".join( ["{0:3d} {1}".format(i+1, log[i]) for i in range(len(log))] )}
        </pre>
      </div>
    </div>

  </div>
   
</metal:block><commit_msg>update header in supervisor log template<commit_after><metal:block use-macro="main_template">

  <div metal:fill-slot="content">

    <div class="panel panel-default">
      <div class="panel-heading">
        <span class="panel-title">
          <a href="${request.route_path('supervisor')}">
            <i class="fa fa-fw fa-chevron-left" ></i>
          </a>
          ${name}
          <div class="pull-right">
            <a class="btn btn-success btn-xs"
               rel="tooltip"
               data-toggle="tooltip"
               title="Refresh"
               href="${request.route_path('supervisor_log', name=name)}">
              <i class="fa fa-lg fa-repeat"></i>
            </a>
          </div>
        </span>
      </div>
      <div class="panel-body">
        <pre class="pre-scrollable log-output">
          ${"\n".join( ["{0:3d} {1}".format(i+1, log[i]) for i in range(len(log))] )}
        </pre>
      </div>
    </div>

  </div>
   
</metal:block>
{'fraction_non_alphanumeric': 0.19796954314720813, 'fraction_numerical': 0.006345177664974619, 'mean_word_length': 2.154, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '5448555', 'n_tokens_mistral': 534, 'n_tokens_neox': 519, 'n_words': 100}