<commit_before>- content_for :sidebar do
  = render :partial => "shared/sidebar"


#directory
  #group
    .title
      %h1= "Directory"

  .expand
    %ul.pills{ :style => "float: right; cursor: pointer;" }
      %li
        %a.expand_all Expand All
      %li
        %a.collapse_all Collapse All
  
  .categories{ :style => "margin-top: 65px;"}
    - @sub_categories.each_with_index do |x, i|
      - primary_category, sub_categories, groups = x
      - category_id = primary_category.gsub(" ","").gsub(/[^[:alnum:]]/, '')
      .category{ :class => i % 2 == 0 ? "category_nostripe" : "category_stripe" }
        %h4.category_header{ :id => category_id}= primary_category
        %span.ui-icon.ui-icon-triangle-1-s{ :style => "float: right; margin-right: 10px; margin-top: -25px;"}
        .groups_container{ :id => primary_category.gsub(" ","").gsub(/[^[:alnum:]]/, '') }
          - sub_categories.each do |sub_category, groups|
            %h5.category_sub_header= sub_category.sub_category
            %ul.groups_list
              - groups.each do |group|
                %li
                  = link_to group.name.sub(/Dartmouth /,"").truncate(40), group_path(group)
          
        
        
        
        <commit_msg>#24 cleanup directory index page<commit_after>- content_for :sidebar do
  = render :partial => "shared/sidebar"


#directory
  #group
    .title
      %h1= "Directory"

  .expand
    %ul.pills{ :style => "float: right; cursor: pointer;" }
      %li
        %a.expand_all Expand All
      %li
        %a.collapse_all Collapse All
  
  .categories{ :style => "margin-top: 65px;"}
    - @sub_categories.each_with_index do |x, i|
      - primary_category, sub_categories, groups = x
      - category_id = primary_category.gsub(" ","").gsub(/[^[:alnum:]]/, '')
      .category{ :class => i % 2 == 0 ? "category_nostripe" : "category_stripe" }
        %h4.category_header{ :id => category_id}= primary_category
        %span.ui-icon.ui-icon-triangle-1-s{ :style => "float: right; margin-right: 10px; margin-top: -25px;"}
        .groups_container{ :id => primary_category.gsub(" ","").gsub(/[^[:alnum:]]/, '') }
          - sub_categories.each do |sub_category, groups|
            %h5.category_sub_header= sub_category.sub_category
            %ul.groups_list
              - groups.each do |group|
                %li
                  = link_to group.name.sub(/Dartmouth /,"").truncate(40), group_path(group)


        
{'fraction_non_alphanumeric': 0.15802368313597387, 'fraction_numerical': 0.012249897917517355, 'mean_word_length': 2.3515731874145005, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '6488198', 'n_tokens_mistral': 835, 'n_tokens_neox': 797, 'n_words': 164}