<commit_before><?php

/* all the things */
error_reporting(E_ALL | E_STRICT);

/* debug mode has to be set to something or include files will die() */
define('DEBUG_MODE', false);

/* determine current absolute path used for require statements */
define('APP_PATH', dirname(dirname(__FILE__)).'/');

/* get mock objects */
require APP_PATH.'tests/mocks.php';

/* get the framework */
require APP_PATH.'lib/framework.php';

/* get the stubs */
require APP_PATH.'tests/stubs.php';

?>
<commit_msg>let tests swap the DEBUG flag<commit_after><?php

/* all the things */
error_reporting(E_ALL | E_STRICT);

/* debug mode has to be set to something or include files will die() */
if (!defined('DEBUG_MODE')) {
    define('DEBUG_MODE', false);
}

/* determine current absolute path used for require statements */
define('APP_PATH', dirname(dirname(__FILE__)).'/');

/* get mock objects */
require APP_PATH.'tests/mocks.php';

/* get the framework */
require APP_PATH.'lib/framework.php';

/* get the stubs */
require APP_PATH.'tests/stubs.php';

?>

{'fraction_non_alphanumeric': 0.15259117082533588, 'fraction_numerical': 0.0, 'mean_word_length': 4.376288659793815, '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': '3176243', 'n_tokens_mistral': 329, 'n_tokens_neox': 320, 'n_words': 99}