<commit_before>'use strict';

var fs = require('fs');

var angular = require('angular');
var incidentsTemplate = fs.readFileSync(__dirname + '/incidents-tab.html', 'utf8');
var retryTemplate = fs.readFileSync(__dirname + '/job-retry-dialog.html', 'utf8');

var Configuration = function PluginConfiguration(ViewsProvider) {
  ViewsProvider.registerDefaultView('cockpit.processInstance.runtime.tab', {
    id: 'incidents-tab',
    label: 'Incidents',
    template: incidentsTemplate,
    controller: [
      '$scope', '$http', '$modal', 'search', 'Uri', 'Views',
      function($scope,   $http,   $modal,   search,   Uri, Views) {

        // input: processInstance, processData

        var incidentData = $scope.processData.newChild($scope);
        var processInstance = $scope.processInstance;

        var DEFAULT_PAGES = { size: 50, total: 0, current: 1 };

        var pages = $scope.pages = angular.copy(DEFAULT_PAGES);

        var filter = null;

        $scope.$watch('pages.current', function(newValue, oldValue) {
          if (newValue == oldValue) {<commit_msg>fix(incident tab): remove unused template<commit_after>'use strict';

var fs = require('fs');

var angular = require('angular');
var incidentsTemplate = fs.readFileSync(__dirname + '/incidents-tab.html', 'utf8');

var Configuration = function PluginConfiguration(ViewsProvider) {
  ViewsProvider.registerDefaultView('cockpit.processInstance.runtime.tab', {
    id: 'incidents-tab',
    label: 'Incidents',
    template: incidentsTemplate,
    controller: [
      '$scope', '$http', '$modal', 'search', 'Uri', 'Views',
      function($scope,   $http,   $modal,   search,   Uri, Views) {

        // input: processInstance, processData

        var incidentData = $scope.processData.newChild($scope);
        var processInstance = $scope.processInstance;

        var DEFAULT_PAGES = { size: 50, total: 0, current: 1 };

        var pages = $scope.pages = angular.copy(DEFAULT_PAGES);

        var filter = null;

        $scope.$watch('pages.current', function(newValue, oldValue) {
          if (newValue == oldValue) {
{'fraction_non_alphanumeric': 0.14429049211657907, 'fraction_numerical': 0.005255613951266125, 'mean_word_length': 3.622516556291391, 'pattern_counts': {'":': 0, '<': 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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6987477', 'n_tokens_mistral': 623, 'n_tokens_neox': 589, 'n_words': 143}