<commit_before><div class="container-fluid events">
  <div ng-include="'partials/page-header.html'"></div>
  <div class="row-fluid">
    <div class="col-lg-12">
      <div class="panel panel-default">
        <div class="panel-heading">
          <div class="row">
            <div class="col-md-8">
              <ul class="nav nav-pills nav-dc">
                <li><a ng-class="{active: filters.dc == ''}" ng-click="permalink($event, 'dc', '')">All datacenters</a></li>
                <li ng-repeat="datacenter in dc | orderBy:'name'">
                  <a ng-class="{active: filters.dc == datacenter.name}" ng-click="permalink($event, 'dc', datacenter.name)">{{ datacenter.name }}</a>
                </li>
              </ul>
            </div>
            <div class="col-md-4">
              <div class="row">
                <div class="col-sm-6 col-sm-offset-6">
                  <div class="input-group input-group-sm">
                    <input type="text" class="form-control" placeholder="Search" ng-model="filters.q" ng-change="permalink($event, 'q', filters.q)">
                    <span class="input-group-addon"><i class="fa fa-search"></i></span>
                  </div>
                </div>
              </div>
              <div class="nav-filter pull-right">
                <div class="dropdown">
                  <span dropdown-toggle>
                    Actions <i class="fa fa-caret-down"></i>
                  </span>
                  <ul class="dropdown-menu">
                    <li>
                      <a href="" ng-click="resolveEvents(selectedEvents(events))">
                        <i class="fa fa-check fa-fw"></i>
                        Resolve
                      </a>
                    </li>
                    <li>
                      <a href="" ng-click="stash($event, selectedEvents(events))">
                        <i class="fa fa-volume-up fa-fw"></i>
                        Silence/Unsilence
                      </a>
                    </li>
                  </ul>
                </div>
                <div class="dropdown">
                  <span dropdown-toggle>
                    Hide <i class="fa fa-caret-down"></i>
                  </span>
                  <div class="dropdown-menu">
                    <div class="dropdown-menu-item" ng-click="filters.silenced = !filters.silenced">
                      <div class="row">
                        <div class="col-xs-1">
                          <i class="fa fa-check" ng-show="filters.silenced"></i>
                        </div>
                        <div class="col-xs-10">
                          Silenced Checks
                        </div>
                      </div>
                    </div>
                    <div class="dropdown-menu-item" ng-click="filters.occurrences = !filters.occurrences">
                      <div class="row">
                        <div class="col-xs-1">
                          <i class="fa fa-check" ng-show="filters.occurrences"></i>
                        </div>
                        <div class="col-xs-10">
                          Occurrence Threshold
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <select class="form-control" ng-init="limit=50" ng-model="filters.limit" ng-change="permalink($event, 'limit', filters.limit)">
                  <option value="50">Show 50</option>
                  <option value="100">Show 100</option>
                  <option value="200">Show 200</option>
                  <option value="{{events.length}}">Show All</option>
                </select>
              </div>
            </div>
          </div>
        </div>

        <div class="panel-body">
          <table class="table table-hover table-condensed" style="table-layout: fixed;">
            <thead>
              <tr>
                <th class="col-min">
                  <input type="checkbox" ng-model="selectModel.selected" ng-change="selectEvents(selectModel)"></input>
                </th>
                <th class="col-min" ng-click="predicate = '-check.status'; reverse=!reverse"><i class="fa fa-sort"></i></th>
                <th class="col-sm-2" ng-click="predicate = 'sourceName'; reverse=!reverse">Source <i class="fa fa-sort"></i></th>
                <th class="col-sm-2" ng-click="predicate = 'check.name'; reverse=!reverse">Check <i class="fa fa-sort"></i></th>
                <th class="col-sm-4" ng-click="predicate = 'check.output'; reverse=!reverse">Output <i class="fa fa-sort"></i></th>
                <th class="col-sm-1" ng-click="predicate = 'occurrences'; reverse=!reverse"><i class="fa fa-slack" tooltip-placement="top" tooltip="Occurrences"></i> <i class="fa fa-sort"></i></th>
                <th class="col-dc" ng-click="predicate = 'dc'; reverse=!reverse"><i class="fa fa-cloud" tooltip-placement="top" tooltip="Datacenter"></i> <i class="fa fa-sort"></i></th>
                <th class="col-date" ng-click="predicate = 'check.issued'; reverse=!reverse"><i class='fa fa-clock-o' tooltip-placement="top" tooltip="Issued"></i> <i class="fa fa-sort"></i></th>
              </tr>
            </thead>
            <tbody>
            <tr ng-repeat="event in events | orderBy:predicate:reverse | filter:filters.q | filter:{dc:filters.dc} | hideSilenced:filters.silenced | hideOccurrences:filters.occurrences | limitTo:filters.limit | buildEvents track by event._id" ng-click="go('/client/'+event.dc+'/'+event.client.name+'?check='+event.check.name)">
                <td class="well-{{ event.check.status | getStatusClass }}" ng-click="$event.stopPropagation()">
                  <input type="checkbox" ng-model="event.selected"></input>
                </td>
                <td ng-click="stash($event, event)">
                  <i class="fa {{ event.acknowledged | getAckClass }}"></i>
                </td>
                <td class="dropdown-toggle" >{{ event.sourceName }}</td>
                <td class="main check-name">{{ event.check.name }}</td>
                <td class="output">{{ event.check.output }}</td>
                <td>{{ event.occurrences }}</td>
                <td>{{ event.dc }}</td>
                <td>{{ event.check.issued | getTimestamp }}</td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div><commit_msg>Fix whitespace<commit_after><div class="container-fluid events">
  <div ng-include="'partials/page-header.html'"></div>
  <div class="row-fluid">
    <div class="col-lg-12">
      <div class="panel panel-default">
        <div class="panel-heading">
          <div class="row">
            <div class="col-md-8">
              <ul class="nav nav-pills nav-dc">
                <li><a ng-class="{active: filters.dc == ''}" ng-click="permalink($event, 'dc', '')">All datacenters</a></li>
                <li ng-repeat="datacenter in dc | orderBy:'name'">
                  <a ng-class="{active: filters.dc == datacenter.name}" ng-click="permalink($event, 'dc', datacenter.name)">{{ datacenter.name }}</a>
                </li>
              </ul>
            </div>
            <div class="col-md-4">
              <div class="row">
                <div class="col-sm-6 col-sm-offset-6">
                  <div class="input-group input-group-sm">
                    <input type="text" class="form-control" placeholder="Search" ng-model="filters.q" ng-change="permalink($event, 'q', filters.q)">
                    <span class="input-group-addon"><i class="fa fa-search"></i></span>
                  </div>
                </div>
              </div>
              <div class="nav-filter pull-right">
                <div class="dropdown">
                  <span dropdown-toggle>
                    Actions <i class="fa fa-caret-down"></i>
                  </span>
                  <ul class="dropdown-menu">
                    <li>
                      <a href="" ng-click="resolveEvents(selectedEvents(events))">
                        <i class="fa fa-check fa-fw"></i>
                        Resolve
                      </a>
                    </li>
                    <li>
                      <a href="" ng-click="stash($event, selectedEvents(events))">
                        <i class="fa fa-volume-up fa-fw"></i>
                        Silence/Unsilence
                      </a>
                    </li>
                  </ul>
                </div>
                <div class="dropdown">
                  <span dropdown-toggle>
                    Hide <i class="fa fa-caret-down"></i>
                  </span>
                  <div class="dropdown-menu">
                    <div class="dropdown-menu-item" ng-click="filters.silenced = !filters.silenced">
                      <div class="row">
                        <div class="col-xs-1">
                          <i class="fa fa-check" ng-show="filters.silenced"></i>
                        </div>
                        <div class="col-xs-10">
                          Silenced Checks
                        </div>
                      </div>
                    </div>
                    <div class="dropdown-menu-item" ng-click="filters.occurrences = !filters.occurrences">
                      <div class="row">
                        <div class="col-xs-1">
                          <i class="fa fa-check" ng-show="filters.occurrences"></i>
                        </div>
                        <div class="col-xs-10">
                          Occurrence Threshold
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <select class="form-control" ng-init="limit=50" ng-model="filters.limit" ng-change="permalink($event, 'limit', filters.limit)">
                  <option value="50">Show 50</option>
                  <option value="100">Show 100</option>
                  <option value="200">Show 200</option>
                  <option value="{{events.length}}">Show All</option>
                </select>
              </div>
            </div>
          </div>
        </div>

        <div class="panel-body">
          <table class="table table-hover table-condensed" style="table-layout: fixed;">
            <thead>
              <tr>
                <th class="col-min">
                  <input type="checkbox" ng-model="selectModel.selected" ng-change="selectEvents(selectModel)"></input>
                </th>
                <th class="col-min" ng-click="predicate = '-check.status'; reverse=!reverse"><i class="fa fa-sort"></i></th>
                <th class="col-sm-2" ng-click="predicate = 'sourceName'; reverse=!reverse">Source <i class="fa fa-sort"></i></th>
                <th class="col-sm-2" ng-click="predicate = 'check.name'; reverse=!reverse">Check <i class="fa fa-sort"></i></th>
                <th class="col-sm-4" ng-click="predicate = 'check.output'; reverse=!reverse">Output <i class="fa fa-sort"></i></th>
                <th class="col-sm-1" ng-click="predicate = 'occurrences'; reverse=!reverse"><i class="fa fa-slack" tooltip-placement="top" tooltip="Occurrences"></i> <i class="fa fa-sort"></i></th>
                <th class="col-dc" ng-click="predicate = 'dc'; reverse=!reverse"><i class="fa fa-cloud" tooltip-placement="top" tooltip="Datacenter"></i> <i class="fa fa-sort"></i></th>
                <th class="col-date" ng-click="predicate = 'check.issued'; reverse=!reverse"><i class='fa fa-clock-o' tooltip-placement="top" tooltip="Issued"></i> <i class="fa fa-sort"></i></th>
              </tr>
            </thead>
            <tbody>
              <tr ng-repeat="event in events | orderBy:predicate:reverse | filter:filters.q | filter:{dc:filters.dc} | hideSilenced:filters.silenced | hideOccurrences:filters.occurrences | limitTo:filters.limit | buildEvents track by event._id" ng-click="go('/client/'+event.dc+'/'+event.client.name+'?check='+event.check.name)">
                <td class="well-{{ event.check.status | getStatusClass }}" ng-click="$event.stopPropagation()">
                  <input type="checkbox" ng-model="event.selected"></input>
                </td>
                <td ng-click="stash($event, event)">
                  <i class="fa {{ event.acknowledged | getAckClass }}"></i>
                </td>
                <td class="dropdown-toggle" >{{ event.sourceName }}</td>
                <td class="main check-name">{{ event.check.name }}</td>
                <td class="output">{{ event.check.output }}</td>
                <td>{{ event.occurrences }}</td>
                <td>{{ event.dc }}</td>
                <td>{{ event.check.issued | getTimestamp }}</td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>
{'fraction_non_alphanumeric': 0.17201959716929777, 'fraction_numerical': 0.005288125048604091, 'mean_word_length': 1.51171875, 'pattern_counts': {'":': 0, '<': 337, '<?xml version=': 0, '>': 337, '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': '7370693', 'n_tokens_mistral': 3780, 'n_tokens_neox': 3505, 'n_words': 672}