<commit_before><!doctype html>
<html>
<head>
    <title>Segmented slider</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <div class="segmented-slider" data-init-green="40" data-init-amber="60">
        <ul class="point-container">
            <li>0</li>
            <li>10</li>
            <li>20</li>
            <li>30</li>
            <li>40</li>
            <li>50</li>
            <li>60</li>
            <li>70</li>
            <li>80</li>
            <li>90</li>
            <li>100</li>
        </ul>
        <div class="handle-container">
            <div class="segment green"></div>
            <div class="segment amber"></div>
            <div class="segment red"></div>
            <div class="handle green"></div>
            <div class="handle amber"></div>
        </div>
    </div>
    <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
    <script src="js/jquery.event.drag-2.2.js"></script>
    <script src="js/segmented-slider.js"></script>
    <script>
        $(".segmented-slider").segmentedSlider(function(greenPoint, amberPoint) {
            $(".handle.green").text(greenPoint);
            $(".handle.amber").text(amberPoint);
        });
    </script>
</body>
</html><commit_msg>Set up control on window ready<commit_after><!doctype html>
<html>
<head>
    <title>Segmented slider</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <div class="segmented-slider" data-init-green="40" data-init-amber="60">
        <ul class="point-container">
            <li>0</li>
            <li>10</li>
            <li>20</li>
            <li>30</li>
            <li>40</li>
            <li>50</li>
            <li>60</li>
            <li>70</li>
            <li>80</li>
            <li>90</li>
            <li>100</li>
        </ul>
        <div class="handle-container">
            <div class="segment green"></div>
            <div class="segment amber"></div>
            <div class="segment red"></div>
            <div class="handle green"></div>
            <div class="handle amber"></div>
        </div>
    </div>
    <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
    <script src="js/jquery.event.drag-2.2.js"></script>
    <script src="js/segmented-slider.js"></script>
    <script>
        $(function() {
            $(".segmented-slider").segmentedSlider(function(greenPoint, amberPoint) {
                $(".handle.green").text(greenPoint);
                $(".handle.amber").text(amberPoint);
            });
        });
    </script>
</body>
</html>
{'fraction_non_alphanumeric': 0.20124320124320125, 'fraction_numerical': 0.024864024864024864, 'mean_word_length': 1.8770949720670391, 'pattern_counts': {'":': 0, '<': 115, '<?xml version=': 0, '>': 115, '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': '3888315', 'n_tokens_mistral': 870, 'n_tokens_neox': 837, 'n_words': 129}