<commit_before>/**
 * The code to append each new county to our list of counties
 */
$(function() {
    // add a new county from text box to the list
    var firstClick = true
    $('#Add').click(function () {
                console.log( "yo" );
                var county = $("#county").val();
                console.log( county );
                if (firstClick) {
                    if (county == "")
                        county = "Latah"

                    $("#counties").text(county);
                    firstClick = false 
                } else {
                    $("#counties").append(", " + county);
                }
            }
        );

    $('#county').keydown( function(e){
        if (e.keyCode == 13) {
           $('#Add').click();
           $(this).select();
        }
    });

    
    $('#Run').click( function() {
            alert("Soon this will run your awesome decision tool!");
        }
    );      <commit_msg>added county list to alert box<commit_after>/**
 * The code to append each new county to our list of counties
 */
$(function() {
    // add a new county from text box to the list
    var firstClick = true
    $('#Add').click(function () {
                console.log( "yo" );
                var county = $("#county").val();
                console.log( county );
                if (firstClick) {
                    if (county == "")
                        county = "Latah"

                    $("#counties").text(county);
                    firstClick = false 
                } else {
                    $("#counties").append(", " + county);
                }
            }
        );

    $('#county').keydown( function(e){
        if (e.keyCode == 13) {
           $('#Add').click();
           $(this).select();
        }
    });

    
    $('#Run').click( function() {
            alert("Soon this will run your awesome decision tool on the counties you selected:\n" + $('#counties').text());
        }
    );      
{'fraction_non_alphanumeric': 0.156912209889001, 'fraction_numerical': 0.0020181634712411706, 'mean_word_length': 1.2662857142857142, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5473846', 'n_tokens_mistral': 527, 'n_tokens_neox': 503, 'n_words': 139}