<commit_before><!doctype html>
<?php
if($_POST) {
    $last = explode(",",file_get_contents("data.txt"));
    var_dump($last);
    $i=($last[0])?intval($last[0]) +1:1;
    $l = $_POST['Left'];
    $r = $_POST['Right'];
    $t = $_POST['time'];
    $txt.= $i.",";
    $txt.=$l.",";
    $txt.=$r.",";
    $txt.= ($t)?$t:0;
    $myfile = file_put_contents("data.txt", $txt);
}
?>
<html class="no-js" lang="">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="x-ua-compatible" content="ie=edge">
        <title></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <link rel="apple-touch-icon" href="apple-touch-icon.png">
        <!-- Place favicon.ico in the root directory -->

        <link rel="stylesheet" href="css/normalize.css">

        <link href="css/bootstrap.min.css" rel="stylesheet">
        <script src="js/vendor/modernizr-2.8.3.min.js"></script>
        <link rel="stylesheet" href="css/main.css">
    </head>
    <body>

    <nav class="navbar navbar-default">
        <div class="container-fluid">
            <div class="navbar-header">
                <a class="navbar-brand" href="#">MoveBot</a>
            </div>
            <ul class="nav navbar-nav">
                <li class="active"><a href="#">Home</a></li>
            </ul>
        </div>
    </nav>
        <!--[if lt IE 8]>
            <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
        <![endif]-->

        <!-- Add your site or application content here -->
        <div id="page">
            <div class="container-fluid">
                <div class="panel panel-default col-md-7">
                    <div class="panel-body">
            <form action=<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?> method="post" >
                <div class="col-md-5">
                    <h2>Left Wheel</h2>
                    <input type="range" name="Left" id="" step="5"></div>
                <div class="col-md-2">&nbsp;</div>
                <div class="col-md-5">
                    <h2>Right Wheel</h2>
                    <input type="range" name="Right" id="" step="5"></div>
                <div class="fb">
                <div class="col-md-6"><span>Time In Milliseconds<br>&nbsp;&nbsp;&nbsp;</span><input type="number" name="time" id="" min="0" max="1000"></div>
                <div class="col-md-6"><input type="submit" value="Make Bot Go!"></div>
                </div>
            </form>
                    </div></div>
                <div class="col-md-5">
                    <div class="embed-responsive embed-responsive-16by9">
                    <video controls>
                        <source src="video.mp4" type="video/mp4">
                        Your browser does not support the video tag.
                    </video>
                </div><commit_msg>Show results<commit_after><!doctype html>
<?php
if($_POST) {
    $last = explode(",",file_get_contents("data.txt"));
    //var_dump($last);
    $i=($last[0])?intval($last[0]) +1:1;
    $l = $_POST['Left'];
    $r = $_POST['Right'];
    $t = $_POST['time'];
    $txt.= $i.",";
    $txt.=$l.",";
    $txt.=$r.",";
    $txt.= ($t)?$t:0;
    $myfile = file_put_contents("data.txt", $txt);
}
?>
<html class="no-js" lang="">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="x-ua-compatible" content="ie=edge">
        <title></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <link rel="apple-touch-icon" href="apple-touch-icon.png">
        <!-- Place favicon.ico in the root directory -->

        <link rel="stylesheet" href="css/normalize.css">

        <link href="css/bootstrap.min.css" rel="stylesheet">
        <script src="js/vendor/modernizr-2.8.3.min.js"></script>
        <link rel="stylesheet" href="css/main.css">
    </head>
    <body>

    <nav class="navbar navbar-default">
        <div class="container-fluid">
            <div class="navbar-header">
                <a class="navbar-brand" href="#">MoveBot</a>
            </div>
            <ul class="nav navbar-nav">
                <li class="active"><a href="#">Home</a></li>
            </ul>
        </div>
    </nav>
        <!--[if lt IE 8]>
            <p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
        <![endif]-->

        <!-- Add your site or application content here -->
        <div><?=file_get_contents("data.txt")?></div>
        <div id="page">
            <div class="container-fluid">
                <div class="panel panel-default col-md-7">
                    <div class="panel-body">
            <form action=<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?> method="post" >
                <div class="col-md-5">
                    <h2>Left Wheel</h2>
                    <input type="range" name="Left" id="" step="5"></div>
                <div class="col-md-2">&nbsp;</div>
                <div class="col-md-5">
                    <h2>Right Wheel</h2>
                    <input type="range" name="Right" id="" step="5"></div>
                <div class="fb">
                <div class="col-md-6"><span>Time In Milliseconds<br>&nbsp;&nbsp;&nbsp;</span><input type="number" name="time" id="" min="0" max="1000"></div>
                <div class="col-md-6"><input type="submit" value="Make Bot Go!"></div>
                </div>
            </form>
                    </div></div>
                <div class="col-md-5">
                    <div class="embed-responsive embed-responsive-16by9">
                    <video controls>
                        <source src="video.mp4" type="video/mp4">
                        Your browser does not support the video tag.
                    </video>
                </div>
{'fraction_non_alphanumeric': 0.19571310799670238, 'fraction_numerical': 0.0112118713932399, 'mean_word_length': 1.9261939218523878, 'pattern_counts': {'":': 0, '<': 166, '<?xml version=': 0, '>': 166, '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': '6141775', 'n_tokens_mistral': 1928, 'n_tokens_neox': 1816, 'n_words': 373}