<commit_before><div class="panel panel-default summary-card">
  <div class="panel-heading clearfix">
    <h4 data-ng-if="!config.tableTitle || mode === 'graph'" class="panel-title pull-left" title="{{ title | translate }}">
      {{ title | translate }}
    </h4>
    <h4 data-ng-if="config.tableTitle && mode === 'table'" class="panel-title pull-left"
        title="{{ config.tableTitle | translate }}">
      {{ config.tableTitle | translate }}
    </h4>
    <div class="pull-right" data-ng-show="data.length">
      <i class="fa fa-eraser" data-ng-show="activeFilters && config.filterKey"
         data-ng-click="sc.clearFilters()" data-ng-keypress="sc.clearFilters()"></i>
      <i class="fa fa-pie-chart" data-ng-show="mode === 'table'"
         data-ng-click="mode = 'graph'"></i>
      <i class="fa fa-table" data-ng-show="mode === 'graph'"
         data-ng-click="mode = 'table'"></i>
    </div>
  </div>

  <div data-ng-if="!data.length" class="no-results" data-translate>
    {{ config.noResultsText || 'No Results in Query' }}
  </div>

  <pie-chart data="data" height="{{ height }}" config="config" data-title="{{ title }}"
             data-ng-if="mode === 'graph' && data.length" legend-limit="6"></pie-chart>

  <div class="card-table table-responsive" data-ng-if="mode === 'table' && data.length">
    <table id="{{ tableId ? tableId : title | spaceReplace:'-' | lowercase }}{{tableId ? '' : '-summary-card-table'}}" class="table table-striped table-hover table-condensed table-bordered">
      <thead>
        <tr>
          <th data-ng-if="groupingTitle" data-translate>{{::groupingTitle}}</th>
          <td data-ng-if="!groupingTitle"></td>
          <th data-translate>Cases</th>
          <th data-translate>Files</th>
          <th data-translate data-ng-if="!config.hideFileSize">File Size</th>
        </tr>
      </thead>
      <tbody>
        <tr data-ng-repeat="item in tableData track by $index">
          <th scope="row" class="truncated-cell">
            <div class="item-color" style="background-color: {{ item.color }};"></div>
            {{ item[config.displayKey] | humanify }}
          </th>
          <td class="text-right">
            <a data-ng-if="item.case_count" data-ng-click="sc.addFilters(item, 'search.participants')">
              {{ item.case_count | number }}
            </a>
            <span data-ng-if="!item.case_count">0</span>
          </td>
          <td class="text-right">
            <a data-ng-if="sc.LocationService.path().indexOf('/query') === 0" data-uib-tooltip-html-unsafe="Further filtering in this view can <br>be performed using the <br>Advanced Search above">
              {{ item[config.sortKey] | number }}
            </a>
            <a data-ng-if="item[config.sortKey] && sc.LocationService.path().indexOf('/query') !== 0" data-ng-click="sc.addFilters(item)">
              {{ item[config.sortKey] | number }}
            </a>

            <span data-ng-if="!item[config.sortKey]">0</span>
          </td>
          <td class="text-right" data-ng-if="!config.hideFileSize">{{ item.file_size.value | size }}</td>
        </tr>
      </tbody>
    </table>
  </div>
</div><commit_msg>fix(components): file size in summary_card<commit_after><div class="panel panel-default summary-card">
  <div class="panel-heading clearfix">
    <h4 data-ng-if="!config.tableTitle || mode === 'graph'" class="panel-title pull-left" title="{{ title | translate }}">
      {{ title | translate }}
    </h4>
    <h4 data-ng-if="config.tableTitle && mode === 'table'" class="panel-title pull-left"
        title="{{ config.tableTitle | translate }}">
      {{ config.tableTitle | translate }}
    </h4>
    <div class="pull-right" data-ng-show="data.length">
      <i class="fa fa-eraser" data-ng-show="activeFilters && config.filterKey"
         data-ng-click="sc.clearFilters()" data-ng-keypress="sc.clearFilters()"></i>
      <i class="fa fa-pie-chart" data-ng-show="mode === 'table'"
         data-ng-click="mode = 'graph'"></i>
      <i class="fa fa-table" data-ng-show="mode === 'graph'"
         data-ng-click="mode = 'table'"></i>
    </div>
  </div>

  <div data-ng-if="!data.length" class="no-results" data-translate>
    {{ config.noResultsText || 'No Results in Query' }}
  </div>

  <pie-chart data="data" height="{{ height }}" config="config" data-title="{{ title }}"
             data-ng-if="mode === 'graph' && data.length" legend-limit="6"></pie-chart>

  <div class="card-table table-responsive" data-ng-if="mode === 'table' && data.length">
    <table id="{{ tableId ? tableId : title | spaceReplace:'-' | lowercase }}{{tableId ? '' : '-summary-card-table'}}" class="table table-striped table-hover table-condensed table-bordered">
      <thead>
        <tr>
          <th data-ng-if="groupingTitle" data-translate>{{::groupingTitle}}</th>
          <td data-ng-if="!groupingTitle"></td>
          <th data-translate>Cases</th>
          <th data-translate>Files</th>
          <th data-translate data-ng-if="!config.hideFileSize">File Size</th>
        </tr>
      </thead>
      <tbody>
        <tr data-ng-repeat="item in tableData track by $index">
          <th scope="row" class="truncated-cell">
            <div class="item-color" style="background-color: {{ item.color }};"></div>
            {{ item[config.displayKey] | humanify }}
          </th>
          <td class="text-right">
            <a data-ng-if="item.case_count" data-ng-click="sc.addFilters(item, 'search.participants')">
              {{ item.case_count | number }}
            </a>
            <span data-ng-if="!item.case_count">0</span>
          </td>
          <td class="text-right">
            <a data-ng-if="sc.LocationService.path().indexOf('/query') === 0" data-uib-tooltip-html-unsafe="Further filtering in this view can <br>be performed using the <br>Advanced Search above">
              {{ item[config.sortKey] | number }}
            </a>
            <a data-ng-if="item[config.sortKey] && sc.LocationService.path().indexOf('/query') !== 0" data-ng-click="sc.addFilters(item)">
              {{ item[config.sortKey] | number }}
            </a>

            <span data-ng-if="!item[config.sortKey]">0</span>
          </td>
          <td class="text-right" data-ng-if="!config.hideFileSize">{{ item.file_size | size }}</td>
        </tr>
      </tbody>
    </table>
  </div>
</div>
{'fraction_non_alphanumeric': 0.20022036832992288, 'fraction_numerical': 0.0028333070990083425, 'mean_word_length': 2.647531572904707, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 131, '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': '416801', 'n_tokens_mistral': 2061, 'n_tokens_neox': 2030, 'n_words': 381}