<commit_before><!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>NameGen</title>
    <link href="Content/bootstrap.min.css" rel="stylesheet" />
    <link href="jQueryUI/jquery-ui.min.css" rel="stylesheet" />
    <style>
        
    </style>
    <script src="Scripts/jquery-1.9.1.min.js"></script>
    <script src="jQueryUI/jquery-ui.min.js"></script>
    <script src="Scripts/bootstrap.min.js"></script>
<script type="text/javascript" src="words.js"></script>
<!--<script type="text/javascript" src="nameGen.js"></script>-->

    <script>
        $(function () {
            var $generatorRuleContainer = $("#generatorRuleContainer");
            var $wordListContainer = $("#wordListContainer");

            $generatorRuleContainer.sortable({
               placeholder: "btn",
               forcePlaceholderSize: true,
                cancel: "span.remove-rule-button",
                helper: "clone",
                revert: 42
            });
            $generatorRuleContainer.disableSelection();
            $(".wordList", $wordListContainer).disableSelection();

           

      
			
            

            $(document).keydown(function(e) {
    switch(e.which) {
        case 37: // left
            //GenerateButton();
            GenerateWordSequence();
        break;

        case 38: // up
        break;

        case 39: // right
            GenerateWordSequence();
        break;

        case 40: // down
        break;

        default: return; // exit this handler for other keys
    }
    e.preventDefault(); // prevent the default action (scroll / move caret)
            });

            addBuiltInWordLists();
            MakeWordListItemsDragable();

            // add a few rules before we get started
            for (i = 0; i < 3; i++) {
                $oneChild = RandomListEntry($wordListContainer.children());
                AddRuleToContainer($($oneChild).clone());
            }

            // and generate our very first sequence! yay!<commit_msg>random first rule now between 2 and 5 words;<commit_after><!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>NameGen</title>
    <link href="Content/bootstrap.min.css" rel="stylesheet" />
    <link href="jQueryUI/jquery-ui.min.css" rel="stylesheet" />
    <style>
        
    </style>
    <script src="Scripts/jquery-1.9.1.min.js"></script>
    <script src="jQueryUI/jquery-ui.min.js"></script>
    <script src="Scripts/bootstrap.min.js"></script>
<script type="text/javascript" src="words.js"></script>
<!--<script type="text/javascript" src="nameGen.js"></script>-->

    <script>
        $(function () {
            var $generatorRuleContainer = $("#generatorRuleContainer");
            var $wordListContainer = $("#wordListContainer");

            $generatorRuleContainer.sortable({
               placeholder: "btn",
               forcePlaceholderSize: true,
                cancel: "span.remove-rule-button",
                helper: "clone",
                revert: 42
            });
            $generatorRuleContainer.disableSelection();
            $(".wordList", $wordListContainer).disableSelection();

           

      
			
            

            $(document).keydown(function(e) {
    switch(e.which) {
        case 37: // left
            //GenerateButton();
            GenerateWordSequence();
        break;

        case 38: // up
        break;

        case 39: // right
            GenerateWordSequence();
        break;

        case 40: // down
        break;

        default: return; // exit this handler for other keys
    }
    e.preventDefault(); // prevent the default action (scroll / move caret)
            });

            addBuiltInWordLists();
            MakeWordListItemsDragable();

            // add a few rules before we get started
            amount = Random(2, 5);
            for (i = 0; i < amount; i++) {
                $oneChild = RandomListEntry($wordListContainer.children());
                AddRuleToContainer($($oneChild).clone());
            }

            // and generate our very first sequence! yay!
{'fraction_non_alphanumeric': 0.14121108114734005, 'fraction_numerical': 0.008580534444716842, 'mean_word_length': 1.8631578947368421, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 47, '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': '555328', 'n_tokens_mistral': 1134, 'n_tokens_neox': 1058, 'n_words': 234}