<commit_before>%li#home.trail= link_to 'Home', home_path
%li.trail= link_to 'About', about_path
- if current_user.has_role?('admin', 'manager', 'researcher', 'author')
  %li.trail=link_to(top_level_container_name.humanize.pluralize, investigations_path)
- if current_user.has_role?('admin')
  %li.trail= link_to "#{ResourcePage.display_name.pluralize}", resource_pages_path
- if current_user.portal_teacher
  %li.trail= link_to 'Browse Instructional Materials' , "/search"
- if current_user.has_role?('guest')
  %li.trail= link_to "Unit Previews", preview_list_link
  %li.trail= link_to 'Browse Instructional Materials' , "/search"
<commit_msg>✖ "Unit Previews" link → preview_list_link. Similar to browse materials.<commit_after>%li#home.trail= link_to 'Home', home_path
%li.trail= link_to 'About', about_path
- if current_user.has_role?('admin', 'manager', 'researcher', 'author')
  %li.trail=link_to(top_level_container_name.humanize.pluralize, investigations_path)
- if current_user.has_role?('admin')
  %li.trail= link_to "#{ResourcePage.display_name.pluralize}", resource_pages_path
- if current_user.portal_teacher
  %li.trail= link_to 'Browse Instructional Materials' , "/search"
- if current_user.has_role?('guest')
  %li.trail= link_to 'Browse Instructional Materials' , "/search"

{'fraction_non_alphanumeric': 0.1409759876065066, 'fraction_numerical': 0.0, 'mean_word_length': 6.9753086419753085, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '965220', 'n_tokens_mistral': 476, 'n_tokens_neox': 468, 'n_words': 88}