<commit_before><div metal:use-macro="_LAYOUT">
<div metal:fill-slot="content">
  <p>Info for ${project.name}
    (<a href="${_R('project_edit', project_id=project.id)}">edit</a>)</p>
  <p tal:condition="request.user.is_admin">
    These are the submissions for ${name}:</p>
  <p tal:condition="not request.user.is_admin">
    There are your submissions:</p>
  <ul>
    <li tal:repeat="submission submissions">
      <a href="${_R('submission_item', submission_id=submission.id)}">${str(submission.created_at)}</a></li>
  </ul>
</div>
</div><commit_msg>Cleaned up the template for viewing detailed submission information<commit_after><div metal:use-macro="_LAYOUT">
<div metal:fill-slot="content">
  <p>Info for ${project.name}
    (<a href="${_R('project_edit', project_id=project.id)}">edit</a>)</p>
  <p tal:condition="request.user.is_admin and not submissions">
    ${name} has no submissions</p>
  <p tal:condition="not request.user.is_admin and not submissions">
    You have no submissions</p>
  <p tal:condition="request.user.is_admin and submissions">
    These are the submissions for ${name}:</p>
  <p tal:condition="not request.user.is_admin and submissions">
    There are your submissions:</p>
  <ul tal:condition="submissions">
    <li tal:repeat="submission submissions">
      <a href="${_R('submission_item', submission_id=submission.id)}">${str(submission.created_at)}</a></li>
  </ul>
</div>
</div>
{'fraction_non_alphanumeric': 0.18560338743824983, 'fraction_numerical': 0.0, 'mean_word_length': 5.416289592760181, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '3097856', 'n_tokens_mistral': 483, 'n_tokens_neox': 465, 'n_words': 101}