<commit_before><html>
<head>
    <script src="jquery-1.11.0.min.js"></script>
    <script src="json2.js"></script>
    <script src="pollymer-1.1.1.js"></script>
    <script src="websockhop-0.1.0.js"></script>
    <script src="liveresource.js"></script>

    <script type="text/javascript">
        $(function() {
            var counter = new LiveResource('//127.0.0.1:3000/counter/1/');
            counter.on('value', function(value) {
                $('#counter-value').text(value);
            });
        });

        var addHit = function() {
            $('#add-button').attr('disabled', 'true');
            $('#add-button').text('Adding...');
            $.post('//127.0.0.1:3000/counter/1/', function(data) {
                $('#add-button').text('Add');
                $('#add-button').removeAttr('disabled');
            });
        };

        var enableButton2 = function() {
            $('#enable-button-2').attr('disabled', 'true');
            $('#enable-button-2').text('Enabled');
            $('#add-button-2').removeAttr('disabled');
            var counter2 = new LiveResource('//127.0.0.1:3000/counter/2/');
            counter2.on('value', function(value) {
                $('#counter-value-2').text(value);
            });
        };

        var addHit2 = function() {
            $('#add-button-2').attr('disabled', 'true');
            $('#add-button-2').text('Adding...');
            $.post('//127.0.0.1:3000/counter/2/', function(data) {
                $('#add-button-2').text('Add');
                $('#add-button-2').removeAttr('disabled');
            });
        };
    </script>
</head><commit_msg>use relative paths<commit_after><html>
<head>
    <script src="jquery-1.11.0.min.js"></script>
    <script src="json2.js"></script>
    <script src="pollymer-1.1.1.js"></script>
    <script src="websockhop-0.1.0.js"></script>
    <script src="liveresource.js"></script>

    <script type="text/javascript">
        $(function() {
            var counter = new LiveResource('/counter/1/');
            counter.on('value', function(value) {
                $('#counter-value').text(value);
            });
        });

        var addHit = function() {
            $('#add-button').attr('disabled', 'true');
            $('#add-button').text('Adding...');
            $.post('/counter/1/', function(data) {
                $('#add-button').text('Add');
                $('#add-button').removeAttr('disabled');
            });
        };

        var enableButton2 = function() {
            $('#enable-button-2').attr('disabled', 'true');
            $('#enable-button-2').text('Enabled');
            $('#add-button-2').removeAttr('disabled');
            var counter2 = new LiveResource('/counter/2/');
            counter2.on('value', function(value) {
                $('#counter-value-2').text(value);
            });
        };

        var addHit2 = function() {
            $('#add-button-2').attr('disabled', 'true');
            $('#add-button-2').text('Adding...');
            $.post('/counter/2/', function(data) {
                $('#add-button-2').text('Add');
                $('#add-button-2').removeAttr('disabled');
            });
        };
    </script>
</head>
{'fraction_non_alphanumeric': 0.22974231605091586, 'fraction_numerical': 0.029183483390251473, 'mean_word_length': 1.8538529672276352, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '2615645', 'n_tokens_mistral': 970, 'n_tokens_neox': 945, 'n_words': 117}