<commit_before><!DOCTYPE html>
<html>
	<head>
		<title>Active Search</title>
	</head>
	<body>
		<form>
			<label>Search: </label>&nbsp;
			<input type="text" name="keyword" id="keyword_field"/>
			&nbsp; <img src="loadingAnim.gif" id="loading"/>
		</form>
		<br/>
		<ol id="results"></ol>
		<script src="jquery.min.js"></script>
		<script src="jquery.activesearch.js"></script>
		<script>
			$(document).ready(function() {
				$("#keyword_field").activesearch({
					'url' : 'search.php',
					'params' : function(value) {
						return "keyword=" + value;
					},
					'success' : function(data) {
						var results_div = $("#results");
						results_div.html("");
						for( i = 0; i < data.length; i++) {
							results_div.append("<li>" + data[i] + "</li>");
						}<commit_msg>added test for url function<commit_after><!DOCTYPE html>
<html>
	<head>
		<title>Active Search</title>
	</head>
	<body>
		<form>
			<label>Search: </label>&nbsp;
			<input type="text" name="keyword" id="keyword_field"/>
			&nbsp; <img src="loadingAnim.gif" id="loading"/>
		</form>
		<br/>
		<ol id="results"></ol>
		<script src="jquery.min.js"></script>
		<script src="jquery.activesearch.js"></script>
		<script>
			$(document).ready(function() {
				$("#keyword_field").activesearch({
					'url' : function() {
						return 'search.php';
					},
					'params' : function(value) {
						return "keyword=" + value;
					},
					'success' : function(data) {
						var results_div = $("#results");
						results_div.html("");
						for( i = 0; i < data.length; i++) {
							results_div.append("<li>" + data[i] + "</li>");
						}
{'fraction_non_alphanumeric': 0.2204968944099379, 'fraction_numerical': 0.0012422360248447205, 'mean_word_length': 3.2394736842105263, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 49, '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': '1109203', 'n_tokens_mistral': 707, 'n_tokens_neox': 564, 'n_words': 110}