<commit_before><?php

$projectPath = dirname(__FILE__).'/../fixtures/project';
require_once($projectPath.'/config/ProjectConfiguration.class.php');

require_once(dirname(__FILE__).'/cleanup.php');

if (!isset($app))
{
  $configuration = new ProjectConfiguration($projectPath);
} else {
  $configuration = ProjectConfiguration::getApplicationConfiguration($app, 'test', isset($debug) ? $debug : true);
  sfContext::createInstance($configuration);
}

if (isset($app))
{
  $configuration->initializeSympal();
}

if (isset($database) && $database)
{
  $configuration->initializeSympal();

  $database = new sfDatabaseManager($configuration);
}

require_once $configuration->getSymfonyLibDir().'/vendor/lime/lime.php';

require_once dirname(__FILE__).'/../../config/sfSympalPluginConfiguration.class.php';
$plugin_configuration = new sfSympalPluginConfiguration($configuration, dirname(__FILE__).'/../..');<commit_msg>[test] Slight change to the unit bootstrap<commit_after><?php

$projectPath = dirname(__FILE__).'/../fixtures/project';
require_once($projectPath.'/config/ProjectConfiguration.class.php');

require_once(dirname(__FILE__).'/cleanup.php');

if (!isset($app))
{
  $configuration = new ProjectConfiguration($projectPath);
}
else
{
  $configuration = ProjectConfiguration::getApplicationConfiguration($app, 'test', isset($debug) ? $debug : true);
  $context = sfContext::createInstance($configuration);
}

if (isset($app))
{
  $configuration->initializeSympal();
}

if (isset($database) && $database)
{
  $configuration->initializeSympal();
  $database = new sfDatabaseManager($configuration);
}

require_once $configuration->getSymfonyLibDir().'/vendor/lime/lime.php';

if (!isset($context))
{
  require_once dirname(__FILE__).'/../../config/sfSympalPluginConfiguration.class.php';
  $plugin_configuration = new sfSympalPluginConfiguration($configuration, dirname(__FILE__).'/../..');
}
else
{
  $plugin_configuration = $context->getConfiguration()->getPluginConfiguration('sfSympalPlugin');
}
{'fraction_non_alphanumeric': 0.17482517482517482, 'fraction_numerical': 0.0, 'mean_word_length': 7.076612903225806, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '7285181', 'n_tokens_mistral': 588, 'n_tokens_neox': 578, 'n_words': 83}