<commit_before><?php
/**
 * Combines all of the database includes
 * and miscellaneous functions into a single includable
 * file.
 */

include_once NWEB_ROOT.'/classes/class_engine.php';

DEFINE ('DB_TYPE',      Engine::get_option( 'engine_storage_db' ) );
DEFINE ('DB_USER',      Engine::get_option( 'db_user' ) );
DEFINE ('DB_PORT',      Engine::get_option( 'db_port' ) );
DEFINE ('DB_PASSWORD',  Engine::get_option( 'db_password' ) );
DEFINE ('DB_HOST',      Engine::get_option( 'db_host' ) );
DEFINE ('DB_NAME',      Engine::get_option( 'db_name' ) );
DEFINE ('ERROR_LEVEL',  Engine::get_option( 'db_error_level' ) );

include_once NWEB_ROOT.'/lib/extern/php-database/Database.php';
include_once NWEB_ROOT.'/lib/extern/php-database/ErrorStack.php';


?>
<commit_msg>change case of define calls<commit_after><?php
/**
 * Combines all of the database includes
 * and miscellaneous functions into a single includable
 * file.
 * 
 */

include_once NWEB_ROOT.'/classes/class_engine.php';

define('DB_TYPE',      Engine::get_option( 'engine_storage_db' ) );
define('DB_USER',      Engine::get_option( 'db_user' ) );
define('DB_PORT',      Engine::get_option( 'db_port' ) );
define('DB_PASSWORD',  Engine::get_option( 'db_password' ) );
define('DB_HOST',      Engine::get_option( 'db_host' ) );
define('DB_NAME',      Engine::get_option( 'db_name' ) );
define('ERROR_LEVEL',  Engine::get_option( 'db_error_level' ) );

include_once NWEB_ROOT.'/lib/extern/php-database/Database.php';
include_once NWEB_ROOT.'/lib/extern/php-database/ErrorStack.php';


?>

{'fraction_non_alphanumeric': 0.16419832582099164, 'fraction_numerical': 0.0, 'mean_word_length': 5.142292490118577, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1853007', 'n_tokens_mistral': 547, 'n_tokens_neox': 532, 'n_words': 95}