<commit_before><%
  module_item_next ||= nil
  module_item = module_item_next
  published_status = (module_item && module_item.published?) ? 'published' : 'unpublished'
  tag = module_item || nil; completion_criteria ||= nil; editable ||= false
@module_item_image_tags ||= {
  'indent' => "<i class='icon-arrow-right'></i>".html_safe,
  'outdent' => "<i class='icon-arrow-left'></i>".html_safe,
  'edit' => "<i class='icon-edit'></i>".html_safe,
  'delete' => "<i class='icon-end'></i>".html_safe,
}
 %>
<% criterion = completion_criteria && completion_criteria.find{|c| c[:id] == tag.id} %>

<li
  id="context_module_item_<%= tag ? tag.id : "blank" %>"
  style="<%= hidden unless module_item %>"
  class="
    context_module_item
    <%= module_item.content_type_class if module_item %>
    <%= 'also_assignment' if module_item && module_item.graded? %>
    indent_<%= tag.try_rescue(:indent) || '0' %>
    <%= 'progression_requirement' if criterion %>
    <%= criterion[:type] if criterion %>_requirement
    <%= module_item.item_class if module_item %>
  "
>
<div class="ig-row <%= 'with-completion-requirements' if criterion%> <%= 'ig-published' if module_item && module_item.published? %>">
  <a aria-label='<%= tag && tag.title %>' role='link' tabindex="-1" class="for-nvda"
     href="<%= context_url(@context, :context_url) %>/modules/items/<%= tag ? tag.id : "{{ id }}" %>"><%= tag && tag.title %></a>
  <div class="ig-title module-item-title ellipsis">
      <% if editable || module_item.nil? %>
      <span
        class="draggable-handle move_item_link"
        title="<%= t('drag_to_reorder', %{Drag to reorder or move item to another module}) %>"
      ><i class="icon-drag-handle"></i></span>
      <% end %>
      <span class="type_icon" title="<%= module_item_translated_content_type(module_item) %>">
        <i class="icon-document" aria-label="<%= t('Item type: Document') %>"></i>
        <i class="icon-download" aria-label="<%= t('Item type: Download') %>"></i>
        <i class="icon-discussion" aria-label="<%= t('Item type: Discussion') %>"></i>
        <i class="icon-assignment" aria-label="<%= t('Item type: Assignment') %>"></i>
        <i class="icon-quiz" aria-label="<%= t('Item type: Quiz') %>"></i>
        <i class="icon-link" aria-label="<%= t('Item type: Link') %>"></i>
      </span>
      <span class="item_name" aria-hidden="true">
        <% if tag && tag.content_type == 'ExternalUrl' && tag.new_tab %>
          <a aria-label='<%= tag.title %>' class="title external_url_link" target="_blank" href="<%= tag.url %>"
             data-item-href="<%= context_url(@context, :context_url) %>/modules/items/<%= tag.id %>"><%= tag.title %></a>
        <% else %>
          <a title="<%= tag && tag.title %>" class="title"
             href="<%= context_url(@context, :context_url) %>/modules/items/<%= tag ? tag.id : "{{ id }}" %>"><%= tag && tag.title %></a>
        <% end %>
        <span title="<%= tag && tag.title %>" class="title locked_title"><%= tag && tag.title %></span><commit_msg>fix long filename truncation in firefox<commit_after><%
  module_item_next ||= nil
  module_item = module_item_next
  published_status = (module_item && module_item.published?) ? 'published' : 'unpublished'
  tag = module_item || nil; completion_criteria ||= nil; editable ||= false
@module_item_image_tags ||= {
  'indent' => "<i class='icon-arrow-right'></i>".html_safe,
  'outdent' => "<i class='icon-arrow-left'></i>".html_safe,
  'edit' => "<i class='icon-edit'></i>".html_safe,
  'delete' => "<i class='icon-end'></i>".html_safe,
}
 %>
<% criterion = completion_criteria && completion_criteria.find{|c| c[:id] == tag.id} %>

<li
  id="context_module_item_<%= tag ? tag.id : "blank" %>"
  style="<%= hidden unless module_item %>"
  class="
    context_module_item
    <%= module_item.content_type_class if module_item %>
    <%= 'also_assignment' if module_item && module_item.graded? %>
    indent_<%= tag.try_rescue(:indent) || '0' %>
    <%= 'progression_requirement' if criterion %>
    <%= criterion[:type] if criterion %>_requirement
    <%= module_item.item_class if module_item %>
  "
>
<div class="ig-row <%= 'with-completion-requirements' if criterion%> <%= 'ig-published' if module_item && module_item.published? %>">
  <a aria-label='<%= tag && tag.title %>' role='link' tabindex="-1" class="for-nvda"
     href="<%= context_url(@context, :context_url) %>/modules/items/<%= tag ? tag.id : "{{ id }}" %>"><%= tag && tag.title %></a>
  <div style="white-space: nowrap;" class="ig-title module-item-title ellipsis">
      <% if editable || module_item.nil? %>
      <span
        class="draggable-handle move_item_link"
        title="<%= t('drag_to_reorder', %{Drag to reorder or move item to another module}) %>"
      ><i class="icon-drag-handle"></i></span>
      <% end %>
      <span class="type_icon" title="<%= module_item_translated_content_type(module_item) %>">
        <i class="icon-document" aria-label="<%= t('Item type: Document') %>"></i>
        <i class="icon-download" aria-label="<%= t('Item type: Download') %>"></i>
        <i class="icon-discussion" aria-label="<%= t('Item type: Discussion') %>"></i>
        <i class="icon-assignment" aria-label="<%= t('Item type: Assignment') %>"></i>
        <i class="icon-quiz" aria-label="<%= t('Item type: Quiz') %>"></i>
        <i class="icon-link" aria-label="<%= t('Item type: Link') %>"></i>
      </span>
      <span class="item_name" aria-hidden="true">
        <% if tag && tag.content_type == 'ExternalUrl' && tag.new_tab %>
          <a aria-label='<%= tag.title %>' class="title external_url_link" target="_blank" href="<%= tag.url %>"
             data-item-href="<%= context_url(@context, :context_url) %>/modules/items/<%= tag.id %>"><%= tag.title %></a>
        <% else %>
          <a title="<%= tag && tag.title %>" class="title"
             href="<%= context_url(@context, :context_url) %>/modules/items/<%= tag ? tag.id : "{{ id }}" %>"><%= tag && tag.title %></a>
        <% end %>
        <span title="<%= tag && tag.title %>" class="title locked_title"><%= tag && tag.title %></span>
{'fraction_non_alphanumeric': 0.22494686938041525, 'fraction_numerical': 0.0006539153179663233, 'mean_word_length': 3.8211189913317574, 'pattern_counts': {'":': 0, '<': 159, '<?xml version=': 0, '>': 167, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6075405', 'n_tokens_mistral': 2226, 'n_tokens_neox': 2067, 'n_words': 430}