<commit_before><!DOCTYPE html>
<head>
    <meta charset=utf-8>
    <title>Mousetrap tests</title>
</head>
<body>
    <textarea name="test"></textarea>
    <script src="mousetrap.js"></script>
    <script>
        Mousetrap.bind('r', function() { console.log('refresh'); });
        Mousetrap.bind(']', function() { console.log('zoom in'); });
        Mousetrap.bind('[', function() { console.log('zoom out'); });
        // Mousetrap.bind('g i', function() { console.log('go to inbox'); });
        Mousetrap.bind('f1', function () {console.log('f1');return false; });
        Mousetrap.bind('f2', function () {console.log('f2');return false; });

        Mousetrap.bind('@', function() { console.log('2');});
        Mousetrap.bind('shift+r', function() { console.log('force refresh'); });

        Mousetrap.bind('r', function() { console.log('refresh2'); });
    </script>
</body><commit_msg>Update tests<commit_after><!DOCTYPE html>
<head>
    <meta charset=utf-8>
    <title>Mousetrap tests</title>
</head>
<body>
    <textarea name="test"></textarea>
    <script src="mousetrap.js"></script>
    <script>
        // Mousetrap.bind('g i', function() { console.log('go to inbox'); });

        Mousetrap.bind('ctrl + alt + del', function() {console.log('die'); });

        Mousetrap.bind('4', function() { console.log('4 down'); });
        Mousetrap.bind('4', function() { console.log('4 up'); }, 'up');

        Mousetrap.bind('$', function() { console.log('dollar sign down'); }, 'down');

        Mousetrap.bind('$', function() { console.log('dollar sign up'); }, 'up');

        Mousetrap.bind('ctrl + shift + up', function() { console.log('control shift up'); });
        Mousetrap.bind('shift', function() { console.log('shift down'); });
        Mousetrap.bind('shift', function() { console.log('shift up'); }, 'up');
    </script>
</body>
{'fraction_non_alphanumeric': 0.23110151187904968, 'fraction_numerical': 0.0064794816414686825, 'mean_word_length': 3.5195121951219512, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, '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': '279949', 'n_tokens_mistral': 626, 'n_tokens_neox': 604, 'n_words': 115}