<commit_before>angular.module('breadcrumb').config(function ($stateProvider, $urlRouterProvider) {
  $stateProvider
    .state('start', {
      url: '/start',
      templateUrl: 'views/start.html',
      controller: 'AuthCtrl',
    })
    .state('signUp', {
      url: '/sign-up',
      templateUrl: 'views/signup.html',
      controller: 'AuthCtrl',
    })
    .state('app', {
      url: '/app',
      abstract: true,
      templateUrl: 'views/menu.html',
      controller: 'AppCtrl',
      authenticate: true,
    })
    .state('app.dashboard', {
      url: '/dashboard',
      views: {
        menuContent: {
          templateUrl: 'views/dashboard.html',
          controller: 'ListCtrl',
        },
      },
    })
    .state('app.search', {
      url: '/search',
      views: {
        menuContent: {
          templateUrl: 'views/search.html',
          controller: 'ListCtrl',
        },
      },
    })
    .state('app.create', {
      url: '/create',
      views: {
        menuContent: {
          templateUrl: 'views/create.html',
          controller: 'CreateTrailCtrl',
        },
      },
    })
    .state('app.profile', {
      url: '/profile',
      views: {
        menuContent: {
          templateUrl: 'views/profile.html',
          controller: 'ProfileCtrl',
        },
      },
    })
    .state('app.settings', {
      url: '/settings',
      views: {
        menuContent: {
          templateUrl: 'views/settings.html',
          controller: 'AuthCtrl',
        },
      },
    })
    .state('app.geofences', {
      url: '/geofences',
      views: {
        menuContent: {
          templateUrl: 'views/geofence/geofences.html',
          controller: 'GeofencesCtrl',
        },
      },
    })
    .state('app.geofence-new', {
      url: '/geofence/new/:longitude,:latitude',
      views: {
        menuContent: {
          templateUrl: 'views/geofence/geofence.html',
          controller: 'GeofenceCtrl',
        },
      },
      resolve: {
        geofence($stateParams, Geofence) {
          return Geofence.create({
            longitude: parseFloat($stateParams.longitude),
            latitude: parseFloat($stateParams.latitude),
          });
        },
      },
    })
    .state('app.geofence-edit', {
      url: '/geofence/:geofenceId',
      views: {
        menuContent: {
          templateUrl: 'views/geofence/geofence.html',
          controller: 'GeofenceCtrl',
        },
      },
      resolve: {
        geofence($stateParams, Geofence, $q) {
          const geofence = Geofence.findById($stateParams.geofenceId);

          if (geofence) {
            return $q.when(angular.copy(geofence));
          }

          return $q.reject(`Cannot find geofence with id: ${$stateParams.geofenceId}`);
        },
      },
    })
    .state('app.camera', {
      url: '/camera',
      views: {
        menuContent: {
          templateUrl: 'views/camera.html',
          controller: 'CameraCtrl',
        },
      },
    });

  $urlRouterProvider.otherwise('/start');
});
<commit_msg>(cleanup) remove unnecessary authenticate in routes<commit_after>angular.module('breadcrumb').config(function ($stateProvider, $urlRouterProvider) {
  $stateProvider
    .state('start', {
      url: '/start',
      templateUrl: 'views/start.html',
      controller: 'AuthCtrl',
    })
    .state('signUp', {
      url: '/sign-up',
      templateUrl: 'views/signup.html',
      controller: 'AuthCtrl',
    })
    .state('app', {
      url: '/app',
      abstract: true,
      templateUrl: 'views/menu.html',
      controller: 'AppCtrl',
    })
    .state('app.dashboard', {
      url: '/dashboard',
      views: {
        menuContent: {
          templateUrl: 'views/dashboard.html',
          controller: 'ListCtrl',
        },
      },
    })
    .state('app.search', {
      url: '/search',
      views: {
        menuContent: {
          templateUrl: 'views/search.html',
          controller: 'ListCtrl',
        },
      },
    })
    .state('app.create', {
      url: '/create',
      views: {
        menuContent: {
          templateUrl: 'views/create.html',
          controller: 'CreateTrailCtrl',
        },
      },
    })
    .state('app.profile', {
      url: '/profile',
      views: {
        menuContent: {
          templateUrl: 'views/profile.html',
          controller: 'ProfileCtrl',
        },
      },
    })
    .state('app.settings', {
      url: '/settings',
      views: {
        menuContent: {
          templateUrl: 'views/settings.html',
          controller: 'AuthCtrl',
        },
      },
    })
    .state('app.geofences', {
      url: '/geofences',
      views: {
        menuContent: {
          templateUrl: 'views/geofence/geofences.html',
          controller: 'GeofencesCtrl',
        },
      },
    })
    .state('app.geofence-new', {
      url: '/geofence/new/:longitude,:latitude',
      views: {
        menuContent: {
          templateUrl: 'views/geofence/geofence.html',
          controller: 'GeofenceCtrl',
        },
      },
      resolve: {
        geofence($stateParams, Geofence) {
          return Geofence.create({
            longitude: parseFloat($stateParams.longitude),
            latitude: parseFloat($stateParams.latitude),
          });
        },
      },
    })
    .state('app.geofence-edit', {
      url: '/geofence/:geofenceId',
      views: {
        menuContent: {
          templateUrl: 'views/geofence/geofence.html',
          controller: 'GeofenceCtrl',
        },
      },
      resolve: {
        geofence($stateParams, Geofence, $q) {
          const geofence = Geofence.findById($stateParams.geofenceId);

          if (geofence) {
            return $q.when(angular.copy(geofence));
          }

          return $q.reject(`Cannot find geofence with id: ${$stateParams.geofenceId}`);
        },
      },
    })
    .state('app.camera', {
      url: '/camera',
      views: {
        menuContent: {
          templateUrl: 'views/camera.html',
          controller: 'CameraCtrl',
        },
      },
    });

  $urlRouterProvider.otherwise('/start');
});

{'fraction_non_alphanumeric': 0.15742574257425743, 'fraction_numerical': 0.0, 'mean_word_length': 1.7625341841385598, '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': '5476786', 'n_tokens_mistral': 1847, 'n_tokens_neox': 1848, 'n_words': 279}