<commit_before>// Custom status bar for Ace (aka Project Wunderbar)
var statusbar = {
    showFilename:
        function () {
            var filename;
            try {
                filename = viewModel.fileEdit.peek().name();
            }
            catch(e) {
                filename = 'Can not get filename. See console for details.';
                if (typeof console == 'object') {
                    console.log('Can not get filename: %s', e);
                }
            }
            finally {
                $('#statusbar').text(filename);
                $('#statusbar').removeClass('statusbar-red');
            }
        },
    reset:
        function () {
            $('#statusbar').text('');
            $('#statusbar').removeClass('statusbar-red');
            // Flag from ace-init.js
            contentHasChanged = false;
        },
    SavingChanges:
        function () {
            $('#statusbar').text('Saving changes...');
            $('#statusbar').prepend('<i class="glyphicon glyphicon-cloud-upload" style="margin-right: 6px"></i>');
         },
    FetchingChanges:
        function () {
            $('#statusbar').text('Fetching changes...');
            $('#statusbar').prepend('<i class="glyphicon glyphicon-cloud-download" style="margin-right: 6px"></i>');<commit_msg>Clear search box between sessions (Ace)<commit_after>// Custom status bar for Ace (aka Project Wunderbar)
var statusbar = {
    showFilename:
        function () {
            var filename;
            try {
                filename = viewModel.fileEdit.peek().name();
            }
            catch(e) {
                filename = 'Can not get filename. See console for details.';
                if (typeof console == 'object') {
                    console.log('Can not get filename: %s', e);
                }
            }
            finally {
                $('#statusbar').text(filename);
                $('#statusbar').removeClass('statusbar-red');
            }
        },
    reset:
        function () {
            $('#statusbar').text('');
            $('#statusbar').removeClass('statusbar-red');
            // Flag from ace-init.js
            contentHasChanged = false;
            // Clear search box
            if (editor.searchBox) {
                editor.searchBox.activeInput.value = '';
                editor.searchBox.hide();
            }
        },
    SavingChanges:
        function () {
            $('#statusbar').text('Saving changes...');
            $('#statusbar').prepend('<i class="glyphicon glyphicon-cloud-upload" style="margin-right: 6px"></i>');
         },
    FetchingChanges:
        function () {
            $('#statusbar').text('Fetching changes...');
            $('#statusbar').prepend('<i class="glyphicon glyphicon-cloud-download" style="margin-right: 6px"></i>');
{'fraction_non_alphanumeric': 0.15550070521861778, 'fraction_numerical': 0.0014104372355430183, 'mean_word_length': 1.6027522935779817, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '927298', 'n_tokens_mistral': 726, 'n_tokens_neox': 718, 'n_words': 147}