<commit_before>---
layout: none
theme: none
---
%div
  %br/
  %a{href: '/teacher-dashboard#/'}= I18n.t('dashboard_navigation_home_page')
  %span{style: "opacity:0.5"} &nbsp; &#9654; &nbsp;
  %b{style: "color: #ff8b02;"}= I18n.t('dashboard_navigation_all_sections')
  %br/
  %br/
  %button.btn.btn-white{"ng-click" => "new_section()"}= I18n.t('dashboard_sections_new_section')
  %br/
  %br/

  %div.jumbotron{'ng-show' => 'sectionsLoaded && sections.length <= 0'}
    %p= I18n.t('dashboard_sections_jumbotron_instruction')

  %table{style: "width:100%; table-layout:fixed;", 'ng-show' => 'sections.length > 0'}
    %colgroup
      %col{width:"200"}
      %col{width:"130"}
      %col{width:"98"}
      %col{width:"130"}
      %col
      %col
      %col
    %tr
      %th.manage-th
        %a{href: "", "ng-click" => "order = 'name'"}= I18n.t('dashboard_sections_table_section')
      %th.manage-th
        %a{href: "", "ng-click" => "order = 'login_type'"}= I18n.t('dashboard_sections_table_secret')
      %th.manage-th
        %a{href: "", "ng-click" => "order = 'grade'"}= I18n.t('dashboard_sections_table_grade')
      %th.manage-th
        %a{href: "", "ng-click" => "order = 'course.name'"}= I18n.t('dashboard_sections_table_course')
      %th.manage-th
        %a{href: "", "ng-click" => "order = 'students.length'"}= I18n.t('dashboard_sections_table_students')
      %th.manage-th= I18n.t('dashboard_sections_table_code')
      %th.manage-th

    %tr{"ng-repeat" => "section in sections | orderBy:order", style: "vertical-align:top"}
      %td<commit_msg>table-layout should be auto to better adjust for different length strings.<commit_after>---
layout: none
theme: none
---
%div
  %br/
  %a{href: '/teacher-dashboard#/'}= I18n.t('dashboard_navigation_home_page')
  %span{style: "opacity:0.5"} &nbsp; &#9654; &nbsp;
  %b{style: "color: #ff8b02;"}= I18n.t('dashboard_navigation_all_sections')
  %br/
  %br/
  %button.btn.btn-white{"ng-click" => "new_section()"}= I18n.t('dashboard_sections_new_section')
  %br/
  %br/

  %div.jumbotron{'ng-show' => 'sectionsLoaded && sections.length <= 0'}
    %p= I18n.t('dashboard_sections_jumbotron_instruction')

  %table{style: "width:100%; table-layout:auto;", 'ng-show' => 'sections.length > 0'}
    %colgroup
      %col{width:"200"}
      %col{width:"130"}
      %col{width:"98"}
      %col{width:"130"}
      %col
      %col
      %col
    %tr
      %th.manage-th
        %a{href: "", "ng-click" => "order = 'name'"}= I18n.t('dashboard_sections_table_section')
      %th.manage-th
        %a{href: "", "ng-click" => "order = 'login_type'"}= I18n.t('dashboard_sections_table_secret')
      %th.manage-th
        %a{href: "", "ng-click" => "order = 'grade'"}= I18n.t('dashboard_sections_table_grade')
      %th.manage-th
        %a{href: "", "ng-click" => "order = 'course.name'"}= I18n.t('dashboard_sections_table_course')
      %th.manage-th
        %a{href: "", "ng-click" => "order = 'students.length'"}= I18n.t('dashboard_sections_table_students')
      %th.manage-th= I18n.t('dashboard_sections_table_code')
      %th.manage-th

    %tr{"ng-repeat" => "section in sections | orderBy:order", style: "vertical-align:top"}
      %td
{'fraction_non_alphanumeric': 0.2055311125078567, 'fraction_numerical': 0.028284098051539912, 'mean_word_length': 3.593073593073593, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, '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': '4263725', 'n_tokens_mistral': 1265, 'n_tokens_neox': 1228, 'n_words': 185}