<commit_before>(function() {
    'use strict';

    var state = {};

    function StateService(PlaygroundStateService, playgroundState) {
        state.playground = playgroundState;

        return {
            //playground
            showPlayground: PlaygroundStateService.show,
            hidePlayground: PlaygroundStateService.hide,
            setGridSelection: PlaygroundStateService.setGridSelection,

            //playground - recipe
            showRecipe: PlaygroundStateService.showRecipe,
            hideRecipe: PlaygroundStateService.hideRecipe
        };
    }

    angular.module('data-prep.services.state')
        .service('StateService', StateService)
        .provider('State', function () {
            return {
                $get: function () {
                    return state;
                }
            };
        });
})();<commit_msg>TDP-415 constant instead of provider<commit_after>(function() {
    'use strict';

    var state = {};

    function StateService(PlaygroundStateService, playgroundState) {
        state.playground = playgroundState;

        return {
            //playground
            showPlayground: PlaygroundStateService.show,
            hidePlayground: PlaygroundStateService.hide,
            setGridSelection: PlaygroundStateService.setGridSelection,

            //playground - recipe
            showRecipe: PlaygroundStateService.showRecipe,
            hideRecipe: PlaygroundStateService.hideRecipe
        };
    }

    angular.module('data-prep.services.state')
        .service('StateService', StateService)
        .constant('state', state);
})();
{'fraction_non_alphanumeric': 0.095856524427953, 'fraction_numerical': 0.0018552875695732839, 'mean_word_length': 2.1663405088062624, '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': '6535230', 'n_tokens_mistral': 410, 'n_tokens_neox': 388, 'n_words': 67}