<commit_before><div class="site-content">
  <div class="site-content-cap">
    <div class="flex-table">
      <div class="flex-table-item">
        <span class="assignment-icon assignment-icon-individual left">
          <%= octicon('person') %>
        </span>

        <h2 class="site-content-heading">
          <%= assignment.title %>
        </h2>

        <p class="assignment-type text-muted">Individual assigment</p>
      </div>
    </div>
  </div>
  <div class="site-content-body">
    <div class="boxed-group">
      <h3>Info</h3>

      <div class="boxed-group-inner">
        <p>
          <% creator      = assignment.creator.decorate %>
          <% organization = assignment.organization.decorate %>

          <h4>Owned by <%= link_to organization.title, stafftools_organization_path(organization) %>
          <h4>Created by <%= link_to creator.login, stafftools_user_path(creator) %>

          <% if assignment.starter_code? %>
            <h4>Starter code <%= link_to assignment.starter_code_github_url, assignment.starter_code_github_url %></h4>
          <% end %>

          <h4>Invitation <%= link_to assignment.assignment_invitation.key, stafftools_assignment_invitation_path(assignment.assignment_invitation.id) %>
          <h4>Created on <span class="lead"><%= local_time(assignment.created_at) %></span></h4>
          <h4>Last updated <span class="lead"><%= local_time(assignment.created_at) %></span></h4>
        </p>
      </div>
    </div>

    <% if assignment.assignment_repos.present? %>
      <div class="boxed-group">
        <h3>Assignment repos</h3>

        <div class="boxed-group-inner">
          <ul class="boxed-group-list standalone">
            <%= render partial: 'stafftools/assignments/assignment_repo', collection: assignment.assignment_repos.decorate %>
          </ul>
        </div>
      </div>
    <% end %>
  </div>
</div>
<commit_msg>Update layout for assignments<commit_after><div class="site-content">
  <div class="stafftools-page-header clearfix">
    <span class="assignment-icon assignment-icon-individual left">
      <%= octicon('person') %>
    </span>

    <h2 class="site-content-heading">
      <%= assignment.title %>
    </h2>

    <p class="assignment-type text-muted">Individual assigment</p>
  </div>

  <div class="boxed-group">
    <h3>Assignment information</h3>

    <div class="boxed-group-inner">
      <% creator      = assignment.creator.decorate %>
      <% organization = assignment.organization.decorate %>

      <table>
        <tr>
          <td class="text-emphasized">Owned by</td>
          <td><%= link_to organization.title, stafftools_organization_path(organization) %></td>
        </tr>
        <tr>
          <td class="text-emphasized">Created by</td>
          <td><%= link_to creator.login, stafftools_user_path(creator) %></td>
        </tr>
        <% if assignment.starter_code? %>
        <tr>
          <td class="text-emphasized">Starter code</td>
          <td><%= link_to assignment.starter_code_github_url, assignment.starter_code_github_url %></td>
        </tr>
        <% end %>
        <tr>
          <td class="text-emphasized">Invitation</td>
          <td><%= link_to assignment.assignment_invitation.key, stafftools_assignment_invitation_path(assignment.assignment_invitation.id) %></td>
        </tr>
        <tr>
          <td class="text-emphasized">Created on</td>
          <td><%= local_time(assignment.created_at) %></td>
        </tr>
        <tr>
          <td class="text-emphasized">Last updated</td>
          <td><%= local_time(assignment.created_at) %></td>
        </tr>
      </table>
    </div>
  </div>

  <% if assignment.assignment_repos.present? %>
    <div class="boxed-group">
      <h3>Assignment repos</h3>

      <div class="boxed-group-inner">
        <ul class="boxed-group-list standalone">
          <%= render partial: 'stafftools/assignments/assignment_repo', collection: assignment.assignment_repos.decorate %>
        </ul>
      </div>
    </div>
  <% end %>
</div>

{'fraction_non_alphanumeric': 0.1610738255033557, 'fraction_numerical': 0.005219985085756898, 'mean_word_length': 2.6548592188919162, 'pattern_counts': {'":': 0, '<': 140, '<?xml version=': 0, '>': 140, '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': '2642278', 'n_tokens_mistral': 1355, 'n_tokens_neox': 1257, 'n_words': 213}