<commit_before><% if @current_user.admin? %>
  <li class="level2">
    <%= link_to I18n.t(:create_new_assignment),
		:controller => 'assignments',
		:action => 'new' %>
  </li>
  <li class="level2">
    <%= link_to I18n.t(:create_new_grade_entry_form),
	        :controller => 'grade_entry_forms',
		:action => 'new' %>
  </li>
  <li class="level2">
    <div class="clear"></div><br><br>
  </li>
<% end %>


<% Assignment.find(:all, :order => 'short_identifier ASC').each do |assignment|%><commit_msg>Fixed a method call so that it will always return an enumerable type.<commit_after><% if @current_user.admin? %>
  <li class="level2">
    <%= link_to I18n.t(:create_new_assignment),
		:controller => 'assignments',
		:action => 'new' %>
  </li>
  <li class="level2">
    <%= link_to I18n.t(:create_new_grade_entry_form),
	        :controller => 'grade_entry_forms',
		:action => 'new' %>
  </li>
  <li class="level2">
    <div class="clear"></div><br><br>
  </li>
<% end %>


<% Assignment.all(:order => 'short_identifier ASC').each do |assignment|%>
{'fraction_non_alphanumeric': 0.20647002854424357, 'fraction_numerical': 0.013320647002854425, 'mean_word_length': 4.182266009852217, 'pattern_counts': {'":': 0, '<': 33, '<?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': '4224686', 'n_tokens_mistral': 416, 'n_tokens_neox': 383, 'n_words': 76}