<commit_before><?php
ini_set('display_errors', true);
error_reporting(E_ALL);
// set up basics
require_once dirname(__FILE__).'/includes/autoload.php';

PEAR2\SimpleChannelFrontend\Main::$url   = 'http://pear2.php.net/';
PEAR2\SimpleChannelFrontend\Main::$title = 'PEAR2';

$config = PEAR2\Pyrus\Config::singleton('/tmp/pear2web');<commit_msg>Update sample config file to use the vendor dir which contains all the deps.<commit_after><?php
ini_set('display_errors', true);
error_reporting(E_ALL);
// set up basics
require_once dirname(__FILE__).'/vendor/php/PEAR2/Autoload.php';

PEAR2\SimpleChannelFrontend\Main::$url   = 'http://pear2.php.net/';
PEAR2\SimpleChannelFrontend\Main::$title = 'PEAR2';

$config = PEAR2\Pyrus\Config::singleton('/tmp/pear2web');
{'fraction_non_alphanumeric': 0.16776750330250992, 'fraction_numerical': 0.017173051519154558, 'mean_word_length': 6.656565656565657, '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': '1952581', 'n_tokens_mistral': 277, 'n_tokens_neox': 274, 'n_words': 42}