<commit_before>#network-analysis-modal.modal.fade{ tabindex: "-1", role: "dialog"}
  .modal-dialog.modal-lg{role: "document"}
    .modal-content
      = form_tag '/api/visualizations/'+@visualization.id.to_s+'/network-analysis/', method: 'post', id: 'network-analysis-form' do
        .modal-header
          %h4.modal-title
            = t '.title'
          %button.close{type: "button", "data-dismiss" => "modal", "aria-label" => "Close"}
        .modal-body
          .row.modal-description
            .col-sm-8.col-sm-offset-2
              %p.text-center
                = t '.description'
              %p.alert.alert-warning
                = t '.advice'
          .row
            .col-sm-4
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.clusters_explanation')} }
                  = label_tag :clusters, t('.clusters')
                  %span.icon-question
              = check_box_tag :clusters, '1', true, class: 'switch', data: { "size" => "small" }
            .col-sm-4
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.degree_explanation')} }
                  = label_tag :degree, t('.degree')
                  %span.icon-question
              = check_box_tag :degree, '1', true, class: 'switch', data: { "size" => "small" }
            .col-sm-4
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.relevance_explanation')} }
                  = label_tag :relevance, t('.relevance')
                  %span.icon-question
              = check_box_tag :relevance, '1', true, class: 'switch', data: { "size" => "small" }
            .col-sm-4
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.betweenness_explanation')} }
                  = label_tag :betweenness, t('.betweenness')
                  %span.icon-question
              = check_box_tag :betweenness, '1', true, class: 'switch', data: { "size" => "small" }
            .col-sm-4
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.closeness_explanation')} }
                  = label_tag :closeness, t('.closeness')
                  %span.icon-question
              = check_box_tag :closeness, '1', true, class: 'switch', data: { "size" => "small" }
            .col-sm-4
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.coreness_explanation')} }
                  = label_tag :coreness, t('.coreness')
                  %span.icon-question
              = check_box_tag :coreness, '1', true, class: 'switch', data: { "size" => "small" }
            .col-sm-12
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.distance_explanation')} }
                  = label_tag :distance, t('.distance')
                  %span.icon-question
              = check_box_tag :distance, '1', true, class: 'switch', data: { "size" => "small" }
        .modal-footer
          = submit_tag t('.submit'), class: "btn btn-default btn-primary"
          %a.btn.btn-primary.btn-invert{type: 'button', 'data-dismiss' => 'modal', 'aria-label' => 'Close'}= t 'common.cancel'<commit_msg>Hide distance parameter in Network Analysis for now<commit_after>#network-analysis-modal.modal.fade{ tabindex: "-1", role: "dialog"}
  .modal-dialog.modal-lg{role: "document"}
    .modal-content
      = form_tag '/api/visualizations/'+@visualization.id.to_s+'/network-analysis/', method: 'post', id: 'network-analysis-form' do
        .modal-header
          %h4.modal-title
            = t '.title'
          %button.close{type: "button", "data-dismiss" => "modal", "aria-label" => "Close"}
        .modal-body
          .row.modal-description
            .col-sm-8.col-sm-offset-2
              %p.text-center
                = t '.description'
              %p.alert.alert-warning
                = t '.advice'
          .row
            .col-sm-4
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.clusters_explanation')} }
                  = label_tag :clusters, t('.clusters')
                  %span.icon-question
              = check_box_tag :clusters, '1', true, class: 'switch', data: { "size" => "small" }
            .col-sm-4
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.degree_explanation')} }
                  = label_tag :degree, t('.degree')
                  %span.icon-question
              = check_box_tag :degree, '1', true, class: 'switch', data: { "size" => "small" }
            .col-sm-4
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.relevance_explanation')} }
                  = label_tag :relevance, t('.relevance')
                  %span.icon-question
              = check_box_tag :relevance, '1', true, class: 'switch', data: { "size" => "small" }
            .col-sm-4
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.betweenness_explanation')} }
                  = label_tag :betweenness, t('.betweenness')
                  %span.icon-question
              = check_box_tag :betweenness, '1', true, class: 'switch', data: { "size" => "small" }
            .col-sm-4
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.closeness_explanation')} }
                  = label_tag :closeness, t('.closeness')
                  %span.icon-question
              = check_box_tag :closeness, '1', true, class: 'switch', data: { "size" => "small" }
            .col-sm-4
              %p
                %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.coreness_explanation')} }
                  = label_tag :coreness, t('.coreness')
                  %span.icon-question
              = check_box_tag :coreness, '1', true, class: 'switch', data: { "size" => "small" }
            / .col-sm-12
            /   %p
            /     %span{ data: {toggle: "tooltip", placement: "right", "original-title": t('.distance_explanation')} }
            /       = label_tag :distance, t('.distance')
            /       %span.icon-question
            /   = check_box_tag :distance, '1', true, class: 'switch', data: { "size" => "small" }
        .modal-footer
          = submit_tag t('.submit'), class: "btn btn-default btn-primary"
          %a.btn.btn-primary.btn-invert{type: 'button', 'data-dismiss' => 'modal', 'aria-label' => 'Close'}= t 'common.cancel'
{'fraction_non_alphanumeric': 0.1683431952662722, 'fraction_numerical': 0.005621301775147929, 'mean_word_length': 1.7868920032976092, 'pattern_counts': {'":': 14, '<': 3, '<?xml version=': 0, '>': 25, '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': '4818435', 'n_tokens_mistral': 2078, 'n_tokens_neox': 2000, 'n_words': 428}