<commit_before><?php 
include(dirname(__FILE__).'/../../bootstrap/Doctrine.php');
$t = new lime_test(7, new lime_output_color());

$t->info('Get Possible types from array');
$institution = new Institutions;
$types = $institution->getTypes();
$t->is(count($types), 1, 'There are "1" differents types');
$t->is($types[8], 'Expert', 'the type "Expert"');
$t->info('Test types for Institutions encoded');
$institutions = Doctrine::getTable('Institutions')->findByIsPhysical(false);
$dbTypes = $institutions[0]->getDbPeopleType();<commit_msg>Order by, order by, where were you?<commit_after><?php 
include(dirname(__FILE__).'/../../bootstrap/Doctrine.php');
$t = new lime_test(7, new lime_output_color());

$t->info('Get Possible types from array');
$institution = new Institutions;
$types = $institution->getTypes();
$t->is(count($types), 1, 'There are "1" differents types');
$t->is($types[8], 'Expert', 'the type "Expert"');
$t->info('Test types for Institutions encoded');

$institutions = Doctrine::getTable('Institutions')->findByIsPhysical(false);
$institutions = Doctrine_Query::create()
            ->from('Institutions')
            ->andWhere('is_physical = false')
            ->orderBy('formated_name_indexed ASC, id ASC')->execute();
$dbTypes = $institutions[0]->getDbPeopleType();
{'fraction_non_alphanumeric': 0.2, 'fraction_numerical': 0.007751937984496124, 'mean_word_length': 6.132596685082873, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '3295143', 'n_tokens_mistral': 430, 'n_tokens_neox': 416, 'n_words': 90}