<commit_before><?php

require_once dmOs::join(sfConfig::get('dm_core_dir'), 'test/unit/helper/dmUnitTestHelper.php');

$helper = new dmUnitTestHelper();

$helper->boot('front');

// load both standard and alternative helpers
dm::loadHelpers(array('Dm', 'DmAlternative', 'I18N'));

$t = new lime_test(30);

/*

* $helper is the test helper. It acts as a service container
* and can provide you all services with its get() method.<commit_msg>[Diem] made dmAlternativeHelperPlugin tests pass out of the box<commit_after><?php

require_once realpath(dirname(__FILE__).'/../../../../..') . '/test/unit/helper/dmUnitTestHelper.php';

$helper = new dmUnitTestHelper();

$helper->boot('front');

// load both standard and alternative helpers
dm::loadHelpers(array('Dm', 'DmAlternative', 'I18N'));

$t = new lime_test(30);

/*

* $helper is the test helper. It acts as a service container
* and can provide you all services with its get() method.
{'fraction_non_alphanumeric': 0.15901814300960512, 'fraction_numerical': 0.008537886872998933, 'mean_word_length': 5.090909090909091, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2409383', 'n_tokens_mistral': 309, 'n_tokens_neox': 297, 'n_words': 89}