<commit_before><% @page_title = "Assignment: #{@assignment.name}" %>

<p>
  <%= link_to "Back to Chapter: #{@chapter.name}", @chapter  %>

<% if @logged_in_user.course_admin?(@course) %>
  | <%= link_to 'Edit this Assignment', edit_assignment_path(@assignment) %>
<% end %>
</p>

<h1>Assignment Description</h1>

<div>
  <%= raw @assignment.assignment %>
</div>

<p>
  <b>Assignment Download:</b>
  <%= link_to @assignment.assignment_file_name, @assignment.file_path %>
</p>

<h1>Your Submissions</h1>

<ul>
<% @submissions.each do |submission| %>
  <li><%= link_to submission.updated_at, submission %> - Score: <%= submission.score %></li>
<% end %>
</ul>

<p><%= link_to "New Submission", new_assignment_submission_path(@assignment) %></p>
<commit_msg>Add user name to assignments list.<commit_after><% @page_title = "Assignment: #{@assignment.name}" %>

<p>
  <%= link_to "Back to Chapter: #{@chapter.name}", @chapter  %>

<% if @logged_in_user.course_admin?(@course) %>
  | <%= link_to 'Edit this Assignment', edit_assignment_path(@assignment) %>
<% end %>
</p>

<h1>Assignment Description</h1>

<div>
  <%= raw @assignment.assignment %>
</div>

<p>
  <b>Assignment Download:</b>
  <%= link_to @assignment.assignment_file_name, @assignment.file_path %>
</p>

<h1>Your Submissions</h1>

<ul>
<% @submissions.each do |submission| %>
  <li><%= link_to submission.updated_at, submission %> 
	- <%= submission.user.name %>
	- Score: <%= submission.score %></li>
<% end %>
</ul>

<p><%= link_to "New Submission", new_assignment_submission_path(@assignment) %></p>

{'fraction_non_alphanumeric': 0.2093469910371319, 'fraction_numerical': 0.005121638924455826, 'mean_word_length': 5.27710843373494, 'pattern_counts': {'":': 0, '<': 64, '<?xml version=': 0, '>': 64, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4104966', 'n_tokens_mistral': 638, 'n_tokens_neox': 587, 'n_words': 114}