<commit_before><?php

	header('Content-Type: application/json');

	function notFound() {
		header("HTTP/1.0 404 Not Found");
		die();
	}

	/*
		Holds all request options. Example: /API/foo/bar/mhs (GET)
		Requires
			"foo" => array(
				"bar" => array(
					"mhs" => function() {
						......
					}
				)
			)
		
	*/
	$requestChoice = array(

		"test" => array(

			"get" => function() {

			},

			"post" => function() {

			}

		),

		"user" => array(

			"register" => function() {

			},

			"login" => function() {

			},

			"verify" => function() {

			},

			"info" => function() {

			},

			"logout" => function() {

			}
		)

	);

	//Divide user request into tokens
	$user_action = explode("/", $request);
	$ulen = count($user_action) - 1;

	//cd is like the cd command, specifies current directory, starts at root
	$cd = $requestChoice;<commit_msg>Fixed bugs in index.php<commit_after><?php

	header('Content-Type: application/json');

	$user_request = $_GET['request'];

	function notFound() {
		header("HTTP/1.0 404 Not Found");
		die();
	}

	/*
		Holds all request options. Example: /API/foo/bar/mhs (GET)
		Requires
			"foo" => array(
				"bar" => array(
					"mhs" => function() {
						......
					}
				)
			)
		
	*/
	$requestChoice = array(

		"test" => array(

			"get" => function() {

			},

			"post" => function() {

			}

		),

		"user" => array(

			"register" => function() {

			},

			"login" => function() {

			},

			"verify" => function() {

			},

			"info" => function() {

			},

			"logout" => function() {

			}
		)

	);

	//Divide user request into tokens
	$user_action = explode("/", $user_request);
	$ulen = count($user_action) - 1;

	//cd is like the cd command, specifies current directory, starts at root
	$cd = $requestChoice;
{'fraction_non_alphanumeric': 0.19796954314720813, 'fraction_numerical': 0.00676818950930626, 'mean_word_length': 2.3471698113207546, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 27, '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': '2090567', 'n_tokens_mistral': 801, 'n_tokens_neox': 618, 'n_words': 142}