<commit_before><!--
   This file is part of Rogue Vision.

   Copyright (C) 2016 <NAME>, <NAME>, <NAME>,
       <NAME>, <NAME>, <NAME>,
       <NAME>, <NAME>

   Rogue Vision is free software: you can redistribute it and/or modify
   it under the terms of the GNU Affero General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.

   Rogue Vision is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU Affero General Public License for more details.

   You should have received a copy of the GNU Affero General Public License
   along with Rogue Vision.  If not, see <http://www.gnu.org/licenses/>.
-->

<!-- This html fragment displays the Simulation Page of the system
     From here the following things can be done
     1: See which data files are on the server
     2: Set the settings for the next simulation
     3: Start the new simulation
     4: Upload a data file
-->

<div ng-controller="simulationPageController" layout="column" layout-align="start start">

    <!-- Headline for starting a new simulation -->
    <h1>Select parameters to start the simulation</h1>

    <!--
    Generates a table with the following values and input fields:
    Available Datafiles as drop down
    Wait times of the dataProcessing scripts as input filed: Compression, FirstDataLoad, DataReload
    Amount Of Carriers as input field
    KeepEveryXRows as Compression rate
    -->

    <form name="carriersForm" ng-submit="startSimulation()">
        <table>
            <tr>
                <td align=right>Datafile:</td>
                <td align=left>
                    <select  ng-model="selectedDataFile" required>
                        <option ng-repeat="x in dataFileNames">{{x}}</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td align=right> Amount of Carriers: </td>
                <td align=left> <input type="number" name="amountOfCarriers" ng-model="amountOfCarriers" min="0" max="999" required /></td>
            </tr>
            <tr>
                <td align=right> Wait time compression (in ms): </td>
                <td align=left> <input type="number" name="waitForCompression" ng-model="waitForCompression" min="0" max="999" required /></td>
            </tr>
            <tr>
                <td align=right>Wait time for first data load (in s): </td>
                <td align=left><input type="number" name="waitForFirstDataLoad" ng-model="waitForFirstDataLoad" min="0" max="999" required /></td>
            </tr>
            <tr>
                <td align=right>Wait time for  data reload (ins s): </td>
                <td align=left><input type="number" name="waitForDataReload" ng-model="waitForDataReload" min="0" max="999" required /></td>
            </tr>
            <tr>
                <td align=right>Keep Every X Rows: </td>
                <td align=left><input type="number" name="keepEveryXRows" ng-model="keepEveryXRows"  min="0" max="999" required /></td>
            </tr>
            <tr>
                <td><button type="submit" ng-disabled="carriersForm.$invalid">Start Simulation</button></td>
            </tr>
        </table>
     </form>

    <!-- Headline for upload -->
    <h1>Upload a new CSV - file</h1>

    <div class = "fileUpload">
        <form action="django/dataInterface/fileUpload.html" method="post" enctype="multipart/form-data">
            <table>
                <tr>
                    <p class="uploadText"> Choose CSV - file:<br/>
	                <input hidden name="fileName" id="fileName">
	                <input name="file" type="file" accept="text/csv"/>
	                </p>
                </tr>
                <tr>
                    <button type="button">Upload</button> </form>
                </tr>
            </table>
    </div>

</div>
<commit_msg>FIXED wrong order of HTML element opening and closing brackets.<commit_after><!--
    This file is part of Rogue Vision.

    Copyright (C) 2016 <NAME>, <NAME>, <NAME>,
        <NAME>, <NAME>, <NAME>,
        <NAME>, <NAME>

    Rogue Vision is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Rogue Vision is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with Rogue Vision.  If not, see <http://www.gnu.org/licenses/>.
    -->
<!-- This html fragment displays the Simulation Page of the system
    From here the following things can be done
    1: See which data files are on the server
    2: Set the settings for the next simulation
    3: Start the new simulation
    4: Upload a data file
    -->
<div ng-controller="simulationPageController" layout="column" layout-align="start start">
    <!-- Headline for starting a new simulation -->
    <h1>Select parameters to start the simulation</h1>
    <!--
        Generates a table with the following values and input fields:
        Available Datafiles as drop down
        Wait times of the dataProcessing scripts as input filed: Compression, FirstDataLoad, DataReload
        Amount Of Carriers as input field
        KeepEveryXRows as Compression rate
        -->
    <form name="carriersForm" ng-submit="startSimulation()">
        <table>
            <tr>
                <td align=right>Datafile:</td>
                <td align=left>
                    <select  ng-model="selectedDataFile" required>
                        <option ng-repeat="x in dataFileNames">{{x}}</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td align=right> Amount of Carriers: </td>
                <td align=left> <input type="number" name="amountOfCarriers" ng-model="amountOfCarriers" min="0" max="999" required /></td>
            </tr>
            <tr>
                <td align=right> Wait time compression (in ms): </td>
                <td align=left> <input type="number" name="waitForCompression" ng-model="waitForCompression" min="0" max="999" required /></td>
            </tr>
            <tr>
                <td align=right>Wait time for first data load (in s): </td>
                <td align=left><input type="number" name="waitForFirstDataLoad" ng-model="waitForFirstDataLoad" min="0" max="999" required /></td>
            </tr>
            <tr>
                <td align=right>Wait time for  data reload (ins s): </td>
                <td align=left><input type="number" name="waitForDataReload" ng-model="waitForDataReload" min="0" max="999" required /></td>
            </tr>
            <tr>
                <td align=right>Keep Every X Rows: </td>
                <td align=left><input type="number" name="keepEveryXRows" ng-model="keepEveryXRows"  min="0" max="999" required /></td>
            </tr>
            <tr>
                <td><button type="submit" ng-disabled="carriersForm.$invalid">Start Simulation</button></td>
            </tr>
        </table>
    </form>
    <!-- Headline for upload -->
    <h1>Upload a new CSV - file</h1>
    <div class = "fileUpload">
        <form action="django/dataInterface/fileUpload.html" method="post" enctype="multipart/form-data">
            <table>
                <tr>
                    <p class="uploadText"> Choose CSV - file:<br/>
                        <input hidden name="fileName" id="fileName">
                        <input name="file" type="file" accept="text/csv"/>
                    </p>
                </tr>
                <tr>
                    <button type="button">Upload</button>
                </tr>
            </table>
        </form>
    </div>
</div>
{'fraction_non_alphanumeric': 0.11762545899632804, 'fraction_numerical': 0.008078335373317013, 'mean_word_length': 2.0591538749532012, 'pattern_counts': {'":': 0, '<': 187, '<?xml version=': 0, '>': 187, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '669750', 'n_tokens_mistral': 2283, 'n_tokens_neox': 2162, 'n_words': 775}