<commit_before><%= render :partial => 'submissions/filename_spec', :locals => {
  :default_suffix => 'cover', :default_prefix => nil,
  :basename => (@assignment.team_partition ? 'teamname' : 'username'),
  :id => 'cover', :name => 'Cover', :title => 'Cover Sheet', :extension => 'pdf' } %>     

<% @assignment.deliverables.each do |d| %>

<%= render :partial => 'submissions/filename_spec', :locals => {
	:default_suffix => d.filename.blank? ? '' : d.filename[0...(d.filename.rindex(?.) || d.filename.length)],
	:default_prefix => nil,
	:id => d.id,
	:name => d.name,
	:title => d.name,
  :basename => (@assignment.team_partition ? 'teamname' : 'username'),
	:extension => d.filename.blank? ? '{pdf|py}' : d.filename.split('.').last 
} %>
<% end %><commit_msg>Fixed crash in grading kit generation.<commit_after><%= render 'submissions/filename_spec', default_prefix: nil,
  default_suffix: 'cover', extension: 'pdf',
  basename: (@assignment.team_partition ? 'teamname' : 'username'),
  id: 'cover', name: 'Cover', title: 'Cover Sheet' %>     

<% @assignment.deliverables.each.with_index do |d, i| %>

<%= render 'submissions/filename_spec', default_prefix: nil,
	default_suffix: "part#{i + 1}", extension: d.file_ext,
  basename: (@assignment.team_partition ? 'teamname' : 'username'),
	id: d.id, name: d.name, title: d.name %>

<% end %>
{'fraction_non_alphanumeric': 0.21072226358897989, 'fraction_numerical': 0.0014892032762472078, 'mean_word_length': 4.920704845814978, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 29, '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': '4039318', 'n_tokens_mistral': 491, 'n_tokens_neox': 458, 'n_words': 99}