<commit_before><?php
// Define path to application directory
define('ROOT_PATH',        dirname(dirname(__FILE__)));
define('APPLICATION_PATH', ROOT_PATH . '/admin/application');

// Define application environment
define('APPLICATION_ENV', (getenv('APPLICATION_ENV') ? getenv('APPLICATION_ENV') : 'production'));

set_include_path('.' . PATH_SEPARATOR . ROOT_PATH . DIRECTORY_SEPARATOR . 'library' . PATH_SEPARATOR . get_include_path());

// Create application, bootstrap, and run
require_once 'Zend/Application.php';
$app = new Zend_Application(APPLICATION_ENV, APPLICATION_PATH . '/config/application.ini');<commit_msg>Updated to reflect test environment<commit_after><?php

require_once realpath(dirname(__FILE__) . '/../library/Frapi/AllFiles.php');

define('APPLICATION_PATH', ROOT_PATH . '/admin/application');
define('APPLICATION_ENV', 'testing');

set_include_path(
    implode(PATH_SEPARATOR, 
        array(
            ROOT_PATH . DIRECTORY_SEPARATOR . 'library',
            dirname(__FILE__) . DIRECTORY_SEPARATOR .'mock',
            get_include_path()
        )
    )
);

// Create application, bootstrap, and run
require_once 'Zend/Application.php';
$app = new Zend_Application(APPLICATION_ENV, APPLICATION_PATH . '/config/application.ini');
{'fraction_non_alphanumeric': 0.13444709626093873, 'fraction_numerical': 0.0, 'mean_word_length': 4.824074074074074, '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': '3687163', 'n_tokens_mistral': 390, 'n_tokens_neox': 368, 'n_words': 71}