<commit_before><?php

// symfony directories
if (is_readable(dirname(__FILE__).'/../../lib'))
{
  // symlink exists
  $sf_symfony_lib_dir  = realpath(dirname(__FILE__).'/../../lib');
  $sf_symfony_data_dir = realpath(dirname(__FILE__).'/..');
  $symlink = true;
}
else
{
  // PEAR config
  if ((include('symfony/pear.php')) != 'OK')
  {
    throw new Exception('Unable to find symfony librairies');
  }
  $symlink = false;
}

require_once($sf_symfony_lib_dir.'/config/sfConfig.class.php');

sfConfig::add(array(
  'sf_root_dir'         => getcwd(),
  'sf_symfony_lib_dir'  => $sf_symfony_lib_dir,
  'sf_symfony_data_dir' => $sf_symfony_data_dir,
  'sf_symfony_symlink'  => $symlink,
));
<commit_msg>fixed pakefile for sandbox<commit_after><?php

// symfony directories
if (is_readable(dirname(__FILE__).'/../../lib/symfony.php'))
{
  // symlink exists
  $sf_symfony_lib_dir  = realpath(dirname(__FILE__).'/../../lib');
  $sf_symfony_data_dir = realpath(dirname(__FILE__).'/..');
  $symlink = true;
}
else if (is_readable(dirname(__FILE__).'/../../../lib/symfony/symfony.php'))
{
  // symlink exists
  $sf_symfony_lib_dir  = realpath(dirname(__FILE__).'/../../../lib/symfony');
  $sf_symfony_data_dir = realpath(dirname(__FILE__).'/..');
  $symlink = true;
}
else
{
  // PEAR config
  if ((include('symfony/pear.php')) != 'OK')
  {
    throw new Exception('Unable to find symfony librairies');
  }
  $symlink = false;
}

require_once($sf_symfony_lib_dir.'/config/sfConfig.class.php');

sfConfig::add(array(
  'sf_root_dir'         => getcwd(),
  'sf_symfony_lib_dir'  => $sf_symfony_lib_dir,
  'sf_symfony_data_dir' => $sf_symfony_data_dir,
  'sf_symfony_symlink'  => $symlink,
));

{'fraction_non_alphanumeric': 0.19452706722189173, 'fraction_numerical': 0.0, 'mean_word_length': 4.066265060240964, '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': '6573116', 'n_tokens_mistral': 668, 'n_tokens_neox': 656, 'n_words': 90}