<commit_before><?php
    $app_config = include('../config.php');
    $GLOBALS['errors'] = array();
    $GLOBALS['config'] = $app_config;

    // Autoload required php files from classes folder
    spl_autoload_register(function($class) {
        require_once 'classes/' . $class . '.php';
    });

    require_once 'methods/sanitize.php';<commit_msg>Added sessio_start()command and fixed path for config.php inclusion<commit_after><?php
session_start();

chdir(dirname(__FILE__));
chdir('../');
$config_path = getcwd() . '/config.php';
$app_config = include($config_path);

$GLOBALS['errors'] = array();
$GLOBALS['config'] = $app_config;

// Autoload required php files from classes folder
spl_autoload_register(function($class) {
    require_once 'classes/' . $class . '.php';
});

require_once 'methods/sanitize.php';

?>
{'fraction_non_alphanumeric': 0.17253948967193194, 'fraction_numerical': 0.0, 'mean_word_length': 4.605442176870748, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '5902387', 'n_tokens_mistral': 267, 'n_tokens_neox': 265, 'n_words': 54}