<commit_before>.grid-sm
  .panel.panel-default
    p.page-title
      i.fa.fa-heartbeat
      |  Health
.grid-sm
  .grid-cell
    .panel.panel-default
      .panel-heading.panel-title
        i.fa.fa-fire
        |  Weekly Heatmap
      .panel-body(ng-controller="HealthHeatmap as heatmap")
        | {{heatmap.toto}}
        form
          .grid-sm
            .grid-cell.grid--gutters
              .container-fluid
                .form-group
                  ui-select.form-control(ng-model = 'heatmap.selected', ng-change = 'heatmap.prepareTypeFilter(heatmap.selected)', multiple, close-on-select = 'false')
                    ui-select-match(placeholder = 'Choose an object')
                      i(class = 'xo-icon-{{ $item.type | lowercase }}')
                      |  {{ $item.name_label }}
                    ui-select-choices(repeat = 'object in heatmap.objects | underStat | type:heatmap.typeFilter | filter:$select.search | orderBy:["type", "name_label"] track by object.id')
                      div
                        i(class = 'xo-icon-{{ object.type | lowercase }}')
                        |  {{ object.name_label }}
                        span(ng-if="(object.type === 'SR' || object.type === 'VM') && object.$container")
                          |  ({{ (object.$container | resolve).name_label }})
                //- br
                .btn-group(role = 'group')
                  button.btn.btn-default(ng-click = 'heatmap.selected = []', tooltip = 'Clear selection')
                    i.fa.fa-times
                  button.btn.btn-default(ng-click = 'heatmap.selectAll("VM")', tooltip = 'Choose all VMs')
                    i.xo-icon-vm
                  button.btn.btn-default(ng-click = 'heatmap.selectAll("host")', tooltip = 'Choose all hosts')
                    i.xo-icon-host
                  button.btn.btn-success(ng-click = 'heatmap.prepareMetrics(heatmap.selected)', tooltip = 'Load metrics')
                    i.fa.fa-check
                    | &nbsp;Select
            .grid-cell.grid--gutters
              .container-fluid
                span(ng-if = 'heatmap.loadingMetrics')
                  | Loading metrics ...&nbsp;
                  i.fa.fa-circle-o-notch.fa-spin
                .form-group(ng-if = 'heatmap.metrics')
                  ui-select(ng-model = 'heatmap.selectedMetric')
                    ui-select-match(placeholder = 'Choose a metric') {{ $select.selected.key }}
                    ui-select-choices(repeat = 'metric in heatmap.metrics | filter:$select.search | orderBy:["key"]') {{ metric.key }}
        br
        p.text-center(ng-if = 'heatmap.chosen.length')
          span(ng-repeat = 'object in heatmap.chosen', ng-class = '{"text-danger": object._ignored}')
            i(class = 'xo-icon-{{ object.type | lowercase }}')
            | &nbsp;
            span(ng-if = '!object._ignored') {{ object.name_label }}
            del(ng-if = 'object._ignored') {{ object.name_label }}
            | &nbsp;&ensp;
        weekheatmap(ng-if = 'heatmap.selectedMetric', chart-data="heatmap.selectedMetric")
.grid-sm
  .grid-cell
    .panel.panel-default
      .panel-heading.panel-title
        i.fa.fa-fire
        |  Weekly Heatmap
      .panel-body(ng-controller="HealthCubism as cubism")
        form
          .grid-sm
            .grid-cell.grid--gutters<commit_msg>change the panel title<commit_after>.grid-sm
  .panel.panel-default
    p.page-title
      i.fa.fa-heartbeat
      |  Health
.grid-sm
  .grid-cell
    .panel.panel-default
      .panel-heading.panel-title
        i.fa.fa-fire
        |  Weekly Heatmap
      .panel-body(ng-controller="HealthHeatmap as heatmap")
        | {{heatmap.toto}}
        form
          .grid-sm
            .grid-cell.grid--gutters
              .container-fluid
                .form-group
                  ui-select.form-control(ng-model = 'heatmap.selected', ng-change = 'heatmap.prepareTypeFilter(heatmap.selected)', multiple, close-on-select = 'false')
                    ui-select-match(placeholder = 'Choose an object')
                      i(class = 'xo-icon-{{ $item.type | lowercase }}')
                      |  {{ $item.name_label }}
                    ui-select-choices(repeat = 'object in heatmap.objects | underStat | type:heatmap.typeFilter | filter:$select.search | orderBy:["type", "name_label"] track by object.id')
                      div
                        i(class = 'xo-icon-{{ object.type | lowercase }}')
                        |  {{ object.name_label }}
                        span(ng-if="(object.type === 'SR' || object.type === 'VM') && object.$container")
                          |  ({{ (object.$container | resolve).name_label }})
                //- br
                .btn-group(role = 'group')
                  button.btn.btn-default(ng-click = 'heatmap.selected = []', tooltip = 'Clear selection')
                    i.fa.fa-times
                  button.btn.btn-default(ng-click = 'heatmap.selectAll("VM")', tooltip = 'Choose all VMs')
                    i.xo-icon-vm
                  button.btn.btn-default(ng-click = 'heatmap.selectAll("host")', tooltip = 'Choose all hosts')
                    i.xo-icon-host
                  button.btn.btn-success(ng-click = 'heatmap.prepareMetrics(heatmap.selected)', tooltip = 'Load metrics')
                    i.fa.fa-check
                    | &nbsp;Select
            .grid-cell.grid--gutters
              .container-fluid
                span(ng-if = 'heatmap.loadingMetrics')
                  | Loading metrics ...&nbsp;
                  i.fa.fa-circle-o-notch.fa-spin
                .form-group(ng-if = 'heatmap.metrics')
                  ui-select(ng-model = 'heatmap.selectedMetric')
                    ui-select-match(placeholder = 'Choose a metric') {{ $select.selected.key }}
                    ui-select-choices(repeat = 'metric in heatmap.metrics | filter:$select.search | orderBy:["key"]') {{ metric.key }}
        br
        p.text-center(ng-if = 'heatmap.chosen.length')
          span(ng-repeat = 'object in heatmap.chosen', ng-class = '{"text-danger": object._ignored}')
            i(class = 'xo-icon-{{ object.type | lowercase }}')
            | &nbsp;
            span(ng-if = '!object._ignored') {{ object.name_label }}
            del(ng-if = 'object._ignored') {{ object.name_label }}
            | &nbsp;&ensp;
        weekheatmap(ng-if = 'heatmap.selectedMetric', chart-data="heatmap.selectedMetric")
.grid-sm
  .grid-cell
    .panel.panel-default
      .panel-heading.panel-title
        i.fa.fa-fire
        |  Weekly Charts
      .panel-body(ng-controller="HealthCubism as cubism")
        form
          .grid-sm
            .grid-cell.grid--gutters
{'fraction_non_alphanumeric': 0.1447721179624665, 'fraction_numerical': 0.0, 'mean_word_length': 1.620999219359875, 'pattern_counts': {'":': 2, '<': 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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '234688', 'n_tokens_mistral': 2062, 'n_tokens_neox': 1943, 'n_words': 310}