<commit_before><!doctype html>

<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Session Collector Utility Dashboard</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/template.css">
</head>

<body>

<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">Session Collector Utility Dashboard</a>
        </div>
        <!--<div id="navbar" class="collapse navbar-collapse">
            <ul class="nav navbar-nav">
                <li><a href="#addOneSession">Add One</a></li>
                <li><a href="#addManySessions">Add Many</a></li>
                <li><a href="#queryForSessions">Query</a></li>
            </ul>
        </div>-->
    </div>
</nav>

<div class="container">

    <h1 class="page-header">Add One Session</h1>

    <form class="form-inline" action="/session/addOne" method="POST">
        <div class="form-group">
            <input type="text" class="form-control" name="sessionId" placeholder="Session ID">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="identity" placeholder="Identity">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="providerId" placeholder="Provider ID">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="platform" placeholder="Platform">
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>

    <h1 class="page-header">Add Many Sessions</h1>

    <form class="form-inline" action="/session/addMany" method="POST">
        <div class="form-group">
            <input type="text" class="form-control" name="sessionIdPrefix" placeholder="Session ID Prefix">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="start" placeholder="Start">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="end" placeholder="End">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="identity" placeholder="Identity">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="providerId" placeholder="Provider ID">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="platform" placeholder="Platform">
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>

    <h1 class="page-header">Get One Session</h1>

    <form class="form-inline" action="/session/getOne" method="GET">
        <div class="form-group">
            <input type="text" class="form-control" name="sessionId" placeholder="Session ID">
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>

    <h1 class="page-header">Get All Sessions (Max 100)</h1>

    <form class="form-inline" action="/session/getAll" method="GET">
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>

    <h1 class="page-header">Delete and Recreate Table</h1>

    <form class="form-inline" action="/session/recreateTable" method="GET">
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>

    <h1 class="page-header">Count Sessions</h1>

    <form class="form-inline" action="/count" method="GET">
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>

</div>

<script src="//code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>

</body>
</html><commit_msg>Removed Count Sessions from form (requires some MapReduce, which is beyond the scope of this project.<commit_after><!doctype html>

<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Session Collector Utility Dashboard</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/template.css">
</head>

<body>

<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">Session Collector Utility Dashboard</a>
        </div>
        <!--<div id="navbar" class="collapse navbar-collapse">
            <ul class="nav navbar-nav">
                <li><a href="#addOneSession">Add One</a></li>
                <li><a href="#addManySessions">Add Many</a></li>
                <li><a href="#queryForSessions">Query</a></li>
            </ul>
        </div>-->
    </div>
</nav>

<div class="container">

    <h1 class="page-header">Add One Session</h1>

    <form class="form-inline" action="/session/addOne" method="POST">
        <div class="form-group">
            <input type="text" class="form-control" name="sessionId" placeholder="Session ID">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="identity" placeholder="Identity">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="providerId" placeholder="Provider ID">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="platform" placeholder="Platform">
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>

    <h1 class="page-header">Add Many Sessions</h1>

    <form class="form-inline" action="/session/addMany" method="POST">
        <div class="form-group">
            <input type="text" class="form-control" name="sessionIdPrefix" placeholder="Session ID Prefix">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="start" placeholder="Start">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="end" placeholder="End">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="identity" placeholder="Identity">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="providerId" placeholder="Provider ID">
        </div>
        <div class="form-group">
            <input type="text" class="form-control" name="platform" placeholder="Platform">
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>

    <h1 class="page-header">Get One Session</h1>

    <form class="form-inline" action="/session/getOne" method="GET">
        <div class="form-group">
            <input type="text" class="form-control" name="sessionId" placeholder="Session ID">
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>

    <h1 class="page-header">Get All Sessions (Max 100)</h1>

    <form class="form-inline" action="/session/getAll" method="GET">
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>

    <h1 class="page-header">Delete and Recreate Table</h1>

    <form class="form-inline" action="/session/recreateTable" method="GET">
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>

    <!--<h1 class="page-header">Count Sessions</h1>

    <form class="form-inline" action="/count" method="GET">
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>-->

</div>

<script src="//code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>

</body>
</html>
{'fraction_non_alphanumeric': 0.18269771627854653, 'fraction_numerical': 0.0058499268759140514, 'mean_word_length': 2.970522554711925, 'pattern_counts': {'":': 0, '<': 252, '<?xml version=': 0, '>': 252, 'https://': 4, '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': '4523441', 'n_tokens_mistral': 2710, 'n_tokens_neox': 2623, 'n_words': 536}