<commit_before><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Playground</title>
    <link rel="stylesheet" href="playground.css">
    <script type="text/javascript" src="http://www.visineat.com/js/vn-1.8.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/documentation-2.js"></script>
    <script type="text/javascript" src="localwindows-3.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/cloud-1.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/media-2.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/server-3.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/gui-3.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/webgl-3.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/utils-1.js"></script>
    <script type="text/javascript" src="http://www.metreex.org/js/metreex-1.0.js"></script>
    <script type="text/javascript" src="metricSource.js"></script>
    <script type="text/javascript" src="windowController.js"></script>

</head>
<body>


<div id="metricDiv">
    <ul class="metricTabs">
        <li><a href="javascript:void(0)" class="metricTab" onclick="openTab(event, 'Treebanks')">Treebanks</a></li>
        <li><a href="javascript:void(0)" class="metricTab" onclick="openTab(event, 'Metrics')">Metrics</a></li>
    </ul>

    <div id="Treebanks" class="metricTabContent"></div>
    <div id="Metrics" class="metricTabContent"></div>
</div>

<div id="visualDiv"></div>

</body>
</html><commit_msg>Update html to add buttons<commit_after><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Playground</title>
    <link rel="stylesheet" href="playground.css">
    <script type="text/javascript" src="http://www.visineat.com/js/vn-1.8.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/documentation-2.js"></script>
    <script type="text/javascript" src="localwindows-3.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/cloud-1.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/media-2.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/server-3.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/gui-3.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/webgl-3.js"></script>
    <script type="text/javascript" src="http://www.visineat.com/js/vn/utils-1.js"></script>
    <script type="text/javascript" src="http://www.metreex.org/js/metreex-1.0.js"></script>
    <script type="text/javascript" src="metricSource.js"></script>
    <script type="text/javascript" src="windowController.js"></script>

</head>
<body>
<div id="metricDiv">
    <div id="metricTabHeader">
    <ul class="metricTabs">
        <li><a href="javascript:void(0)" class="metricTab" name="treebank" onclick="openTab(event, 'Treebanks')">Treebanks</a></li>
        <li><a href="javascript:void(0)" class="metricTab" name="metric" onclick="openTab(event, 'Metrics')">Metrics</a></li>
    </ul>

    <button type="button" onclick="setAllCheckboxesInTab(getActiveMetricTab(), true)">Select All</button>
    <button type="button" onclick="setAllCheckboxesInTab(getActiveMetricTab(), false)">Unselect All</button>
    <button type="button" onclick="invertAllCheckboxesInTab(getActiveMetricTab())">Invert Selection</button>
    </div>
    <!--
    <ul class="metricTabs">
        <li><a href="javascript:void(0)" class="" onclick="setAllCheckboxesInTab(getActiveMetricTab(), true)">Select All</a></li>
        <li><a href="javascript:void(0)" class="" onclick="setAllCheckboxesInTab(getActiveMetricTab(), false)">Unselect All</a></li>
        <li><a href="javascript:void(0)" class="" onclick="invertAllCheckboxesInTab(getActiveMetricTab())">Invert Selection</a></li>
    </ul>
    -->

    <div id="Treebanks" class="metricTabContent"></div>
    <div id="Metrics" class="metricTabContent"></div>
</div>

<div id="visualDiv"></div>

</body>
</html>
{'fraction_non_alphanumeric': 0.21816457197059522, 'fraction_numerical': 0.007825468342423524, 'mean_word_length': 4.924157303370786, 'pattern_counts': {'":': 0, '<': 132, '<?xml version=': 0, '>': 132, 'https://': 0, 'lorem ipsum': 0, 'www.': 18, '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': '5898767', 'n_tokens_mistral': 1476, 'n_tokens_neox': 1435, 'n_words': 192}