<commit_before><?php

class diag {
	static $cwd;
	static $original_memory_limit;

	static $fatal_errors = array( // if true, it is fatal
		E_ERROR => true,
		E_PARSE => true,
		E_CORE_ERROR => true,
		E_COMPILE_ERROR => true,
		E_USER_ERROR => true,
		E_RECOVERABLE_ERROR  => true,
	);

	static $errors = array(
		E_ERROR => 'E_ERROR',
		E_PARSE => 'E_PARSE',
		E_CORE_ERROR => 'E_CORE_ERROR',
		E_COMPILE_ERROR => 'E_COMPILE_ERROR',
		E_USER_ERROR => 'E_USER_ERROR',
		E_RECOVERABLE_ERROR  => 'E_RECOVERABLE_ERROR ',
		E_WARNING => 'E_WARNING',
		E_NOTICE => 'E_NOTICE',
		E_CORE_WARNING => 'E_CORE_WARNING',
		E_COMPILE_WARNING => 'E_COMPILE_WARNING',
		E_USER_WARNING => 'E_USER_WARNING',
		E_USER_NOTICE => 'E_USER_NOTICE',
		E_STRICT => 'E_STRICT',
		E_DEPRECATED => 'E_DEPRECATED',
		E_USER_DEPRECATED => 'E_USER_DEPRECATED',
	);

	static function setup() {
		if (!function_exists('xdebug_get_function_stack')) {
			return;<commit_msg>everything is now fatal. dammit.<commit_after><?php

class diag {
	static $cwd;
	static $original_memory_limit;

	static $fatal_errors = array( // if true, it is fatal
		E_COMPILE_ERROR => true,
		E_COMPILE_WARNING => true,
		E_CORE_ERROR => true,
		E_CORE_WARNING => true,
		E_DEPRECATED => true,
		E_ERROR => true,
		E_NOTICE => true,
		E_PARSE => true,
		E_RECOVERABLE_ERROR => true,
		E_STRICT => true,
		E_USER_DEPRECATED => true,
		E_USER_ERROR => true,
		E_USER_NOTICE => true,
		E_USER_WARNING => true,
		E_WARNING => true,
	);

	static $errors = array(
		E_ERROR => 'E_ERROR',
		E_PARSE => 'E_PARSE',
		E_CORE_ERROR => 'E_CORE_ERROR',
		E_COMPILE_ERROR => 'E_COMPILE_ERROR',
		E_USER_ERROR => 'E_USER_ERROR',
		E_RECOVERABLE_ERROR  => 'E_RECOVERABLE_ERROR ',
		E_WARNING => 'E_WARNING',
		E_NOTICE => 'E_NOTICE',
		E_CORE_WARNING => 'E_CORE_WARNING',
		E_COMPILE_WARNING => 'E_COMPILE_WARNING',
		E_USER_WARNING => 'E_USER_WARNING',
		E_USER_NOTICE => 'E_USER_NOTICE',
		E_STRICT => 'E_STRICT',
		E_DEPRECATED => 'E_DEPRECATED',
		E_USER_DEPRECATED => 'E_USER_DEPRECATED',
	);

	static function setup() {
		if (!function_exists('xdebug_get_function_stack')) {
			return;
{'fraction_non_alphanumeric': 0.13443396226415094, 'fraction_numerical': 0.0, 'mean_word_length': 4.810958904109589, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 54, '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': '3041359', 'n_tokens_mistral': 936, 'n_tokens_neox': 873, 'n_words': 153}