<commit_before>angular.module('logAggregator').factory('loadConfig', ['$http',
  function($http) {
    var factory={};
    var config;
    factory.getdata=function(success){
      if(config){
        success(config);
        return;
      }
      $http.get('/config').success(function(data){
        config=data;
        success(config);
      });
    };
    return factory;
}

]);<commit_msg>minor changes in logAggregrator.service.js<commit_after>angular.module('logAggregator').factory('loadConfig', ['$http',
  function($http) {
    var factory={};
    factory.getdata=function(success){
      $http.get('/config').success(function(data){
        success(data);
      });
    };
    return factory;
}

]);
{'fraction_non_alphanumeric': 0.1763046544428773, 'fraction_numerical': 0.0, 'mean_word_length': 3.152046783625731, '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': '346017', 'n_tokens_mistral': 216, 'n_tokens_neox': 215, 'n_words': 29}