<commit_before><?php

/*
 * Definition declaring that the engine is indeed the one accessing a file.
 * A simple solution to prevent users from accessing a file directly.
 */
define("ENGINE", 1);

// INITIALIZE SITE ENGINE
require_once "includes/SiteEngine.php";
$engine = new SiteEngine();

// Site paths and such
$relRoot = "/";
$absRoot = "/";
$pageRoot = "pages/";
$imgRoot = $relRoot."images/";
$templateRoot = $relRoot."templates/composure/";

// Figure out what page to display
$page = isset($_GET["p"]) ? $_GET["p"] : "home";

switch ($page) {
	case "index":
	case "home":
		$page = "home";
		break;

	case "resume":<commit_msg>Removed dependency on SiteEngine<commit_after><?php

/*
 * Definition declaring that the engine is indeed the one accessing a file.
 * A simple solution to prevent users from accessing a file directly.
 */
define("ENGINE", 1);

require_once "includes/parsedown/Parsedown.php";

// Site paths and such
$relRoot = "/";
$absRoot = "/";
$pageRoot = "pages/";
$imgRoot = $relRoot."images/";
$templateRoot = $relRoot."templates/composure/";

// Figure out what page to display
$page = isset($_GET["p"]) ? $_GET["p"] : "home";

switch ($page) {
	case "index":
	case "home":
		$page = "home";
		break;

	case "resume":
{'fraction_non_alphanumeric': 0.16853932584269662, 'fraction_numerical': 0.0016051364365971107, 'mean_word_length': 4.2175732217573225, 'pattern_counts': {'":': 6, '<': 5, '<?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': '3561874', 'n_tokens_mistral': 422, 'n_tokens_neox': 408, 'n_words': 130}