<commit_before>/* Beaconator js */
$(document).ready(function(){

	$new_options = $('#new_options');
	$add_option = $('#add_option');
	$beaconize = $('#beaconize');
	$reset = $('#reset');
	var num_options = 2;
	var options = [];

	// Adds a new option to the list
	$add_option.click(function(){

		// Increment counter
		num_options++;

		// Add preconfigured html to the page
		$new_options.append("<div><label>Option " + num_options + "</label><input type='text' id='Option" + num_options + "' class='form-control' /></div>");
	});

	$beaconize.click(function(){

		// Clear out array
		options = [];

		// Parse options into array
		for(var i = 0; i < num_options; i++){


		}

		// Read beacon API

		// Convert hex to decimal

		// Display results
	});
<commit_msg>Reads options to array<commit_after>/* Beaconator js */
$(document).ready(function(){

	$option_area = $('#option_area');
	$new_options = $('#new_options');
	$add_option = $('#add_option');
	$beaconize = $('#beaconize');
	$reset = $('#reset');
	var num_options = 2;
	var options = [];

	// Adds a new option to the list
	$add_option.click(function(){

		// Increment counter
		num_options++;

		// Add preconfigured html to the page
		$new_options.append("<div><label>Option " + num_options + "</label><input type='text' id='Option" + num_options + "' class='form-control' /></div>");
	});

	$beaconize.click(function(){

		// Clear out array
		options = [];

		// Parse options into array
		for(var i = 0; i < num_options; i++){

			var option_id = "#Option" + i;

			options.push($option_area.find(option_id).value);
		}

		// Read beacon API

		// Convert hex to decimal

		// Display results
	});

{'fraction_non_alphanumeric': 0.1891083183722322, 'fraction_numerical': 0.0023937761819269898, 'mean_word_length': 3.6444444444444444, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, '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': '3893837', 'n_tokens_mistral': 604, 'n_tokens_neox': 544, 'n_words': 142}