<commit_before><html>
    <head>
        <meta charset="UTF-8">
        <title>storge test</title>
        <style>
            body { padding: 50px; font-family: sans-serif; }

        </style>
    </head>
    <body>
        <p>
            <label for="namespace">namespace</label>
            <br>
            <input id="namespace" type="text" value="TEST">
        </p>

        <p>
            <label for="version">version</label>
            <br>
            <input id="version" type="text">
        </p>

        <button id="set">Set</button>
        <button id="get">Get</button>
        <button id="clear">Clear</button>
        <button id="tojson">JSON</button>
        <button id="flush">Flush</button>
        <button id="backup">Backup</button>

        <script src="storge.js"></script>
        <script>
            (function() {
                var $ = function(id) { return document.getElementById(id.substr(1)); },
                    namespace = $('#namespace'),
                    version = $('#version'),
                    store = function() {
                        return storge(namespace.value, version.value);
                    };

                $('#set').addEventListener('click', function() {
                    var key = prompt('key')
                    var value = prompt('value');
                    console.log('set', store().set(key, value));
                });
                $('#get').addEventListener('click', function() {
                    var key = prompt('key')
                    console.log('get', store().get(key));
                });
                $('#clear').addEventListener('click', function() {
                    console.log('clear', store().clear());
                });
                $('#tojson').addEventListener('click', function() {
                    console.log('toJSON', store().toJSON());
                });
                $('#flush').addEventListener('click', function() {
                    storge.flush();
                });
                $('#backup').addEventListener('click', function() {
                    storge.backup();
                });
            }());
        </script>
    </body>
</html><commit_msg>updates<commit_after><html>
    <head>
        <meta charset="UTF-8">
        <title>storge test</title>
        <style>
            body { padding: 50px; font-family: sans-serif; }

        </style>
    </head>
    <body>
        <p>
            <label for="namespace">namespace</label>
            <br>
            <input id="namespace" type="text" value="TEST">
        </p>

        <p>
            <label for="version">version</label>
            <br>
            <input id="version" type="text">
        </p>

        <button id="set">Set</button>
        <button id="get">Get</button>
        <button id="clear">Clear</button>
        <button id="tojson">JSON</button>
        <button id="flush">Flush</button>
        <button id="backup">Backup</button>

        <script src="storge.js"></script>
        <script>
            (function() {
                var $ = function(id) { return document.getElementById(id.substr(1)); },
                    namespace = $('#namespace'),
                    version = $('#version'),
                    store = function() {
                        return storge(namespace.value, version.value);
                    };

                $('#set').addEventListener('click', function() {
                    var key = prompt('key')
                    var value = prompt('value');
                    store().set(key, value);
                });
                $('#get').addEventListener('click', function() {
                    var key = prompt('key')
                    console.log('get:', store().get(key));
                });
                $('#clear').addEventListener('click', function() {
                    console.log('clear:', store().clear());
                });
                $('#tojson').addEventListener('click', function() {
                    console.log('toJSON:', store().toJSON());
                });
                $('#flush').addEventListener('click', function() {
                    storge.flush();
                });
                $('#backup').addEventListener('click', function() {
                    console.log('backup:', storge.backup());
                });
            }());
        </script>
    </body>
</html>
{'fraction_non_alphanumeric': 0.17314246762099522, 'fraction_numerical': 0.0018177686889343332, 'mean_word_length': 1.3884970157352143, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, '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': '7000962', 'n_tokens_mistral': 1117, 'n_tokens_neox': 1058, 'n_words': 191}