<commit_before><div metal:use-macro="_LAYOUT">
<div metal:fill-slot="content">
  <h1> ADMIN VIEW </h1>
  <p>Info for ${project.name}
    (<a href="${_R('project_edit', project_id=project.id)}">edit</a>)</p>
  <p>Users</p>
  <table border="1">
    <tr>
      <th>User</th>
      <th>Most Recent Submissions</th>
    </tr>
    <tr tal:repeat="(user, user_submissions) submissions">
      <td>
	<a href="${_R('user_item', username=user.username)}">
	  ${user.name}</a>
      </td>
      <td>
	<ul tal:condition="user_submissions">
	  <li tal:repeat="user_submission user_submissions">
	    <a href="${_R('submission_item', submission_id=user_submission.id)}">
	      ${user_submission.created_at}</a>
	  </li>
	  <li tal:condition="user_truncated[user]">
	    <a href="${_R('project_item_detailed', class_name=request.matchdict['class_name'], project_id=request.matchdict['project_id'], user_id=user.id)}">
	      Additional submissions...</a>
	  </li>
	</ul>
      </td>
    </tr>
  </table>
</div>
</div><commit_msg>Added note about how many submissions are shown in the summary view<commit_after><div metal:use-macro="_LAYOUT">
<div metal:fill-slot="content">
  <h1> ADMIN VIEW </h1>
  <p>Info for ${project.name}
    (<a href="${_R('project_edit', project_id=project.id)}">edit</a>)</p>
  <p>Users</p>
  <table border="1">
    <tr>
      <th>User</th>
      <th>Submissions (Most Recent Three Shown)</th>
    </tr>
    <tr tal:repeat="(user, user_submissions) submissions">
      <td>
	<a href="${_R('user_item', username=user.username)}">
	  ${user.name}</a>
      </td>
      <td>
	<ul tal:condition="user_submissions">
	  <li tal:repeat="user_submission user_submissions">
	    <a href="${_R('submission_item', submission_id=user_submission.id)}">
	      ${user_submission.created_at}</a>
	  </li>
	  <li tal:condition="user_truncated[user]">
	    <a href="${_R('project_item_detailed', class_name=request.matchdict['class_name'], project_id=request.matchdict['project_id'], user_id=user.id)}">
	      See all submissions...</a>
	  </li>
	</ul>
      </td>
    </tr>
  </table>
</div>
</div>
{'fraction_non_alphanumeric': 0.2062052505966587, 'fraction_numerical': 0.002863961813842482, 'mean_word_length': 4.050602409638554, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 79, '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': '3215895', 'n_tokens_mistral': 807, 'n_tokens_neox': 769, 'n_words': 133}