<commit_before>angular.module('Extraleague', ['ngResource', 'ngRoute', 'ngTouch', 'PlayerMappings', 'Charts', 'Games', 'ui.bootstrap', 'ui.bootstrap.buttons', 'nvd3ChartDirectives', 'gaeChannelService'])
    .config(function($routeProvider) {
        $routeProvider
        .when('/newGame', {
        	controller : 'NewGameController',
        	templateUrl : 'partials/newGame.html'
        })
        .when('/games/:gameId', {
           controller : 'GameController',
           templateUrl : 'partials/game.html'
        })
        .when('/games/:gameId/summary', {
           controller : 'SummaryController',
           templateUrl : 'partials/summary.html'
        })
        .when('/openGames', {
           controller : 'OpenGamesController',
           templateUrl : 'partials/currentlyOpenGames.html'
        })
         .when('/playedGames', {
           controller : 'PlayedGamesController',
           templateUrl : 'partials/playedGames.html'
        })
        .when('/stats', {
        	controller : 'StatsController',
        	templateUrl : 'partials/stats.html'
        })
        .when('/ranking', {
           controller : 'RankingController',
           templateUrl : 'partials/ranking.html'
        })
        .when('/ranking/tag/:tag', {
        	controller : 'RankingByTagController',
        	templateUrl : 'partials/ranking.html'
        })
        .when('/player/:player', {
           controller : 'PlayerController',
           templateUrl : 'partials/player.html'
        })
        .when('/highlights', {
        	controller : 'HighlightsController',
        	templateUrl : 'partials/highlights.html'
        })
        .when('/meetingPoint', {
        	controller : 'MeetingPointController',
        	templateUrl : 'partials/meetingpoint.html'
        })
        .when('/about', {
           controller : 'AboutController',
           templateUrl : 'partials/about.html'
        })
        .otherwise({
           redirectTo: '/highlights'
        });
    })
    .config(['$httpProvider', function($httpProvider) {
	
		$httpProvider.responseInterceptors.push(['$q', function($q) {
	
	
			return function(promise) {
				return promise.then(function(response) {
					console.log("Response status: " + response.status);
	
					return response; 
	
				}, function(response) {
					console.log("Response status: " + response.status);
					if (response.status === 401) {
						
						response.data = { 
					 		status: false, 
					 		description: 'Authentication required!'
					 	};
	
						return response;
	
					}
					return $q.reject(response);
	
				});
	
			}<commit_msg>SOS Fix Update<commit_after>angular.module('Extraleague', ['ngResource', 'ngRoute', 'ngTouch', 'PlayerMappings', 'Charts', 'Games', 'ui.bootstrap', 'ui.bootstrap.buttons', 'nvd3ChartDirectives', 'gaeChannelService'])
    .config(function($routeProvider) {
        $routeProvider
        .when('/newGame', {
        	controller : 'NewGameController',
        	templateUrl : 'partials/newGame.html'
        })
        .when('/games/:gameId', {
           controller : 'GameController',
           templateUrl : 'partials/game.html'
        })
        .when('/games/:gameId/summary', {
           controller : 'SummaryController',
           templateUrl : 'partials/summary.html'
        })
        .when('/openGames', {
           controller : 'OpenGamesController',
           templateUrl : 'partials/currentlyOpenGames.html'
        })
         .when('/playedGames', {
           controller : 'PlayedGamesController',
           templateUrl : 'partials/playedGames.html'
        })
        .when('/stats', {
        	controller : 'StatsController',
        	templateUrl : 'partials/stats.html'
        })
        .when('/ranking', {
           controller : 'RankingController',
           templateUrl : 'partials/ranking.html'
        })
        .when('/ranking/tag/:tag', {
        	controller : 'RankingByTagController',
        	templateUrl : 'partials/ranking.html'
        })
        .when('/player/:player', {
           controller : 'PlayerController',
           templateUrl : 'partials/player.html'
        })
        .when('/highlights', {
        	controller : 'HighlightsController',
        	templateUrl : 'partials/highlights.html'
        })
        .when('/meetingPoint', {
        	controller : 'MeetingPointController',
        	templateUrl : 'partials/meetingpoint.html'
        })
        .when('/about', {
           controller : 'AboutController',
           templateUrl : 'partials/about.html'
        })
        .otherwise({
           redirectTo: '/highlights'
        });
    })
    .config(['$httpProvider', function($httpProvider) {
	
		$httpProvider.responseInterceptors.push(['$q', function($q) {
	
	
			return function(promise) {
				return promise.then(function(response) {
					console.log("Response status: " + response.status);
	
					return response; 
	
				}, function(response) {
					console.log("Response status: " + response.status);
					if (response.status === 401) {
						
//						response.data = { 
//					 		status: false, 
//					 		description: 'Authentication required!'
//					 	};
	
						return response;
	
					}
					return $q.reject(response);
	
				});
	
			}
{'fraction_non_alphanumeric': 0.1443614780777331, 'fraction_numerical': 0.0015316867700555237, 'mean_word_length': 2.07837360047142, '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': '1344828', 'n_tokens_mistral': 1628, 'n_tokens_neox': 1446, 'n_words': 214}