<commit_before><?php

class StringLengthValidatorTest extends PHPUnit_Framework_TestCase
{
    function test()
    {
        $v = new ValidationKit\StringLengthValidator(array( 
            'min' => 5,
            'max' => 10,
        ));
        ok($v);
        not_ok($v->validate(str_repeat('x',3)));
        ok($v->validate(str_repeat('x',10)));
        not_ok($v->validate(str_repeat('x',11)));
    }
}

<commit_msg>testStringLength<commit_after><?php

class StringLengthValidatorTest extends PHPUnit_Framework_TestCase
{
    function testStringLength()
    {
        $v = new ValidationKit\StringLengthValidator(array( 
            'min' => 5,
            'max' => 10,
        ));
        ok($v);
        not_ok($v->validate(str_repeat('x',3)));
        ok($v->validate(str_repeat('x',10)));
        not_ok($v->validate(str_repeat('x',11)));
    }
}


{'fraction_non_alphanumeric': 0.16802800466744458, 'fraction_numerical': 0.01866977829638273, 'mean_word_length': 2.651063829787234, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '4223488', 'n_tokens_mistral': 283, 'n_tokens_neox': 269, 'n_words': 36}