<commit_before>(function () {
    var UserHistoryController = function(Resources, UserHistoryService){
        var self = this;

        self.showHistoryLoader = true;
        self.associatedEmail = '';
        self.historyRadioBox = 'wonLost';
        self.receivedOperations = false;
        self.allOperations = true;
        self.gaveOperations = false;
        self.challengeOperations = false;
        self.autocompleteHide = true;
        self.transactionEndingIndex = 6;
        self.transactionStartingIndex = 0;
        self.showMoreButton = false;
        self.showLessButton = false;

        self.split = split;
        self.acornPlural = acornPlural;
        self.changeRadioValue = changeRadioValue;
        self.changeView = changeView;
        self.updateListAll = updateListAll;
        self.checkButtons = checkButtons;
        self.showMoreLess = showMoreLess;
        self.updateListReceived = updateListReceived;
        self.updateListGave = updateListGave;
        self.updateListChallenges = updateListChallenges;
        self.showList = showList;

        this.$onInit = function() {
            self.currentUser = this.user;
            self.modalIndex = split(this.user.$$hashKey, ":")[1];
        };

        function updateListAll(email, trigger){<commit_msg>Initial commit<commit_after>(function () {
    var UserHistoryController = function(Resources, UserHistoryService){
        var self = this;

        self.showHistoryLoader = true;
        self.historyRadioBox = 'wonLost';
        self.receivedOperations = false;
        self.allOperations = true;
        self.gaveOperations = false;
        self.challengeOperations = false;
        self.transactionEndingIndex = 6;
        self.transactionStartingIndex = 0;
        self.showMoreButton = false;
        self.showLessButton = false;

        self.split = split;
        self.acornPlural = acornPlural;
        self.changeRadioValue = changeRadioValue;
        self.changeView = changeView;
        self.checkButtons = checkButtons;
        self.showMoreLess = showMoreLess;
        self.updateListAll = updateListAll;
        self.updateListReceived = updateListReceived;
        self.updateListGave = updateListGave;
        self.updateListChallenges = updateListChallenges;
        self.showList = showList;

        this.$onInit = function() {
            self.currentUser = this.user;
            self.modalIndex = split(this.user.$$hashKey, ":")[1];
        };

        function updateListAll(email, trigger){
{'fraction_non_alphanumeric': 0.09098164405426976, 'fraction_numerical': 0.0023942537909018356, 'mean_word_length': 2.472299168975069, 'pattern_counts': {'":': 2, '<': 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': '6648453', 'n_tokens_mistral': 688, 'n_tokens_neox': 669, 'n_words': 123}