<commit_before><?php

use Telltale\Telltale;
use Telltale\Agent\MemoryPeakAgent;
use Telltale\Agent\CriticalPathAgent;
use Telltale\Agent\SlowestCallsAgent;
use Telltale\Agent\MemoryUsageCallsAgent;

ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);
ini_set('date.timezone', 'UTC');

// output buffer must be turned on
ob_start();

// autoload setup
$root = dirname(dirname(dirname(__FILE__)));
$loader = require $root . '/vendor/autoload.php';
$loader->set($root . '/src', 'Telltale');

// setup
$telltale = new Telltale();
$telltale->pushAgent(new MemoryPeakAgent());
$telltale->pushAgent(new CriticalPathAgent());
$telltale->pushAgent(new SlowestCallsAgent());
$telltale->pushAgent(new MemoryUsageCallsAgent());
$telltale->start();

// ----- some functions

function ret_ord($c)<commit_msg>docs update<commit_after><?php

use Telltale\Telltale;
use Telltale\Agent\MemoryPeakAgent;
use Telltale\Agent\CriticalPathAgent;
use Telltale\Agent\SlowestCallsAgent;
use Telltale\Agent\MemoryUsageCallsAgent;

ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);
ini_set('date.timezone', 'UTC');

// output buffer must be turned on
ob_start();

// autoload
require dirname(dirname(dirname(__FILE__))) . '/vendor/autoload.php';

// setup
$telltale = new Telltale();
$telltale->pushAgent(new MemoryPeakAgent());
$telltale->pushAgent(new CriticalPathAgent());
$telltale->pushAgent(new SlowestCallsAgent());
$telltale->pushAgent(new MemoryUsageCallsAgent());
$telltale->start();

// ----- some functions

function ret_ord($c)
{'fraction_non_alphanumeric': 0.16223231667748214, 'fraction_numerical': 0.0012978585334198572, 'mean_word_length': 6.907692307692308, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 14, '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': '1318141', 'n_tokens_mistral': 544, 'n_tokens_neox': 532, 'n_words': 97}