<commit_before>(function () {
    'use strict';
    var app = angular.module('scoreApp');

    app.config(['$urlRouterProvider', '$provide', 'authProvider', '$httpProvider', 'jwtInterceptorProvider', 'jwtOptionsProvider',
        function ($urlRouterProvider, $provide, authProvider, $httpProvider, jwtInterceptorProvider, jwtOptionsProvider) {
            authProvider.init({
                domain: AUTH0_DOMAIN,
                clientID: AUTH0_CLIENT_ID
            });

            jwtOptionsProvider.config({
                whiteListedDomains: ['localhost', 'jsonplaceholder.typicode.com'],
                tokenGetter: function () {
                    return (localStorage.getItem('idToken')) ?
                        localStorage.getItem('idToken').toString().replace(/"/g, '') : null;
                }
            });

            $provide.factory('redirect', ['$q', '$injector', 'store', 'APP_STATES', function ($q, $injector, store, APP_STATES) {
                return {
                    responseError: function (rejection) {
                        if (rejection.status === 401) {
                            $injector.get('auth').signout();
                            store.remove('user');
                            store.remove('idToken');
                            store.remove('accessToken');
                            console.log(APP_STATES.LOGIN.nome);
                            $injector.get('$state').go(APP_STATES.LOGIN.nome);
                        }
                        return $q.reject(rejection);
                    }<commit_msg>remoção de console.log<commit_after>(function () {
    'use strict';
    var app = angular.module('scoreApp');

    app.config(['$urlRouterProvider', '$provide', 'authProvider', '$httpProvider', 'jwtInterceptorProvider', 'jwtOptionsProvider',
        function ($urlRouterProvider, $provide, authProvider, $httpProvider, jwtInterceptorProvider, jwtOptionsProvider) {
            authProvider.init({
                domain: AUTH0_DOMAIN,
                clientID: AUTH0_CLIENT_ID
            });

            jwtOptionsProvider.config({
                whiteListedDomains: ['localhost', 'jsonplaceholder.typicode.com'],
                tokenGetter: function () {
                    return (localStorage.getItem('idToken')) ?
                        localStorage.getItem('idToken').toString().replace(/"/g, '') : null;
                }
            });

            $provide.factory('redirect', ['$q', '$injector', 'store', 'APP_STATES', function ($q, $injector, store, APP_STATES) {
                return {
                    responseError: function (rejection) {
                        if (rejection.status === 401) {
                            $injector.get('auth').signout();
                            store.remove('user');
                            store.remove('idToken');
                            store.remove('accessToken');
                            $injector.get('$state').go(APP_STATES.LOGIN.nome);
                        }
                        return $q.reject(rejection);
                    }
{'fraction_non_alphanumeric': 0.13077171456247982, 'fraction_numerical': 0.0032289312237649337, 'mean_word_length': 1.612141652613828, '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': '6623786', 'n_tokens_mistral': 787, 'n_tokens_neox': 745, 'n_words': 119}