<commit_before>function isLocalStorageAvailable() {
    try {
        return 'localStorage' in window && window['localStorage'] !== null;
    } catch (e) {
        return false;
    }
}
function wipeLocalStorage() {
    if (isLocalStorageAvailable()) localStorage.clear();
}

function visualizePlayingState(state) {
    if (! state) {
        $('#play').html('<i class="fa fa-pause fa-fw fa-lg"></i>Pause');
        isWorking = false;
    }
    else {
        $('#play').html('<i class="fa fa-play fa-fw fa-lg"></i>Play');
        isWorking = true;
    }
}<commit_msg>minor bugfix with button states<commit_after>function isLocalStorageAvailable() {
    try {
        return 'localStorage' in window && window['localStorage'] !== null;
    } catch (e) {
        return false;
    }
}
function wipeLocalStorage() {
    if (isLocalStorageAvailable()) localStorage.clear();
}

function visualizePlayingState(state) {
    if (! state) {
        $('#play').html('<i class="fa fa-pause fa-fw fa-lg"></i>Pause');
        isWorking = true;
    }
    else {
        $('#play').html('<i class="fa fa-play fa-fw fa-lg"></i>Play');
        isWorking = false;
    }
}
{'fraction_non_alphanumeric': 0.17157712305025996, 'fraction_numerical': 0.0, 'mean_word_length': 2.862876254180602, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '587632', 'n_tokens_mistral': 361, 'n_tokens_neox': 352, 'n_words': 78}