<commit_before>'use strict';

angular.module('myApp.view1', ['ngRoute'])

.config(['$routeProvider', function($routeProvider) {
  $routeProvider.when('/view1', {
    templateUrl: 'view1/view1.html',
    controller: 'View1Ctrl'
  });
}])

.controller('View1Ctrl', ['$scope', '$http', function($scope, $http) {
      $scope.queryAttributes = [
          /*{
              name: '100K+',
              bhds_total: '25,453,856',
              bhds_percent: '19.14%',
              fwm_total: '183,780',
              fwm_percent: '20.18%',
              joins: [
                  {
                      name: '25+ Age',
                      bhds_total: '19,911,149',
                      bhds_percent: '23.18%',
                      fwm_total: '170,499',
                      fwm_percent: '21.27%'
                  },
                  {
                      name: '1+ home',
                      bhds_total: '16,177,658',
                      bhds_percent: '27.06%',
                      fwm_total: '152,122',
                      fwm_percent: '23.49%'
                  }
              ]
          },
          {
              name: '25+ Age',
              bhds_total: '85,911,672',
              bhds_percent: '64.61%',
              fwm_total: '801,768',
              fwm_percent: '88.05%',
              joins: [
                  {
                      name: '100K+',
                      bhds_total: '19,911,149',
                      bhds_percent: '78.22%',
                      fwm_total: '170,499',
                      fwm_percent: '92.77%'
                  },
                  {
                      name: '1+ home',
                      bhds_total: '54,452,258',
                      bhds_percent: '91.08%',
                      fwm_total: '616,760',
                      fwm_percent: '95.23%'
                  }
              ]
          },
          {
              name: '1+ home',
              bhds_total: '59,788,123',
              bhds_percent: '44.96%',
              fwm_total: '647,648',
              fwm_percent: '71.12%',
              joins: [
                  {
                      name: '25+ Age',
                      bhds_total: '54,452,258',
                      bhds_percent: '63.38%',
                      fwm_total: '616,760',
                      fwm_percent: '76.92%'
                  },
                  {
                      name: '100K+',
                      bhds_total: '16,177,658',
                      bhds_percent: '63.56%',
                      fwm_total: '152,122',
                      fwm_percent: '82.77%'
                  }
              ]
          }*/
      ];

      $scope.init = function() {
        $http.get('/getAttributesList/').then(function(res){
            $scope.queryAttributes = res.data;
        })
      };<commit_msg>Remove commented out hardcoded attributes<commit_after>'use strict';

angular.module('myApp.view1', ['ngRoute'])

.config(['$routeProvider', function($routeProvider) {
  $routeProvider.when('/view1', {
    templateUrl: 'view1/view1.html',
    controller: 'View1Ctrl'
  });
}])

.controller('View1Ctrl', ['$scope', '$http', function($scope, $http) {
      $scope.queryAttributes = [];

      $scope.init = function() {
        $http.get('/getAttributesList/').then(function(res){
            $scope.queryAttributes = res.data;
        })
      };
{'fraction_non_alphanumeric': 0.14586421583160392, 'fraction_numerical': 0.06759561221464572, 'mean_word_length': 1.0995644057249534, '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': '4779123', 'n_tokens_mistral': 1154, 'n_tokens_neox': 965, 'n_words': 147}