<commit_before>import app from '../app';
import '../services/PlusMinClient';

app.controller('plusMinController', function ($element, $scope, $http, PlusMinClient) {
  let client = PlusMinClient;
  $scope.state = 'loading';

  client.loadLists().then(function (request) {
    let lists = request.data;

    if (lists.length < 2 && false) {
      $scope.state = 'editList';

      if (lists.length === 0) {
        $scope.list = {
          new: true,
          positives: [''],
          negatives: ['']
        };
      } else {
        $scope.list = list[0];
        $scope.list.new = false;
      }
    } else {
      $scope.state = 'selectList';
      //$scope.lists = lists;
      $scope.lists = [{
        name: 'List 1'
      }, {
        name: 'List 2'
      }];
    }
  });
});<commit_msg>Remove test data<commit_after>import app from '../app';
import '../services/PlusMinClient';

app.controller('plusMinController', function ($element, $scope, $http, PlusMinClient) {
  let client = PlusMinClient;
  $scope.state = 'loading';

  client.loadLists().then(function (request) {
    let lists = request.data;

    if (lists.length < 2) {
      $scope.state = 'editList';

      if (lists.length === 0) {
        $scope.list = {
          new: true,
          positives: [''],
          negatives: ['']
        };
      } else {
        $scope.list = list[0];
        $scope.list.new = false;
      }
    } else {
      $scope.state = 'selectList';
      $scope.lists = lists;
    }
  });
});
{'fraction_non_alphanumeric': 0.1730126920507682, 'fraction_numerical': 0.005344021376085505, 'mean_word_length': 2.057142857142857, 'pattern_counts': {'":': 0, '<': 5, '<?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': '4994970', 'n_tokens_mistral': 488, 'n_tokens_neox': 473, 'n_words': 100}