<commit_before><?php

// Autoload Composer dependencies
require_once(dirname(__DIR__) . '/vendor/autoload.php');

// Load env variables
Dotenv::load(dirname(__DIR__));
Dotenv::required('ENVIRONMENT', array('development', 'staging', 'production'));

$root_dir = dirname(__DIR__);

$webroot_dir = $root_dir . '/app';
define('WEBROOT_DIR', $webroot_dir);

/**
 * ENVIRONMENT
 */
define('WP_ENV', getenv('WP_ENV')); // development | staging | production

/**
 * URLs
 */
define('WP_HOME', getenv('WP_HOME'));
define('WP_SITEURL', getenv('WP_SITEURL'));

/**
 * Custom Content Directory
 */
define('CONTENT_DIR', '/content');
define('WP_CONTENT_DIR', $webroot_dir . CONTENT_DIR);
define('WP_CONTENT_URL', WP_HOME . CONTENT_DIR);

/**
 * DB settings
 */
<commit_msg>don't repeat dirname<commit_after><?php

// Autoload Composer dependencies
require_once(dirname(__DIR__) . '/vendor/autoload.php');

// Define base paths
$root_dir = dirname(__DIR__);
$webroot_dir = $root_dir . '/app';
define('WEBROOT_DIR', $webroot_dir);

// Load env variables
Dotenv::load($root_dir);
Dotenv::required('ENVIRONMENT', array('development', 'staging', 'production'));

/**
 * ENVIRONMENT
 */
define('WP_ENV', getenv('WP_ENV')); // development | staging | production

/**
 * URLs
 */
define('WP_HOME', getenv('WP_HOME'));
define('WP_SITEURL', getenv('WP_SITEURL'));

/**
 * Custom Content Directory
 */
define('CONTENT_DIR', '/content');
define('WP_CONTENT_DIR', $webroot_dir . CONTENT_DIR);
define('WP_CONTENT_URL', WP_HOME . CONTENT_DIR);

/**
 * DB settings
 */

{'fraction_non_alphanumeric': 0.19220779220779222, 'fraction_numerical': 0.0, 'mean_word_length': 5.941441441441442, 'pattern_counts': {'":': 0, '<': 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': '1408835', 'n_tokens_mistral': 545, 'n_tokens_neox': 537, 'n_words': 95}